summaryrefslogtreecommitdiff
path: root/src/http/tpl/admin.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-11-29 20:59:31 +0100
committerBrian Picciano <mediocregopher@gmail.com>2022-11-29 20:59:31 +0100
commit1f3ae665ed2e58ca572678ce7caf8b711f226392 (patch)
treee023602e07e2a80d24ef9d9527ddca0e1640e929 /src/http/tpl/admin.html
parent31f8f37c5ad3ad4ac7b3cc93d0257dd80c877c7c (diff)
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.
Diffstat (limited to 'src/http/tpl/admin.html')
-rw-r--r--src/http/tpl/admin.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/tpl/admin.html b/src/http/tpl/admin.html
index f2ba4d6..510d705 100644
--- a/src/http/tpl/admin.html
+++ b/src/http/tpl/admin.html
@@ -7,9 +7,9 @@ mostly left open to inspection, but you will not able to change
anything without providing credentials.
<ul>
- <li><a href="{{ BlogURL "posts" }}">Posts</a></li>
- <li><a href="{{ BlogURL "assets" }}">Assets</a></li>
- <li><a href="{{ BlogURL "drafts" }}">Drafts</a> (private)</li>
+ <li><a href="{{ BlogURL "posts?method=manage" }}">Posts</a></li>
+ <li><a href="{{ BlogURL "assets?method=manage" }}">Assets</a></li>
+ <li><a href="{{ BlogURL "drafts?method=manage" }}">Drafts</a> (private)</li>
</ul>
{{ end }}