From 605c9e321b442daf1794ae8c045b1efb75617c92 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 Mar 2024 10:10:10 +0100 Subject: view: Fix position of header tag It should be inside the body tag but used to be before it. --- view/html/recipe-confirm-deletion.html | 8 ++++---- view/html/recipe-edit.html | 8 ++++---- view/html/recipe.html | 8 ++++---- view/html/recipes.html | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/view/html/recipe-confirm-deletion.html b/view/html/recipe-confirm-deletion.html index 8c89663..2bc9429 100644 --- a/view/html/recipe-confirm-deletion.html +++ b/view/html/recipe-confirm-deletion.html @@ -2,11 +2,11 @@ {{ template "head" }} -
- {{ template "nav" }} -

Delete a recipe

-
+
+ {{ template "nav" }} +

Delete a recipe

+

Do you really want to delete this recipe?

diff --git a/view/html/recipe-edit.html b/view/html/recipe-edit.html index aeb8e59..a6b4a66 100644 --- a/view/html/recipe-edit.html +++ b/view/html/recipe-edit.html @@ -2,11 +2,11 @@ {{ template "head" }} -
- {{ template "nav" }} -

Recipe editor

-
+
+ {{ template "nav" }} +

Recipe editor

+
diff --git a/view/html/recipe.html b/view/html/recipe.html index a99690a..4d0eb99 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -2,11 +2,11 @@ {{ template "head" }} -
- {{ template "nav" }} -

{{.Title}}

-
+
+ {{ template "nav" }} +

{{.Title}}

+

diff --git a/view/html/recipes.html b/view/html/recipes.html index c0a0719..89620ed 100644 --- a/view/html/recipes.html +++ b/view/html/recipes.html @@ -2,11 +2,11 @@ {{ template "head" }} -

- {{ template "nav" }} -

Recipes

-
+
+ {{ template "nav" }} +

Recipes

+

{{if ne (len .) 0}} -- cgit v1.2.3-70-g09d2