Initial commit

This commit is contained in:
Magnus Åhall 2026-02-20 13:26:21 +01:00
commit 36baaf0caf
10 changed files with 961 additions and 0 deletions

27
views/layouts/main.gotmpl Normal file
View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link rel="stylesheet" type="text/css" href="/css/{{ .VERSION }}/main.css">
<script type="importmap">
{
"imports": {
}
}
</script>
<script>
window._VERSION = "{{ .VERSION }}"
</script>
</head>
<body>
<div id="app" class="page-{{ .PAGE }}">
{{ block "page" . }}{{ end }}
</div>
</body>
</html>

7
views/pages/index.gotmpl Normal file
View file

@ -0,0 +1,7 @@
{{ define "page" }}
<h1>{{ .Data.Identity }}</h1>
{{ range .Data.DNSRecords }}
<div class="dns-record">{{ .NameReversed }}
{{ end }}
{{ end }}