annotate DataTables-1.9.4/media/unit_testing/templates/dymanic_table.php @ 2:e8755431a0cd draft

fixed missing dependencies
author saskia-hiltemann
date Tue, 30 Sep 2014 09:47:14 -0400
parents ac5f9272033b
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 <script type="text/javascript" charset="utf-8">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 $(document).ready( function () {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 $('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 </script>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 <?php
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 $aScripts = explode( ":", $_GET['scripts'] );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 for ( $i=0 ; $i<count($aScripts) ; $i++ )
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 echo '<script type="text/javascript" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 }
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 ?>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 </head>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 <body id="dt_example">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 <div id="container">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 <div class="full_width big">
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 <i>DataTables</i> dynamic table template
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 <h1>Live example</h1>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 <div id="demo"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 <div class="spacer"></div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 </div>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 </body>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 </html>