aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/resource_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 /pyblackbird_cc/templates/resources/resource_detail.html
parent7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff)
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_detail.html')
-rw-r--r--pyblackbird_cc/templates/resources/resource_detail.html82
1 files changed, 0 insertions, 82 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_detail.html b/pyblackbird_cc/templates/resources/resource_detail.html
deleted file mode 100644
index 6c6ceda..0000000
--- a/pyblackbird_cc/templates/resources/resource_detail.html
+++ /dev/null
@@ -1,82 +0,0 @@
-{% extends 'base.html' %}
-
-{% load markdown_extras %}
-
-{% block content %}
-
-<div class="row my-4">
- <div class="col-md-7">
- {% for tn_url, tn_filename in resource.thumbnails %}
- <div>
- <img class="img-fluid rounded mx-1" src="{{ tn_url }}" alt="{{ tn_filename }}"/>
- </div>
- {% endfor %}
- </div>
- <div class="col-md-5">
- <div class="row">
- <div class="col">
- <p class="my-1 fw-bold fs-3">{{ resource.name }}</p>
- </div>
- </div>
- <div class="d-flex justify-content-between align-items-center">
- <div>
- <p class="boo-magenta my-1 fw-semibold fs-5">{{ resource.main_resource_category }}</p>
- </div>
- <div>
- <p class="text-secondary my-1 fw-semibold fs-5">{{ resource.age_range }}</p>
- </div>
- </div>
-
- <div class="col">
- {% if resource.pdf_filenames|length > 1 %}
- <p class="text-secondary my-1">Contains {{ resource.pdf_filenames|length }} PDF files.</p>
- {% else %}
- <p class="text-secondary my-1">Contains {{ resource.pdf_filenames|length }} PDF file.</p>
- {% endif %}
- </div>
- <div class="col">
- <p class="fs-3 fw-semibold">£1.50 (or 1 credit)</p>
- </div>
-
- <hr>
-
- <div class="row">
- <div class="col">
- <p class="my-1 fw-semibold fs-5">Product summary</p>
- <p>{{resource.card_description}}</p>
- </div>
- </div>
- <div class="row align-items-end">
- <div class="my-4 d-flex justify-content-center">
- <form action="{% url 'payments:add_to_cart' resource.id %}" method="get" accept-charset="utf-8">
- <button class="btn btn-primary w-100">
- Add to cart
- </button>
- </form>
- </div>
- </div>
- </div>
-</div>
-
-<!-- Here be the carousel stuff -->
-<!-- except we are doing away with the carousel in this design -->
-<div class="d-flex justify-content-start">
- {% for snapshot_filename, snapshot_urls in resource.snapshot_urls.items %}
- {% for snapshot_url in snapshot_urls %}
- <div>
- <img src="{{ snapshot_url }}" class="d-block mx-auto img-thumbnail rounded" alt="{{ snapshot_name }}">
- </div>
- {% endfor %}
- {% endfor %}
-</div>
-
-<!-- detailed description row -->
-<div class="row py-4">
- <div class="col-12">
- <h4>Product detail</h4>
- {{ resource.description | markdown | safe }}
- </div>
-</div>
-
-{% endblock content %}
-