From fce28f5be8ba8831eed5ccf482fa2abf5432ee89 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 20 Oct 2024 16:42:21 +0100 Subject: Cart shows items in it; disables buttons if item in basket - Rough cart icon in navbar - Shows items in cart - Styled dependent on existence - Add to cart buttons disabled if resource in cart, on resource list page and detail page - Throws 404 error if trying add item to cart which has no price - eventually all items will have a price --- alphabetlearning/templates/base.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'alphabetlearning/templates/base.html') diff --git a/alphabetlearning/templates/base.html b/alphabetlearning/templates/base.html index faadcd5..1bb67d4 100644 --- a/alphabetlearning/templates/base.html +++ b/alphabetlearning/templates/base.html @@ -109,6 +109,35 @@ Log out {% endif %} + -- cgit v1.2.3