From eeaddb27560d723ca7d61359744ceb2709fccd2d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 15 Oct 2024 21:01:31 +0100 Subject: Renamed from pyblackbird_cc to alphabetlearning - everywhere --- alphabetlearning/templates/payments/cancel.html | 10 +++++++ .../templates/payments/cart_detail.html | 32 ++++++++++++++++++++++ .../templates/payments/cart_lineitem.html | 17 ++++++++++++ .../templates/payments/cart_sidepanel.html | 28 +++++++++++++++++++ .../templates/payments/landingpage.html | 29 ++++++++++++++++++++ alphabetlearning/templates/payments/success.html | 11 ++++++++ 6 files changed, 127 insertions(+) create mode 100644 alphabetlearning/templates/payments/cancel.html create mode 100644 alphabetlearning/templates/payments/cart_detail.html create mode 100644 alphabetlearning/templates/payments/cart_lineitem.html create mode 100644 alphabetlearning/templates/payments/cart_sidepanel.html create mode 100644 alphabetlearning/templates/payments/landingpage.html create mode 100644 alphabetlearning/templates/payments/success.html (limited to 'alphabetlearning/templates/payments') diff --git a/alphabetlearning/templates/payments/cancel.html b/alphabetlearning/templates/payments/cancel.html new file mode 100644 index 0000000..efe0fd3 --- /dev/null +++ b/alphabetlearning/templates/payments/cancel.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% block content %} +
+
+

Transaction Cancelled

+

Your transaction was cancelled.

+
+
+{% endblock content %} \ No newline at end of file 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 %} +
+

My basket

+

{% lorem %}

+ {% if cart %} +
+
+
+ +
+ {% for item in cart.items.all %} +
+ {% include "payments/cart_lineitem.html" with item=item %} +
+ {% endfor %} +
+
+
+ +
+ {% include "payments/cart_sidepanel.html" with cart=cart %} +
+ +
+ {% else %} +

Your cart is empty.

+ {% endif %} +
+{% endblock %} diff --git a/alphabetlearning/templates/payments/cart_lineitem.html b/alphabetlearning/templates/payments/cart_lineitem.html new file mode 100644 index 0000000..0ef8a97 --- /dev/null +++ b/alphabetlearning/templates/payments/cart_lineitem.html @@ -0,0 +1,17 @@ +
+
+
+ {{ item.resource.name }} +
+
+ {{ item.resource.card_description }} +
+
+ {% for tn_url in item.resource.thumbnail_urls %} +
+ unknown +
+ {% endfor %} +
+
+
diff --git a/alphabetlearning/templates/payments/cart_sidepanel.html b/alphabetlearning/templates/payments/cart_sidepanel.html new file mode 100644 index 0000000..7742c9a --- /dev/null +++ b/alphabetlearning/templates/payments/cart_sidepanel.html @@ -0,0 +1,28 @@ +
+
+
+ Subtotal: +
+
+ £{{ cart_total }} 10.24 +
+
+
+
+ Shipping and handling: +
+
+

There is nothing to say here

+
+
+
+
+

After payment, links to your download will be generated. + Help +

+ +
+
+ +
+
diff --git a/alphabetlearning/templates/payments/landingpage.html b/alphabetlearning/templates/payments/landingpage.html new file mode 100644 index 0000000..9897301 --- /dev/null +++ b/alphabetlearning/templates/payments/landingpage.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} +{% block content %} +
+
+

Welcome to PyBlackbird - Buy this

+ +
+
+
+

{{ product.name }}

+
+ {% for price in prices %} + +
+
${{ price.get_display_price }}
+
+ {% csrf_token %} + +
+
+ + {% endfor %} +
+
+
+ + +
+{% endblock content %} \ No newline at end of file diff --git a/alphabetlearning/templates/payments/success.html b/alphabetlearning/templates/payments/success.html new file mode 100644 index 0000000..c1fb089 --- /dev/null +++ b/alphabetlearning/templates/payments/success.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} + +{% load static %} + +{% block content %} +
+
+

Thanks for your order!

+

You have successfully transacted.

+
+{% endblock content %} \ No newline at end of file -- cgit v1.2.3