From 4f01edb9230f58ff84b0dd892c931ec8ac9aad55 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 13 Sep 2022 12:56:08 +0200 Subject: move src out of srv, clean up default.nix and Makefile --- src/http/tpl/assets.html | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/http/tpl/assets.html (limited to 'src/http/tpl/assets.html') diff --git a/src/http/tpl/assets.html b/src/http/tpl/assets.html new file mode 100644 index 0000000..f21717a --- /dev/null +++ b/src/http/tpl/assets.html @@ -0,0 +1,57 @@ +{{ define "body" }} + +

+ Back to Admin +

+ +

Assets

+ +

Upload Asset

+ +

+ If the given ID is the same as an existing asset's ID, then that asset will be + overwritten. +

+ +
+
+
+ +
+
+
+
+
+ +
+
+
+ +{{ if gt (len .Payload.IDs) 0 }} + +

Existing Assets

+ + + + {{ range .Payload.IDs }} + + + + + {{ end }} + +
{{ . }} +
+ +
+
+ +{{ end }} + +{{ end }} + +{{ template "base.html" . }} -- cgit v1.2.3