/
template_table.html
61 lines (59 loc) · 2.04 KB
/
template_table.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<html>
<head>
<title>KS Dev Deadlines</title>
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>
<link href="http://netdna.bootstrapcdn.com/bootswatch/2.3.0/spacelab/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css" />
<link rel="stylesheet" type="text/css" href="DT_bootstrap.css">
<script type="text/javascript" charset="utf-8" language="javascript" src="DT_bootstrap.js"></script>
<style>
body { padding: 12px; }
</style>
<script>
$(document).ready(function() {
$('table#ksdev').dataTable( {
"bLengthChange": false,
"bFilter": false,
"bInfo": true,
"bAutoWidth": false,
"bPaginate": false,
"bScrollCollapse": true,
"aaSorting": [[ 2, "asc" ]]
});
});
</script>
</head>
<body>
<h1> Knowledge Systems Software Dev</h1>
<div class="container-fluid">
<div>
<a href="./index.html" class="btn active"> Summary </a>
<a href="./tickets.html" class="btn"> Tickets </a>
</div>
<table class="table table-striped table-bordered" id="ksdev">
<thead>
<tr>
{% for h in header %}
<th>
{{h}}
</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in rows %}
<tr>
{% for item in row %}
<td>
{{item}}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
<p style="font-size:75%; float:right;"><em>Updated: {{now}}</em></p>
</div>
</body>
</html>