HNSDoH-checker/templates/index.html
Nathan Woodburn d8b1ac3fb0
All checks were successful
Build Docker / BuildSite (push) Successful in 1m24s
feat: Add better logging
2024-06-22 19:20:26 +10:00

28 lines
676 B
HTML

<!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>
<h1>HNSDoH Node Status</h1>
{{ if .latestLine}}
<h3>{{ .latestLine}}</h3>
{{end}}
{{ if .logContent}}
<h2>Log Output</h2>
<pre>{{.logContent}}</pre>
{{end}}
<!-- Reload automatically every 30 seconds -->
<script>
setTimeout(function(){
window.location.reload(1);
}, 30000);
</script>
</body>
</html>