From 46f11648d902b22a177b878e35d6049a7a127ce7 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 14 May 2024 12:53:28 +0100 Subject: Can now upload to Spaces --- .../templates/resources/resource_list.html | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 pyblackbird_cc/templates/resources/resource_list.html (limited to 'pyblackbird_cc/templates/resources/resource_list.html') diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html new file mode 100644 index 0000000..5b11ff6 --- /dev/null +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -0,0 +1,61 @@ +{% extends "base.html" %} + +{% block title %} + Joanna Lemon Resources - Resource List +{% endblock title %} +{% block content %} +
+ {% if request.user.is_authenticated %} + + {% endif %} + {% if resource_list %} + {% for resource in resource_list %} + +
+
+ {% for img in resource.thumbnail_urls %} + {{ resource.thumbnail_filename }} + {% endfor %} +
+
+ Click + + to download the resource +
+
+
+
+ {% endfor %} + {% else %} +

There are no resources

+ {% endif %} +
+
Logged in as {{ request.user.username }}
+{% endblock content %} -- cgit v1.2.3