-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (63 loc) · 2.68 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
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="ko">
<head>
<link rel="shortcut icon" type="image⁄x-icon" href="https://bluevisor.kr/eng/img/main/main_v01_img.png">
<meta charset="utf-8">
<!-- bootstrap css-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<!-- datatables css,js -->
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css">
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<style>
@import
url(//fonts.googleapis.com/earlyaccess/nanumpenscript.css);
h1{
font-family: 'Nanum Pen Script', cursive;
}
</style>
<title>BlueVisor Board</title>
</head>
<body class="sub" style="font-size: 1.5em; margin-left: 5%; width:90%">
<div id="base">
<div style="text-align: center; ">
<img src="https://media.rocketpunch.com/company/39769/ju-beulrubaijeo_cover_1513464273.jpg" align="center">
<h1 style="align-content:center">Today's posts</h1>
<table align = center class="table table-hover" id="sort">
<thead >
<tr>
<th> Site </th>
<th> Title </th>
<th> Start_Date </th>
<th> End_date </th>
<th> Save_date </th>
</tr>
</thead>
<tbody>
{% for i in data %}
<tr height="50">
<td data-table-header="Site">{{i.name}}</td>
<td data-table-header="Title"><a href= {{i.link}} >{{i.title}}</a></td>
<td data-table-header="Date">{{i.start_date}}</td>
<td data-table-header="Due_date">{{i.end_date}}</td>
<td data-table-header="Save_date">{{i.save_date}}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/jquery.dataTables.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/dataTables.bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#sort").DataTable({
"aLengthMenu": [[10, 20, 50, -1], [10, 20, 50, "All"]],
"pageLength": 20,
"order": [[ 4, "desc" ]]
});
});
</script>
</html>