Mercurial > repos > saskia-hiltemann > ireport
diff DataTables-1.9.4/media/unit_testing/templates/dymanic_table.php @ 0:ac5f9272033b draft
first upload
author | saskia-hiltemann |
---|---|
date | Tue, 01 Jul 2014 11:42:23 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DataTables-1.9.4/media/unit_testing/templates/dymanic_table.php Tue Jul 01 11:42:23 2014 -0400 @@ -0,0 +1,45 @@ +<?php + header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); + header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); + header( 'Cache-Control: no-store, no-cache, must-revalidate' ); + header( 'Cache-Control: post-check=0, pre-check=0', false ); + header( 'Pragma: no-cache' ); +?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico" /> + + <title>DataTables unit testing</title> + <style type="text/css" title="currentStyle"> + @import "../../css/demo_page.css"; + @import "../../css/demo_table.css"; + </style> + <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script> + <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script> + <script type="text/javascript" language="javascript" src="../unit_test.js"></script> + <script type="text/javascript" charset="utf-8"> + $(document).ready( function () { + $('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' ); + } ); + </script> + <?php + $aScripts = explode( ":", $_GET['scripts'] ); + for ( $i=0 ; $i<count($aScripts) ; $i++ ) + { + echo '<script type="text/javascript" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n"; + } + ?> + </head> + <body id="dt_example"> + <div id="container"> + <div class="full_width big"> + <i>DataTables</i> dynamic table template + </div> + + <h1>Live example</h1> + <div id="demo"></div> + <div class="spacer"></div> + </div> + </body> +</html> \ No newline at end of file