aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/templates/payments/cart_detail.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-15 21:01:31 +0100
commiteeaddb27560d723ca7d61359744ceb2709fccd2d (patch)
tree04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /alphabetlearning/templates/payments/cart_detail.html
parent7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff)
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'alphabetlearning/templates/payments/cart_detail.html')
-rw-r--r--alphabetlearning/templates/payments/cart_detail.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/alphabetlearning/templates/payments/cart_detail.html b/alphabetlearning/templates/payments/cart_detail.html
new file mode 100644
index 0000000..8c6c01b
--- /dev/null
+++ b/alphabetlearning/templates/payments/cart_detail.html
@@ -0,0 +1,32 @@
+{% extends "base.html" %}
+{% load static %}
+
+{% block content %}
+<div class="container my-5">
+ <h1 class="mb-4">My basket</h1>
+ <p class="text-body-secondary">{% lorem %}</p>
+ {% if cart %}
+ <div class="row">
+ <div class="col-8 my-5 bg-secondary-subtle border border-1 rounded border-dark">
+ <div class="my-4 bg-white rounded">
+
+ <div>
+ {% for item in cart.items.all %}
+ <div class="my-3">
+ {% include "payments/cart_lineitem.html" with item=item %}
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+
+ <div class="col-4 my-5">
+ {% include "payments/cart_sidepanel.html" with cart=cart %}
+ </div>
+
+ </div>
+ {% else %}
+ <p>Your cart is empty.</p>
+ {% endif %}
+</div>
+{% endblock %}