diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-01 21:13:57 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-01 21:14:42 +0100 |
commit | e727913b9d8e28fccede007aaf5558a5bfa8900c (patch) | |
tree | 3c9293881c6c2212cf143ab5b852d5147b02d800 /pyblackbird_cc/templates/resources/resource_card_standard.html | |
parent | 1d0522ea2d9197b1c4e9a051b829a8bfadf40115 (diff) |
wip: implementing the tabbed filter for standard resources
- it is filtering Featured resources too and it shouldn't. Fix.
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_card_standard.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_card_standard.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html index bdc3325..68ea0dc 100644 --- a/pyblackbird_cc/templates/resources/resource_card_standard.html +++ b/pyblackbird_cc/templates/resources/resource_card_standard.html @@ -2,9 +2,10 @@ {% load markdown_extras %} <!-- Card 1 --> -<div class="col-md-6 mb-3"> - <div class="card mx-2 mt-2 my-card-shadow-sm" style="border-color: {{ resource.main_resource_category_colour_css_class }}; border-width: 1px;" onmouseover="this.classList.add('my-card-shadow-lg')" onmouseout="this.classList.remove('my-card-shadow-lg')"> +<div class="card mx-2 mt-2 my-card-shadow-sm" + style="border-color: {{ resource.main_resource_category_colour_css_class }}; border-width: 1px;" + onmouseover="this.classList.add('my-card-shadow-lg')" onmouseout="this.classList.remove('my-card-shadow-lg')"> <div class="row g-0"> <div class="col-4"> <img class="img-fluid rounded-start" @@ -15,7 +16,8 @@ <div class="card-body"> <div class="d-flex flex-row justify-content-start align-items-center"> <h5 class="card-title"><a - href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}</a></h5> + href="{% url 'resources:resource_detail' resource_id=resource.id %}">{{ resource.name }}</a> + </h5> </div> <div class="d-flex flex-row justify-content-start align-items-center mt-2"> <span class="badge bg-secondary me-2">{{ resource.age_range }}</span> @@ -44,6 +46,5 @@ </div> {% endif %} </div> -</div> </div>
\ No newline at end of file |