This commit is contained in:
Magnus Åhall 2026-02-23 07:04:57 +01:00
parent 36baaf0caf
commit ad638acaf3
7 changed files with 120 additions and 37 deletions

View file

@ -4,7 +4,7 @@
<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">
<link rel="stylesheet" type="text/css" href="/css/{{ .Data.VERSION }}/index.css">
<script type="importmap">
{
@ -14,7 +14,7 @@
</script>
<script>
window._VERSION = "{{ .VERSION }}"
window._VERSION = "{{ .Data.VERSION }}"
</script>
</head>

View file

@ -1,7 +1,13 @@
{{ define "page" }}
<script type="module">
import { Application } from "/js/{{ .Data.VERSION }}/dns.mjs"
const app = new Application()
</script>
<h1>{{ .Data.Identity }}</h1>
{{ range .Data.DNSRecords }}
<div class="dns-record">{{ .NameReversed }}
{{ end }}
<div class="records-tree">
{{ .Data.Tree }}
</div>
{{ end }}