0
|
1 <?php
|
|
2 header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
|
|
3 header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
|
|
4 header( 'Cache-Control: no-store, no-cache, must-revalidate' );
|
|
5 header( 'Cache-Control: post-check=0, pre-check=0', false );
|
|
6 header( 'Pragma: no-cache' );
|
|
7 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
8 <html>
|
|
9 <head>
|
|
10 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
11 <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico" />
|
|
12
|
|
13 <title>DataTables unit testing</title>
|
|
14 <style type="text/css" title="currentStyle">
|
|
15 @import "../../css/demo_page.css";
|
|
16 @import "../../css/demo_table.css";
|
|
17 </style>
|
|
18 <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script>
|
|
19 <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
|
|
20 <script type="text/javascript" language="javascript" src="../unit_test.js"></script>
|
|
21 <?php
|
|
22 $aScripts = explode( ":", $_GET['scripts'] );
|
|
23 for ( $i=0 ; $i<count($aScripts) ; $i++ )
|
|
24 {
|
|
25 echo '<script type="text/javascript" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
|
|
26 }
|
|
27 ?>
|
|
28 </head>
|
|
29 <body id="dt_example">
|
|
30 <div id="container">
|
|
31 <div class="full_width big">
|
|
32 <i>DataTables</i> unit test template for two tables
|
|
33 </div>
|
|
34
|
|
35 <div id="demo">
|
|
36 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example1">
|
|
37 <thead>
|
|
38 <tr>
|
|
39 <th>Rendering engine</th>
|
|
40 <th>Browser</th>
|
|
41 <th>Platform(s)</th>
|
|
42 <th>Engine version</th>
|
|
43 <th>CSS grade</th>
|
|
44 </tr>
|
|
45 </thead>
|
|
46 <tbody>
|
|
47 <tr class="gradeX">
|
|
48 <td>Trident</td>
|
|
49 <td>testsearchstring <br>html & entity</td>
|
|
50 <td>Win 95+</td>
|
|
51 <td class="center">4</td>
|
|
52 <td class="center">X</td>
|
|
53 </tr>
|
|
54 <tr class="gradeC">
|
|
55 <td>Trident</td>
|
|
56 <td>Internet
|
|
57 Explorer 5.0</td>
|
|
58 <td>Win 95+</td>
|
|
59 <td class="center">5</td>
|
|
60 <td class="center">C</td>
|
|
61 </tr>
|
|
62 <tr class="gradeA">
|
|
63 <td>Trident</td>
|
|
64 <td>Internet
|
|
65 Explorer 5.5</td>
|
|
66 <td>Win 95+</td>
|
|
67 <td class="center">5.5</td>
|
|
68 <td class="center">A</td>
|
|
69 </tr>
|
|
70 <tr class="gradeA">
|
|
71 <td>Trident</td>
|
|
72 <td>Internet
|
|
73 Explorer 6</td>
|
|
74 <td>Win 98+</td>
|
|
75 <td class="center">6</td>
|
|
76 <td class="center">A</td>
|
|
77 </tr>
|
|
78 <tr class="gradeA">
|
|
79 <td>Trident</td>
|
|
80 <td>Internet Explorer 7</td>
|
|
81 <td>Win XP SP2+</td>
|
|
82 <td class="center">7</td>
|
|
83 <td class="center">A</td>
|
|
84 </tr>
|
|
85 <tr class="gradeA">
|
|
86 <td>Trident</td>
|
|
87 <td>AOL browser (AOL desktop)</td>
|
|
88 <td>Win XP</td>
|
|
89 <td class="center">6</td>
|
|
90 <td class="center">A</td>
|
|
91 </tr>
|
|
92 </tbody>
|
|
93 <tfoot>
|
|
94 <tr>
|
|
95 <th>Rendering engine</th>
|
|
96 <th>Browser</th>
|
|
97 <th>Platform(s)</th>
|
|
98 <th>Engine version</th>
|
|
99 <th>CSS grade</th>
|
|
100 </tr>
|
|
101 </tfoot>
|
|
102 </table>
|
|
103
|
|
104
|
|
105 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example2">
|
|
106 <thead>
|
|
107 <tr>
|
|
108 <th>Rendering engine</th>
|
|
109 <th>Browser</th>
|
|
110 <th>Platform(s)</th>
|
|
111 </tr>
|
|
112 </thead>
|
|
113 <tbody>
|
|
114 <tr class="gradeA">
|
|
115 <td>Gecko</td>
|
|
116 <td>Firefox 1.0</td>
|
|
117 <td>Win 98+ / OSX.2+</td>
|
|
118 </tr>
|
|
119 <tr class="gradeA">
|
|
120 <td>Gecko</td>
|
|
121 <td>Firefox 1.5</td>
|
|
122 <td>Win 98+ / OSX.2+</td>
|
|
123 </tr>
|
|
124 <tr class="gradeA">
|
|
125 <td>Gecko</td>
|
|
126 <td>Firefox 2.0</td>
|
|
127 <td>Win 98+ / OSX.2+</td>
|
|
128 </tr>
|
|
129 <tr class="gradeA">
|
|
130 <td>Gecko</td>
|
|
131 <td>Firefox 3.0</td>
|
|
132 <td>Win 2k+ / OSX.3+</td>
|
|
133 </tr>
|
|
134 <tr class="gradeA">
|
|
135 <td>Gecko</td>
|
|
136 <td>Camino 1.0</td>
|
|
137 <td>OSX.2+</td>
|
|
138 </tr>
|
|
139 <tr class="gradeA">
|
|
140 <td>Gecko</td>
|
|
141 <td>Camino 1.5</td>
|
|
142 <td>OSX.3+</td>
|
|
143 </tr>
|
|
144 <tr class="gradeA">
|
|
145 <td>Gecko</td>
|
|
146 <td>Netscape 7.2</td>
|
|
147 <td>Win 95+ / Mac OS 8.6-9.2</td>
|
|
148 </tr>
|
|
149 <tr class="gradeA">
|
|
150 <td>Gecko</td>
|
|
151 <td>Netscape Browser 8</td>
|
|
152 <td>Win 98SE+</td>
|
|
153 </tr>
|
|
154 <tr class="gradeA">
|
|
155 <td>Gecko</td>
|
|
156 <td>Netscape Navigator 9</td>
|
|
157 <td>Win 98+ / OSX.2+</td>
|
|
158 </tr>
|
|
159 <tr class="gradeA">
|
|
160 <td>Gecko</td>
|
|
161 <td>Mozilla 1.0</td>
|
|
162 <td>Win 95+ / OSX.1+</td>
|
|
163 </tr>
|
|
164 <tr class="gradeA">
|
|
165 <td>Gecko</td>
|
|
166 <td>Mozilla 1.1</td>
|
|
167 <td>Win 95+ / OSX.1+</td>
|
|
168 </tr>
|
|
169 <tr class="gradeA">
|
|
170 <td>Gecko</td>
|
|
171 <td>Mozilla 1.2</td>
|
|
172 <td>Win 95+ / OSX.1+</td>
|
|
173 </tr>
|
|
174 <tr class="gradeA">
|
|
175 <td>Gecko</td>
|
|
176 <td>Mozilla 1.3</td>
|
|
177 <td>Win 95+ / OSX.1+</td>
|
|
178 </tr>
|
|
179 <tr class="gradeA">
|
|
180 <td>Gecko</td>
|
|
181 <td>Mozilla 1.4</td>
|
|
182 <td>Win 95+ / OSX.1+</td>
|
|
183 </tr>
|
|
184 <tr class="gradeA">
|
|
185 <td>Gecko</td>
|
|
186 <td>Mozilla 1.5</td>
|
|
187 <td>Win 95+ / OSX.1+</td>
|
|
188 </tr>
|
|
189 <tr class="gradeA">
|
|
190 <td>Gecko</td>
|
|
191 <td>Mozilla 1.6</td>
|
|
192 <td>Win 95+ / OSX.1+</td>
|
|
193 </tr>
|
|
194 <tr class="gradeA">
|
|
195 <td>Gecko</td>
|
|
196 <td>Mozilla 1.7</td>
|
|
197 <td>Win 98+ / OSX.1+</td>
|
|
198 </tr>
|
|
199 <tr class="gradeA">
|
|
200 <td>Gecko</td>
|
|
201 <td>Mozilla 1.8</td>
|
|
202 <td>Win 98+ / OSX.1+</td>
|
|
203 </tr>
|
|
204 <tr class="gradeA">
|
|
205 <td>Gecko</td>
|
|
206 <td>Seamonkey 1.1</td>
|
|
207 <td>Win 98+ / OSX.2+</td>
|
|
208 </tr>
|
|
209 <tr class="gradeA">
|
|
210 <td>Gecko</td>
|
|
211 <td>Epiphany 2.20</td>
|
|
212 <td>Gnome</td>
|
|
213 </tr>
|
|
214 </tbody>
|
|
215 <tfoot>
|
|
216 <tr>
|
|
217 <th>Rendering engine</th>
|
|
218 <th>Browser</th>
|
|
219 <th>Platform(s)</th>
|
|
220 </tr>
|
|
221 </tfoot>
|
|
222 </table>
|
|
223 </div>
|
|
224 <div class="spacer"></div>
|
|
225 </div>
|
|
226 </body>
|
|
227 </html> |