From 40868be7d4b9e1d9909a19dccc25ec49c1b5924b Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 11 Feb 2024 22:44:32 +0100 Subject: view: Implement GET handler for model.Recipes --- view/html/footer.html | 5 +++++ view/html/head.html | 8 ++++++++ view/html/recipes.html | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 view/html/footer.html create mode 100644 view/html/head.html create mode 100644 view/html/recipes.html (limited to 'view/html') diff --git a/view/html/footer.html b/view/html/footer.html new file mode 100644 index 0000000..5128b7f --- /dev/null +++ b/view/html/footer.html @@ -0,0 +1,5 @@ +{{define "footer"}} + +{{end}} diff --git a/view/html/head.html b/view/html/head.html new file mode 100644 index 0000000..91ae004 --- /dev/null +++ b/view/html/head.html @@ -0,0 +1,8 @@ +{{define "head"}} + + Recipes + + + + +{{end}} diff --git a/view/html/recipes.html b/view/html/recipes.html new file mode 100644 index 0000000..1b7b1c1 --- /dev/null +++ b/view/html/recipes.html @@ -0,0 +1,40 @@ +{{define "recipes"}} + + {{ template "head" }} +
+ +

Recipe overview

+
+ +
+

Here are the available recipes 😋🍳🍔🍕🥘

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