annotate DataTables-1.9.4/media/unit_testing/templates/html_table.php @ 0:ac5f9272033b draft

first upload
author saskia-hiltemann
date Tue, 01 Jul 2014 11:42:23 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
1 <?php
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2 header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3 header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
4 header( 'Cache-Control: no-store, no-cache, must-revalidate' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
5 header( 'Cache-Control: post-check=0, pre-check=0', false );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6 header( 'Pragma: no-cache' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8 <html>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 <head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico" />
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 <title>DataTables unit testing</title>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 <style type="text/css" title="currentStyle">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 @import "../../css/demo_page.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 @import "../../css/demo_table.css";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 </style>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 <script type="text/javascript" language="javascript" src="../unit_test.js"></script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 <?php
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 $aScripts = explode( ":", $_GET['scripts'] );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 for ( $i=0 ; $i<count($aScripts) ; $i++ )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 echo '<script type="text/javascript" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 ?>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 <i>DataTables</i> table with HTML elements template
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 <div id="demo">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 <thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 <th>Reflection</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 <th>Link</th>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 </thead>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 <tbody>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 <td>1</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 <td><a href="http://www.sprymedia.co.uk/article/DataTables">DataTables</a></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 <td>2</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 <td><a href="http://www.sprymedia.co.uk/article/Integrity">A link to Integrity</a></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 <td>3</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 <td><a href="http://www.sprymedia.co.uk/article/Integrity">Integrity</a></td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 <tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 <td>4</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 <td>EIntegrity</td>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60 </tr>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 </table>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66 </html>