From 32710651094c037c9bedcefae19df43d6dcf78fa Mon Sep 17 00:00:00 2001 From: brooke Date: Wed, 31 Jul 2024 20:26:35 -0400 Subject: [PATCH] overhaul rental modal element --- themes/gallo/layouts/partials/carousel.html | 68 +++++++ .../layouts/partials/rental_catalog.html | 177 +++++++----------- themes/gallo/src/input.css | 16 ++ themes/gallo/static/css/tailwind.min.css | 2 +- 4 files changed, 156 insertions(+), 107 deletions(-) create mode 100644 themes/gallo/layouts/partials/carousel.html diff --git a/themes/gallo/layouts/partials/carousel.html b/themes/gallo/layouts/partials/carousel.html new file mode 100644 index 0000000..26fdd9b --- /dev/null +++ b/themes/gallo/layouts/partials/carousel.html @@ -0,0 +1,68 @@ + + + diff --git a/themes/gallo/layouts/partials/rental_catalog.html b/themes/gallo/layouts/partials/rental_catalog.html index c127ca2..cffcd4a 100644 --- a/themes/gallo/layouts/partials/rental_catalog.html +++ b/themes/gallo/layouts/partials/rental_catalog.html @@ -74,6 +74,11 @@ {{ .dimensions }} {{ end }} {{ if ne .baseCost "" }} +
+ Purchase Cost: + {{ .purchaseCost }} +
+ {{ end }}{{ if ne .baseCost "" }}
Rental Cost: {{ .baseCost }} @@ -91,30 +96,14 @@ {{ end }}
-
- {{ if ne .purchaseCost "" }} -
+
- {{ else }} -
- Purchase Unavailable -
- {{ end }} - - - -
+ Expand + +