-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (43 loc) · 1.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DNS Records</title>
<link rel="stylesheet" href="/static/index.css?v=20241031">
</head>
<body>
<div class="container">
<h1>DNS Records</h1>
<div class="content">
<table>
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>type</th>
<th>remote</th>
<th>timestamp</th>
</tr>
</thead>
<tbody>
{{range .records}}
<tr>
<td>{{.Sequence}}</td>
<td>{{.Name}}</td>
<td>{{Atype .Type}}</td>
<td>{{.RemoteIP}}</td>
<td>{{FormatTimestamp .Timestamp}}</td>
</tr>
{{end}}
</table>
</tbody>
</div>
<div>
<a href="/?limit={{.limit}}">Home</a>
<a href="?last={{.prev}}&limit={{.limit}}">Previous</a>
<a href="?last={{.last}}&limit={{.limit}}">Next</a>
</div>
</div>
</body>
</html>