-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (67 loc) · 2.43 KB
/
index.html
File metadata and controls
67 lines (67 loc) · 2.43 KB
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
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title> MalikDiscord </title>
<!-- Include Bootstrap for styling -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Include the Bootstrap Table CSS for the table -->
<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.16.0/dist/bootstrap-table.min.css">
</head>
<body>
<div class="container">
<table id="remgc" class="table-striped border-success">
<thead>
<tr>
<th data-field="time_stamp">
<span class="text-success"> time_stamp </span>
</th>
<!--
<th data-field="group_name">
<span class="text-success"> group_name </span>
</th>
<th data-field="forum_id">
<span class="text-success"> forum_id </span>
</th>
<th data-field="topic_id">
<span class="text-success"> topic_id </span>
</th>
-->
<th data-field="post_id">
<span class="text-success"> post_id </span>
</th>
<th data-field="author">
<span class="text-success"> author </span>
</th>
<!--
<th data-field="is_feeded">
<span class="text-success"> is_feeded </span>
</th>
<th data-field="content">
<span class="text-success"> content </span>
</th>
-->
</tr>
</thead>
</table>
</div>
<!-- Include jQuery and other required files for Bootstrap -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- Include the JavaScript file for Bootstrap table -->
<script src="https://unpkg.com/bootstrap-table@1.16.0/dist/bootstrap-table.min.js"></script>
<script type="text/javascript">
$.getJSON("./db/db.json", function(data) {
var mydata = data.reverse();
$(document).ready(function() {
$('table').bootstrapTable({
data: mydata
});
document.title = $('#remgc tr').length;
});
});
</script>
</body>
</html>