aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/resource_detail.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-09 14:23:03 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-09 14:23:03 +0100
commit082d6a7ee8bece150c04840474b18aa791f6300d (patch)
tree9c5d2b11c2bea022168eb473cc2260a0b3d7101f /pyblackbird_cc/templates/resources/resource_detail.html
parent348594d8cbb8ba3b407568a13c0fee91d126557c (diff)
wip: implementing CSS classes for category colours on detail page
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_detail.html')
-rw-r--r--pyblackbird_cc/templates/resources/resource_detail.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_detail.html b/pyblackbird_cc/templates/resources/resource_detail.html
index a4068ad..f287575 100644
--- a/pyblackbird_cc/templates/resources/resource_detail.html
+++ b/pyblackbird_cc/templates/resources/resource_detail.html
@@ -20,7 +20,7 @@
</div>
<div class="d-flex justify-content-between align-items-center">
<div>
- <p class="text-success my-1 fw-semibold fs-5">{{ resource.main_resource_category }}</p>
+ <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>
@@ -34,6 +34,9 @@
<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>