From 1f3ae665ed2e58ca572678ce7caf8b711f226392 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 29 Nov 2022 20:59:31 +0100 Subject: Introduce EDIT and MANAGE methods All admin "index" pages are moved under MANAGE, so that we can have (for example) and normal "GET /posts" page later which would replace the current index page, and potentially corresponding pages for the other categories. The EDIT method replaces the old `?edit` pattern, which normalizes how we differentiate page functionality generally. --- src/http/tpl/assets.html | 57 ------------------------------------------------ 1 file changed, 57 deletions(-) delete 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 deleted file mode 100644 index f21717a..0000000 --- a/src/http/tpl/assets.html +++ /dev/null @@ -1,57 +0,0 @@ -{{ 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