From e406ad6e7c82592d3bbaa1cf93ffc1612e4f196c Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 17 May 2022 15:25:13 -0600 Subject: Re-arrange how api endpoints are defined --- srv/src/api/tpl/admin-assets.html | 18 ++++++++++++++++++ srv/src/api/tpl/admin/assets.html | 18 ------------------ 2 files changed, 18 insertions(+), 18 deletions(-) create mode 100644 srv/src/api/tpl/admin-assets.html delete mode 100644 srv/src/api/tpl/admin/assets.html (limited to 'srv/src/api/tpl') diff --git a/srv/src/api/tpl/admin-assets.html b/srv/src/api/tpl/admin-assets.html new file mode 100644 index 0000000..d871a3e --- /dev/null +++ b/srv/src/api/tpl/admin-assets.html @@ -0,0 +1,18 @@ +{{ define "body" }} + + + + {{ range .IDs }} + + + + + {{ end }} + +
{{ . }} + Delete (TODO) +
+ +{{ end }} + +{{ template "base.html" . }} diff --git a/srv/src/api/tpl/admin/assets.html b/srv/src/api/tpl/admin/assets.html deleted file mode 100644 index d871a3e..0000000 --- a/srv/src/api/tpl/admin/assets.html +++ /dev/null @@ -1,18 +0,0 @@ -{{ define "body" }} - - - - {{ range .IDs }} - - - - - {{ end }} - -
{{ . }} - Delete (TODO) -
- -{{ end }} - -{{ template "base.html" . }} -- cgit v1.2.3