HNSDoH-checker/templates/index.html

28 lines
676 B
HTML
Raw Normal View History

2024-06-22 16:55:03 +10:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Go HTML Template</title>
<link rel="stylesheet" href="/assets/css/index.css">
<link rel="icon" href="/assets/img/favicon.png">
</head>
<body>
2024-06-22 17:34:01 +10:00
<h1>HNSDoH Node Status</h1>
2024-06-22 19:20:26 +10:00
{{ if .latestLine}}
<h3>{{ .latestLine}}</h3>
{{end}}
2024-06-22 17:34:01 +10:00
{{ if .logContent}}
<h2>Log Output</h2>
<pre>{{.logContent}}</pre>
2024-06-22 16:55:03 +10:00
{{end}}
2024-06-22 17:34:01 +10:00
<!-- Reload automatically every 30 seconds -->
<script>
setTimeout(function(){
window.location.reload(1);
}, 30000);
</script>
2024-06-22 16:55:03 +10:00
</body>
</html>