summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/assets.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-08-18 21:11:42 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-08-18 21:11:42 -0600
commit76ff79f47035c11c1e0dfcd283034b738b5c3f0d (patch)
tree43a7d9f8ca4b36e3e48ddd55eec88476ad2e18ae /srv/src/http/tpl/assets.html
parent98e0c3e89c1a72aa93895dcab446e8b15a5b3511 (diff)
add admin page, and spruce up posts and assets
Diffstat (limited to 'srv/src/http/tpl/assets.html')
-rw-r--r--srv/src/http/tpl/assets.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/srv/src/http/tpl/assets.html b/srv/src/http/tpl/assets.html
index 346d125..b439135 100644
--- a/srv/src/http/tpl/assets.html
+++ b/srv/src/http/tpl/assets.html
@@ -1,5 +1,7 @@
{{ define "body" }}
+<h1>Assets</h1>
+
<h2>Upload Asset</h2>
<p>
@@ -21,6 +23,8 @@
</div>
</form>
+{{ if gt (len .Payload.IDs) 0 }}
+
<h2>Existing Assets</h2>
<table>
@@ -44,4 +48,6 @@
{{ end }}
+{{ end }}
+
{{ template "base.html" . }}