From 07ace53ba2423f1b7e62477549ba62a30e79ff47 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sun, 29 Sep 2024 13:10:56 +0200 Subject: Added edit functionality Added a new edit functionality and page with styling. Other minor changes: - Added assets folder served under /static/ - Created a new template edit.html - grouped ideas.html and edit.html under t_idea - Changed router to use mux and organized routes - Added more checks on empty titles - Added javascript to t_idea/index.html for intuitive button functionality --- t_idea/index.html | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 t_idea/index.html (limited to 't_idea/index.html') diff --git a/t_idea/index.html b/t_idea/index.html new file mode 100644 index 0000000..b219ba3 --- /dev/null +++ b/t_idea/index.html @@ -0,0 +1,59 @@ + + + + + + + Ideas + + + + {{ with .Error }} +

{{.}}

+ {{ end}} +

Add an idea:

+
+
+ +
+
+ +
+
+ + + + + -- cgit v1.2.3