component/static: Seperate out static file handling

This commit is contained in:
Tom Wiesing 2022-10-06 15:41:46 +02:00
parent 3d4db1744b
commit 88a2ba4297
No known key found for this signature in database
9 changed files with 43 additions and 28 deletions

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<link rel="stylesheet" href="/dis/static/dis.css">
<link rel="stylesheet" href="/dis/static/autolink.css">
<link rel="stylesheet" href="/static/control/dis.css">
<link rel="stylesheet" href="/static/control/autolink.css">
<title>Distillery Status Page - {{ .Info.Slug }}</title>
<h1 id="top">Distillery Status Page - {{ .Info.Slug }}</h1>
@ -70,5 +70,5 @@
Generated at <code>{{ .Time }}</code>
</footer>
<script src="/dis/static/autolink.js"></script>
<script src="/dis/static/instance.js"></script>
<script src="/static/control/autolink.js"></script>
<script src="/static/control/instance.js"></script>