corrade-http-templates – Blame information for rev 6

Subversion Repositories:
Rev:
Rev Author Line No. Line
2 eva 1 <!doctype html>
2  
3 <html lang="en">
4 <head>
5 <meta charset="utf-8">
6  
7 <title>Summary of Top Scripts on a Region</title>
8  
9 <meta name="description" content="Top Scripts on a Region using Corrade">
10 <meta name="author" content="Wizardry and Steamworks">
11  
12 <link rel="stylesheet" href="css/jquery.dataTables.css?v=1.1">
13  
14 <script type="text/javascript" src="js/jquery.js"></script>
15 <script type="text/javascript" src="js/jquery.dataTables.js"></script>
16 <script type="text/javascript">
17 $(document).ready(function () {
6 zed 18 $.fn.dataTable.ext.errMode = 'throw';
19 function retrieveData() {
20 table.ajax.reload(null, false);
21 }
22 var table = $('#topScripts').DataTable(
23 {
24 ajax: {
25 url: 'topScripts.php?t=' + Math.random(),
26 dataSrc: function(src) {
27 setTimeout(retrieveData, 1000);
28 return src.data;
29 }
30 },
31 order: [
32 [
33 0,
34 'desc'
35 ]
36 ]
37 }
38 );
39 setTimeout(retrieveData, 1000);
40 }
41 );
2 eva 42 </script>
43 </head>
44  
45 <body>
46 <table id="topScripts" class="display" cellspacing="0" width="100%">
47 <thead>
48 <tr>
49 <th>Score</th>
50 <th>Task Name</th>
51 <th>UUID</th>
52 <th>Owner</th>
53 <th>Position</th>
54 </tr>
55 </thead>
56  
57 <tfoot>
58 <tr>
59 <th>Score</th>
60 <th>Task Name</th>
61 <th>UUID</th>
62 <th>Owner</th>
63 <th>Position</th>
64 </tr>
65 </tfoot>
66 </table>
67 </body>
68 </html>