From e556883972a699f913c9cb8445169d83b1f7e503 Mon Sep 17 00:00:00 2001 From: Patryk Hegenberg Date: Mon, 4 Dec 2023 13:54:14 +0100 Subject: [PATCH] frontend: revise website to display form in a table --- templates/footer.html | 2 +- templates/header.html | 2 +- templates/main.html | 22 ++-- templates/monsterForm.html | 215 +++++++++++++++++-------------------- 4 files changed, 109 insertions(+), 132 deletions(-) diff --git a/templates/footer.html b/templates/footer.html index 696f204..ad776a9 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,7 +1,7 @@ {{ define "footer" }} {{ end }} diff --git a/templates/header.html b/templates/header.html index ac4d34b..a2c91b3 100644 --- a/templates/header.html +++ b/templates/header.html @@ -8,7 +8,7 @@ {{ end }} diff --git a/templates/main.html b/templates/main.html index 460f17f..7ab043c 100644 --- a/templates/main.html +++ b/templates/main.html @@ -2,23 +2,17 @@

Monster Form

-
- -
-
+ + + + + +

-
- -
- Monster -
-
- {{ template "monsterform" . }} -
-
+ {{ template "monsterform" . }}
diff --git a/templates/monsterForm.html b/templates/monsterForm.html index daf4951..9720971 100644 --- a/templates/monsterForm.html +++ b/templates/monsterForm.html @@ -1,118 +1,101 @@ {{ define "monsterform" }} -
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +





























{{end}}