From 58b03b95f544a6ab6bde5e508fbadcb0a2e804dd Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 7 Mar 2023 18:08:00 +0100 Subject: Rework edit page dummy Since there are no good solutions to upload the file and markdown description text via HTML forms the edit page will upload the changes using embedded javascript. The page is now complete apart from the necessary javascript code and the backend handlers. --- data/templates/recipe_edit.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/data/templates/recipe_edit.html b/data/templates/recipe_edit.html index 67437f6..bd67266 100644 --- a/data/templates/recipe_edit.html +++ b/data/templates/recipe_edit.html @@ -14,16 +14,15 @@
-

ID: {{.Id}}

-
-
-
- -
-
{{.DescriptionMarkdown}}
- -
+

Recipe ID: {{.Id}}

+
+
+ +
+
{{.DescriptionMarkdown}}
+ + {{ template "footer.html" }}
-- cgit v1.2.3-70-g09d2