From 4908d3986bc16202c27ed08969c5bd94704f853d Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 5 Jul 2023 18:16:23 +0300 Subject: [PATCH] feat: more UI improvements --- .../customer-stall/customer-stall.html | 9 +- .../product-detail/product-detail.html | 96 ++++++++++--------- templates/nostrmarket/market.html | 5 +- 3 files changed, 55 insertions(+), 55 deletions(-) diff --git a/static/components/customer-stall/customer-stall.html b/static/components/customer-stall/customer-stall.html index c423349..411453a 100644 --- a/static/components/customer-stall/customer-stall.html +++ b/static/components/customer-stall/customer-stall.html @@ -9,14 +9,9 @@ @open-checkout="openCheckout"> --> -
+
- - - - - - +
diff --git a/static/components/product-detail/product-detail.html b/static/components/product-detail/product-detail.html index b9d00d4..32d0268 100644 --- a/static/components/product-detail/product-detail.html +++ b/static/components/product-detail/product-detail.html @@ -1,6 +1,6 @@
-
+
-
-
-
{{ product.name }}
-
- {{cat}} + +
+
+
{{ product.name }}
+
+ {{cat}} +
+
{{ product.description }}
+
+ + {{ product.price }} satsBTC {{ (product.price / 1e8).toFixed(8) }} + + + {{ product.formatedPrice }} + + {{ product.quantity > 0 ? 'In stock.' : 'Out of stock.' }} +
+
+ + +
+
+
-
{{ product.description }}
-
- - {{ product.price }} satsBTC {{ (product.price / 1e8).toFixed(8) }} - - - {{ product.formatedPrice }} - - {{ product.quantity > 0 ? 'In stock.' : 'Out of stock.' }} -
-
- - -
-
- -
+ +
diff --git a/templates/nostrmarket/market.html b/templates/nostrmarket/market.html index 83893f9..de0cb20 100644 --- a/templates/nostrmarket/market.html +++ b/templates/nostrmarket/market.html @@ -161,9 +161,6 @@
- @@ -197,7 +194,7 @@ + icon="storefront" class="cursor-pointer">