-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
54 lines (48 loc) · 1.44 KB
/
index.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
<html>
<head>
<link rel="stylesheet" type="text/css" href="assert/css/semantic.min.css">
<link rel="stylesheet" type="text/css" href="assert/css/jquery.dynatable.css">
<script src="assert/js/jquery.min.js"></script>
<script src="assert/js/Chart.min.js"></script>
<script src="assert/js/semantic.min.js"></script>
<script src="assert/js/jquery.dynatable.js"></script>
<style>
th a {color: black}
</style>
</head>
<body class="pushable">
<div class="pusher">
<div class="ui inverted vertical masthead center aligned segment">
<div class="ui text container">
<h1 class="ui inverted header">CTFTime Infomation Chart</h1>
</div>
</div>
<div class="ui container">
<div class="ui vertical stripe segment">
<table id="my-final-table" class="ui table table-bordered">
<thead>
<th>id</th>
<th>name</th>
<th>points</th>
<th>tags</th>
<th>url</th>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</body>
<script type="application/javascript">
$.get("db.json", function(result){
$('#my-final-table').dynatable({
dataset: {
records: result
},
features: {
paginate: false
}
});
});
</script>
</html>