diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/html/recipe-confirm-deletion.html | 8 | ||||
-rw-r--r-- | view/html/recipe-edit.html | 8 | ||||
-rw-r--r-- | view/html/recipe.html | 8 | ||||
-rw-r--r-- | 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 @@ <!DOCTYPE html> <html> {{ template "head" }} - <header> - {{ template "nav" }} - <h1>Delete a recipe</h1> - </header> <body> + <header> + {{ template "nav" }} + <h1>Delete a recipe</h1> + </header> <main> <p>Do you really want to delete this recipe?</p> <button onclick="window.location.href='/recipe/{{.Id}}';">cancel</button> 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 @@ <!DOCTYPE html> <html> {{ template "head" }} - <header> - {{ template "nav" }} - <h1>Recipe editor</h1> - </header> <body> + <header> + {{ template "nav" }} + <h1>Recipe editor</h1> + </header> <main> <form action="/recipe/{{.Id}}"> <input type="hidden" name="id" value="{{.Id}}"> 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 @@ <!DOCTYPE html> <html> {{ template "head" }} - <header> - {{ template "nav" }} - <h1>{{.Title}}</h1> - </header> <body> + <header> + {{ template "nav" }} + <h1>{{.Title}}</h1> + </header> <main> <p> <button onclick="window.location.href='/recipe/{{.Id}}?view=recipe-edit';">edit</button> 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 @@ <!DOCTYPE html> <html> {{ template "head" }} - <header> - {{ template "nav" }} - <h1>Recipes</h1> - </header> <body> + <header> + {{ template "nav" }} + <h1>Recipes</h1> + </header> <main> <p><button onclick="create('/recipe')">create</button></p> {{if ne (len .) 0}} |