From bf8412969a60b5da29d622418e8a4efd9d444a12 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Tue, 16 Aug 2022 21:32:50 -0600 Subject: finish switching to classless, got a color scheme worked out too --- srv/src/http/tpl/edit-post.html | 141 ++++++++++++++++++++++------------------ 1 file changed, 77 insertions(+), 64 deletions(-) (limited to 'srv/src/http/tpl/edit-post.html') diff --git a/srv/src/http/tpl/edit-post.html b/srv/src/http/tpl/edit-post.html index 1a81df4..9a2f085 100644 --- a/srv/src/http/tpl/edit-post.html +++ b/srv/src/http/tpl/edit-post.html @@ -1,87 +1,96 @@ {{ define "body" }} -
+{{ if gt (len .Payload.Tags) 0 }} +

+ Existing tags: + + {{ range $i, $tag := .Payload.Tags }} + {{ if ne $i 0 }} {{ end }}{{ $tag }} + {{ end }} + +

+{{ end }} + + -
+ -
- +
+ + + + + + + + + + + + + - - -
- -
- +
+ + + -
- +
+ + + + +
+ Unique ID + {{ if eq .Payload.Post.ID "" }} - + {{ else }} - {{ .Payload.Post.ID }} - + {{ .Payload.Post.ID }} + {{ end }} - - -
- +
+

Tags (space separated)

+
-

- Existing tags: {{ range $i, $tag := .Payload.Tags }}{{ if ne $i 0 }} {{ end }}{{ $tag }}{{ end }} -

- - -
- + value="{{- range $i, $tag := .Payload.Post.Tags -}} + {{- if ne $i 0 }} {{ end }}{{ $tag -}} + {{- end -}} + "/> +
Series - +
Title - +
Description - - - - -
-
- -
-
- +
+ +

+ +

+ +

- + {{ if eq .Payload.Post.ID "" }} + + {{ else }} + + {{ end }} - + +

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