-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html.jinja
59 lines (54 loc) · 1.17 KB
/
template.html.jinja
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
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DNS OWL Status Server</title>
<link rel="stylesheet" href="./owl/style.css">
</head>
<body>
<div class="wrapper">
<div class="table">
<div class="row header green">
<div class="cell">
Domain
</div>
<div class="cell">
Old IP Address
</div>
<div class="cell">
New IP Address
</div>
<div class="cell">
Result
</div>
<div class="cell">
Last update on
</div>
</div>
{% for domain in domain_list %}
<div class="row">
<div class="cell" data-title="Domain">
{{ domain['RECORD_NAME'] }}
</div>
<div class="cell" data-title="Old IP">
{{ domain['OLD_IP'] }}
</div>
<div class="cell" data-title="New IP">
{{ domain['NEW_IP'] }}
</div>
<div class="cell" data-title="Result">
{{ domain['RESULT'] }}
</div>
<div class="cell" data-title="Updated on">
{{ domain['LAST_UPDATE'] }}
</div>
</div>
{% endfor %}
</div>
</div>
<h1>
Updated on : {{ updated_on }}
</h1>
</body>
</html>