From f3a97a063b4158ecd803555c36a7807a02133781 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 15 May 2024 09:44:24 +0100 Subject: Adds placeholder and more styling to list page --- pyblackbird_cc/static/images/placeholder.png | Bin 0 -> 3951 bytes .../templates/resources/resource_list.html | 131 ++++++++++++++------- 2 files changed, 91 insertions(+), 40 deletions(-) create mode 100644 pyblackbird_cc/static/images/placeholder.png diff --git a/pyblackbird_cc/static/images/placeholder.png b/pyblackbird_cc/static/images/placeholder.png new file mode 100644 index 0000000..3d2e5d8 Binary files /dev/null and b/pyblackbird_cc/static/images/placeholder.png differ diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html index c978b31..e8f2a5c 100644 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -1,12 +1,12 @@ {% extends "base.html" %} +{% load static %} + {% block title %} Joanna Lemon Resources - Resource List {% endblock title %} {% block content %} -
-
@@ -14,9 +14,7 @@ -
- Logged in as {{ request.user.email }} -
+
Logged in as {{ request.user.email }}
{% csrf_token %} @@ -27,44 +25,97 @@
- - -
-
- {% if resource_list %} -
- {% for resource in resource_list %} -
-
-
- Featured - -
-
- {{ resource.thumbnail_filename }} -
-
{{ resource.name }}
-
-
- {{ resource.main_resource_category_name }} +
+
+

High quality educational resources

+
+
+

Stuff and intro text

+
+
+
+
+
+
+ PLACEHOLDER + PLACEHOLDER + PLACEHOLDER +
+
+
+
+
+
Welcome!
+

+ I love to make clear and colourful resources and can't resist using rainbow colours + which so often help make learning visually clearer. I'd love to know what you think of + what you download, don't hesitate to let me know if you have any suggestions or requests... + I am also available to tutor younger learners online via Sherpa! +

+
+
+

Subscriptions available now!

+

+ I love to make clear and colourful resources and can't resist using rainbow colours + which so often help make learning visually clearer. I'd love to know what you think of + what you download, don't hesitate to let me know if you have any suggestions or requests... + I am also available to tutor younger learners online via Sherpa! +

+

What is available?

+
    +
  • Full access to all resources (over 250 resources)
  • +
  • Customised resources upon request
  • +
  • New resources coming online all the time
  • +
+ Subscribe now +
+
+
+
+

Featured resources

+
+
+
+

These are my latest resources. They are great!

+
+
+
+
+
+ {% if resource_list %} +
+ {% for resource in resource_list %} +
+
+
+ Featured +
-
- {{ resource.age_range }} +
+ {{ resource.thumbnail_filename }} +
+
{{ resource.name }}
+
+
+ {{ resource.main_resource_category_name }} +
+
+ {{ resource.age_range }} +
+

{{ resource.description }}

+ More...
-

{{ resource.description }}

- More...
-
- - {% endfor %} -
- {% else %} -

There are no resources

- {% endif %} + {% endfor %} +
+ {% else %} +

There are no resources

+ {% endif %} +
-
-{% endblock content %} + {% endblock content %} -- cgit v1.2.3