From 0cb7e4cd325ed45a8c0fe61bae73dc41a3921b8f Mon Sep 17 00:00:00 2001 From: Scott McKendry <39483124+scottmckendry@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:46:01 +1300 Subject: [PATCH] remove tailwind :poop: --- views/dogs.html | 69 ++++++++++++++-------------------- views/index.html | 3 +- views/row-add.html | 92 ++++++++++----------------------------------- views/row-edit.html | 38 ++++++------------- views/row.html | 25 ++++++------ 5 files changed, 71 insertions(+), 156 deletions(-) diff --git a/views/dogs.html b/views/dogs.html index 46637d4..aae11af 100644 --- a/views/dogs.html +++ b/views/dogs.html @@ -1,45 +1,32 @@
Processing...
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - {{ range .dogs }} {{ template "row" . }} {{ end }} -
Name - Owner Name - AddressCityEmailServiceQuantityPriceActions
-
-
-
+
+
+ + + + + + + + + + + + + + + + + {{ range .dogs }} {{ template "row" . }} {{ end }} +
#NameOwner NameAddressCityEmailServiceQuantityPriceActions
diff --git a/views/index.html b/views/index.html index 914639f..b904db4 100644 --- a/views/index.html +++ b/views/index.html @@ -13,11 +13,10 @@ integrity="sha384-FhXw7b6AlE/jyjlZH5iHa/tTe9EpJ1Y55RjcgPbjeWMskSxZt1v9qkxLJWNJaGni" crossorigin="anonymous" > -
-
+

Invoices

{{ template "dogs" . }}
diff --git a/views/row-add.html b/views/row-add.html index 1ec1e75..eec7be8 100644 --- a/views/row-add.html +++ b/views/row-add.html @@ -1,76 +1,28 @@ - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + Save - Cancel diff --git a/views/row-edit.html b/views/row-edit.html index 4175997..5d83f71 100644 --- a/views/row-edit.html +++ b/views/row-edit.html @@ -1,93 +1,79 @@ - - {{.ID}} - + + {{.ID}} + - + - + - + - + - + - + - + - + Save - Cancel diff --git a/views/row.html b/views/row.html index 2bed918..2ee0909 100644 --- a/views/row.html +++ b/views/row.html @@ -1,20 +1,19 @@ - - {{.ID}} - {{.Name}} - {{.OwnerName}} - {{.Address}} - {{.City}} - {{.Email}} - {{.Service}} - {{.Quantity}} - {{.Price}} - + + {{.ID}} + {{.Name}} + {{.OwnerName}} + {{.Address}} + {{.City}} + {{.Email}} + {{.Service}} + {{.Quantity}} + {{.Price}} + Edit @@ -24,7 +23,6 @@ hx-target="#dogs" hx-confirm="Are you sure you want to delete {{.Name}}?" hx-indicator="#processing" - class="hover:underline text-blue-700" href="" >Delete @@ -39,7 +37,6 @@ hx-post="/invoice/{{.ID}}" hx-target="#dogs" hx-indicator="#processing" - class="hover:underline text-blue-700" href="" >Send