From 8e2f0fe43e671deb5d8d35f25112bebd20e77a54 Mon Sep 17 00:00:00 2001
From: Nathan Chapman
Date: Sat, 21 Jan 2023 18:53:07 -0700
Subject: [PATCH] Remove canceled button on when order status is canceled
---
.../templates/dashboard/order/detail.html | 2 +-
dashboard/templates/dashboard/order/list.html | 24 ++++++++++---------
static/styles/dashboard.css | 11 +++++++++
3 files changed, 25 insertions(+), 12 deletions(-)
diff --git a/dashboard/templates/dashboard/order/detail.html b/dashboard/templates/dashboard/order/detail.html
index acd1667..acfe5eb 100644
--- a/dashboard/templates/dashboard/order/detail.html
+++ b/dashboard/templates/dashboard/order/detail.html
@@ -10,7 +10,7 @@
diff --git a/dashboard/templates/dashboard/order/list.html b/dashboard/templates/dashboard/order/list.html
index 1f5c0e9..b9bd21d 100644
--- a/dashboard/templates/dashboard/order/list.html
+++ b/dashboard/templates/dashboard/order/list.html
@@ -17,19 +17,21 @@
|
- {% if page_obj.has_previous %}
- « first
- previous
- {% endif %}
+
|
diff --git a/static/styles/dashboard.css b/static/styles/dashboard.css
index 4e0a976..5b931c5 100644
--- a/static/styles/dashboard.css
+++ b/static/styles/dashboard.css
@@ -460,6 +460,7 @@ main > article > header {
}
.product-figure img {
+ background-color: white;
max-height: 6rem;
max-width: 6rem;
border: var(--default-border);
@@ -617,6 +618,16 @@ main > article > header {
}
+/* ==========================================================================
+ Pagination
+ ========================================================================== */
+
+.pagination {
+ display: flex;
+ gap: 1rem;
+}
+
+
/* ==========================================================================
Utils
========================================================================== */