From eeaddb27560d723ca7d61359744ceb2709fccd2d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 15 Oct 2024 21:01:31 +0100 Subject: Renamed from pyblackbird_cc to alphabetlearning - everywhere --- pyblackbird_cc/templates/403.html | 15 - pyblackbird_cc/templates/403_csrf.html | 15 - pyblackbird_cc/templates/404.html | 15 - pyblackbird_cc/templates/500.html | 12 - .../templates/account/base_manage_password.html | 10 - pyblackbird_cc/templates/account/signup.html | 37 --- .../templates/allauth/elements/alert.html | 7 - .../templates/allauth/elements/badge.html | 6 - .../templates/allauth/elements/button.html | 20 -- .../templates/allauth/elements/field.html | 66 ---- .../templates/allauth/elements/fields.html | 3 - pyblackbird_cc/templates/allauth/elements/h1.html | 5 - pyblackbird_cc/templates/allauth/elements/h2.html | 5 - .../templates/allauth/elements/panel.html | 19 -- .../templates/allauth/elements/table.html | 6 - .../templates/allauth/layouts/entrance.html | 44 --- .../templates/allauth/layouts/manage.html | 6 - pyblackbird_cc/templates/base.html | 199 ------------ pyblackbird_cc/templates/pages/about.html | 1 - pyblackbird_cc/templates/pages/home.html | 350 --------------------- pyblackbird_cc/templates/payments/cancel.html | 10 - pyblackbird_cc/templates/payments/cart_detail.html | 32 -- .../templates/payments/cart_lineitem.html | 17 - .../templates/payments/cart_sidepanel.html | 28 -- pyblackbird_cc/templates/payments/landingpage.html | 29 -- pyblackbird_cc/templates/payments/success.html | 11 - pyblackbird_cc/templates/resources/admin_bar.html | 21 -- .../resources/create_featured_resource.html | 26 -- .../templates/resources/hx_download_button.html | 3 - .../resources/resource_card_featured.html | 49 --- .../resources/resource_card_standard.html | 56 ---- .../templates/resources/resource_create.html | 22 -- .../templates/resources/resource_detail.html | 82 ----- .../templates/resources/resource_list.html | 110 ------- .../resources/resource_metadata_update.html | 25 -- .../templates/resources/update_pdfs.html | 27 -- .../templates/resources/update_thumbnails.html | 29 -- pyblackbird_cc/templates/users/user_detail.html | 31 -- pyblackbird_cc/templates/users/user_form.html | 21 -- 39 files changed, 1470 deletions(-) delete mode 100644 pyblackbird_cc/templates/403.html delete mode 100644 pyblackbird_cc/templates/403_csrf.html delete mode 100644 pyblackbird_cc/templates/404.html delete mode 100644 pyblackbird_cc/templates/500.html delete mode 100644 pyblackbird_cc/templates/account/base_manage_password.html delete mode 100644 pyblackbird_cc/templates/account/signup.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/alert.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/badge.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/button.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/field.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/fields.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/h1.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/h2.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/panel.html delete mode 100644 pyblackbird_cc/templates/allauth/elements/table.html delete mode 100644 pyblackbird_cc/templates/allauth/layouts/entrance.html delete mode 100644 pyblackbird_cc/templates/allauth/layouts/manage.html delete mode 100644 pyblackbird_cc/templates/base.html delete mode 100644 pyblackbird_cc/templates/pages/about.html delete mode 100644 pyblackbird_cc/templates/pages/home.html delete mode 100644 pyblackbird_cc/templates/payments/cancel.html delete mode 100644 pyblackbird_cc/templates/payments/cart_detail.html delete mode 100644 pyblackbird_cc/templates/payments/cart_lineitem.html delete mode 100644 pyblackbird_cc/templates/payments/cart_sidepanel.html delete mode 100644 pyblackbird_cc/templates/payments/landingpage.html delete mode 100644 pyblackbird_cc/templates/payments/success.html delete mode 100644 pyblackbird_cc/templates/resources/admin_bar.html delete mode 100644 pyblackbird_cc/templates/resources/create_featured_resource.html delete mode 100644 pyblackbird_cc/templates/resources/hx_download_button.html delete mode 100644 pyblackbird_cc/templates/resources/resource_card_featured.html delete mode 100644 pyblackbird_cc/templates/resources/resource_card_standard.html delete mode 100644 pyblackbird_cc/templates/resources/resource_create.html delete mode 100644 pyblackbird_cc/templates/resources/resource_detail.html delete mode 100644 pyblackbird_cc/templates/resources/resource_list.html delete mode 100644 pyblackbird_cc/templates/resources/resource_metadata_update.html delete mode 100644 pyblackbird_cc/templates/resources/update_pdfs.html delete mode 100644 pyblackbird_cc/templates/resources/update_thumbnails.html delete mode 100644 pyblackbird_cc/templates/users/user_detail.html delete mode 100644 pyblackbird_cc/templates/users/user_form.html (limited to 'pyblackbird_cc/templates') diff --git a/pyblackbird_cc/templates/403.html b/pyblackbird_cc/templates/403.html deleted file mode 100644 index 40954bb..0000000 --- a/pyblackbird_cc/templates/403.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} - -{% block title %} - Forbidden (403) -{% endblock title %} -{% block content %} -

Forbidden (403)

-

- {% if exception %} - {{ exception }} - {% else %} - You're not allowed to access this page. - {% endif %} -

-{% endblock content %} diff --git a/pyblackbird_cc/templates/403_csrf.html b/pyblackbird_cc/templates/403_csrf.html deleted file mode 100644 index 40954bb..0000000 --- a/pyblackbird_cc/templates/403_csrf.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} - -{% block title %} - Forbidden (403) -{% endblock title %} -{% block content %} -

Forbidden (403)

-

- {% if exception %} - {{ exception }} - {% else %} - You're not allowed to access this page. - {% endif %} -

-{% endblock content %} diff --git a/pyblackbird_cc/templates/404.html b/pyblackbird_cc/templates/404.html deleted file mode 100644 index 2399b79..0000000 --- a/pyblackbird_cc/templates/404.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "base.html" %} - -{% block title %} - Page not found -{% endblock title %} -{% block content %} -

Page not found

-

- {% if exception %} - {{ exception }} - {% else %} - This is not the page you were looking for. - {% endif %} -

-{% endblock content %} diff --git a/pyblackbird_cc/templates/500.html b/pyblackbird_cc/templates/500.html deleted file mode 100644 index c4e2fa3..0000000 --- a/pyblackbird_cc/templates/500.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "base.html" %} - -{% block title %} - Server Error -{% endblock title %} -{% block content %} -

Ooops!!! 500

-

Looks like something went wrong!

-

- We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing. -

-{% endblock content %} diff --git a/pyblackbird_cc/templates/account/base_manage_password.html b/pyblackbird_cc/templates/account/base_manage_password.html deleted file mode 100644 index 20c44f7..0000000 --- a/pyblackbird_cc/templates/account/base_manage_password.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "account/base_manage.html" %} - -{% block main %} -
-
- {% block content %} - {% endblock content %} -
-
-{% endblock main %} diff --git a/pyblackbird_cc/templates/account/signup.html b/pyblackbird_cc/templates/account/signup.html deleted file mode 100644 index 9dd81fd..0000000 --- a/pyblackbird_cc/templates/account/signup.html +++ /dev/null @@ -1,37 +0,0 @@ - {% extends "account/base_entrance.html" %} - {% load allauth i18n %} - {% block head_title %} - {% trans "Signup" %} - {% endblock head_title %} - {% block content %} - {% element h1 %} - {% trans "Sign Up" %} -

There are lots of benefits to signing up!

- {% endelement %} - {% setvar link %} - - {% endsetvar %} - {% setvar end_link %} - - {% endsetvar %} -

{% blocktranslate %}Already have an account? Then please {{ link }}sign in{{ end_link }}.{% endblocktranslate %}

- {% if not SOCIALACCOUNT_ONLY %} - {% url 'account_signup' as action_url %} - {% element form form=form method="post" action=action_url tags="entrance,signup" %} - {% slot body %} - {% csrf_token %} - {% element fields form=form unlabeled=True %} - {% endelement %} - {{ redirect_field }} - {% endslot %} - {% slot actions %} - {% element button tags="prominent,signup" type="submit" %} - {% trans "Sign Up" %} - {% endelement %} - {% endslot %} - {% endelement %} - {% endif %} - {% if SOCIALACCOUNT_ENABLED %} - {% include "socialaccount/snippets/login.html" with page_layout="entrance" %} - {% endif %} - {% endblock content %} diff --git a/pyblackbird_cc/templates/allauth/elements/alert.html b/pyblackbird_cc/templates/allauth/elements/alert.html deleted file mode 100644 index 535d394..0000000 --- a/pyblackbird_cc/templates/allauth/elements/alert.html +++ /dev/null @@ -1,7 +0,0 @@ -{% load i18n %} -{% load allauth %} - -
- {% slot message %} -{% endslot %} -
diff --git a/pyblackbird_cc/templates/allauth/elements/badge.html b/pyblackbird_cc/templates/allauth/elements/badge.html deleted file mode 100644 index e86669b..0000000 --- a/pyblackbird_cc/templates/allauth/elements/badge.html +++ /dev/null @@ -1,6 +0,0 @@ -{% load allauth %} - - - {% slot %} -{% endslot %} - diff --git a/pyblackbird_cc/templates/allauth/elements/button.html b/pyblackbird_cc/templates/allauth/elements/button.html deleted file mode 100644 index b88a209..0000000 --- a/pyblackbird_cc/templates/allauth/elements/button.html +++ /dev/null @@ -1,20 +0,0 @@ -{% load allauth %} - -{% comment %} djlint:off {% endcomment %} -<{% if attrs.href %}a href="{{ attrs.href }}"{% else %}button{% endif %} - {% if attrs.form %}form="{{ attrs.form }}"{% endif %} - {% if attrs.id %}id="{{ attrs.id }}"{% endif %} - {% if attrs.name %}name="{{ attrs.name }}"{% endif %} - {% if attrs.type %}type="{{ attrs.type }}"{% endif %} - class="btn -{% if 'success' in attrs.tags %}btn-success -{% elif 'warning' in attrs.tags %}btn-warning -{% elif 'secondary' in attrs.tags %}btn-secondary -{% elif 'danger' in attrs.tags %}btn-danger -{% elif 'primary' in attrs.tags %}btn-primary -{% else %}btn-primary -{% endif %}" -> - {% slot %} - {% endslot %} - diff --git a/pyblackbird_cc/templates/allauth/elements/field.html b/pyblackbird_cc/templates/allauth/elements/field.html deleted file mode 100644 index dc5f303..0000000 --- a/pyblackbird_cc/templates/allauth/elements/field.html +++ /dev/null @@ -1,66 +0,0 @@ -{% load allauth %} -{% load crispy_forms_tags %} - -{% if attrs.type == "textarea" %} -
-
- -
- -
-{% elif attrs.type == "radio" %} -
-
-
- - -
-
-
-{% else %} -
- -
-
- -
-{% endif %} -{% if slots.help_text %} -
{% slot help_text %}{% endslot %}
-{% endif %} diff --git a/pyblackbird_cc/templates/allauth/elements/fields.html b/pyblackbird_cc/templates/allauth/elements/fields.html deleted file mode 100644 index ae8e104..0000000 --- a/pyblackbird_cc/templates/allauth/elements/fields.html +++ /dev/null @@ -1,3 +0,0 @@ -{% load crispy_forms_tags %} - -{{ attrs.form|crispy }} diff --git a/pyblackbird_cc/templates/allauth/elements/h1.html b/pyblackbird_cc/templates/allauth/elements/h1.html deleted file mode 100644 index 40ebed8..0000000 --- a/pyblackbird_cc/templates/allauth/elements/h1.html +++ /dev/null @@ -1,5 +0,0 @@ -{% load allauth %} -

- {% slot default %} - {% endslot %} -

diff --git a/pyblackbird_cc/templates/allauth/elements/h2.html b/pyblackbird_cc/templates/allauth/elements/h2.html deleted file mode 100644 index e2b412a..0000000 --- a/pyblackbird_cc/templates/allauth/elements/h2.html +++ /dev/null @@ -1,5 +0,0 @@ -{% load allauth %} -

- {% slot default %} - {% endslot %} -

diff --git a/pyblackbird_cc/templates/allauth/elements/panel.html b/pyblackbird_cc/templates/allauth/elements/panel.html deleted file mode 100644 index 43a7a54..0000000 --- a/pyblackbird_cc/templates/allauth/elements/panel.html +++ /dev/null @@ -1,19 +0,0 @@ -{% load allauth %} - -
-
-
-

- {% slot title %} - {% endslot %} -

- {% slot body %} - {% endslot %} - {% if slots.actions %} -
    - {% for action in slots.actions %}
  • {{ action }}
  • {% endfor %} -
- {% endif %} -
-
-
diff --git a/pyblackbird_cc/templates/allauth/elements/table.html b/pyblackbird_cc/templates/allauth/elements/table.html deleted file mode 100644 index 13cc5da..0000000 --- a/pyblackbird_cc/templates/allauth/elements/table.html +++ /dev/null @@ -1,6 +0,0 @@ -{% load allauth %} - - - {% slot %} -{% endslot %} -
diff --git a/pyblackbird_cc/templates/allauth/layouts/entrance.html b/pyblackbird_cc/templates/allauth/layouts/entrance.html deleted file mode 100644 index fedeb31..0000000 --- a/pyblackbird_cc/templates/allauth/layouts/entrance.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends "base.html" %} - -{% load allauth %} - -{% load i18n %} - -{% block bodyclass %} - bg-light -{% endblock bodyclass %} -{% block css %} - {{ block.super }} -{% endblock css %} -{% block title %} - {% block head_title %} - {% trans "Sign In" %} - {% endblock head_title %} -{% endblock title %} -{% block body %} -
-
- {% if messages %} - {% for message in messages %} -
- {{ message }} - -
- {% endfor %} - {% endif %} - - {% element h2 %}Coming soon!{% endelement %} - -

Alphabet Learning is a brand new platform selling high quality educational resources. As of October 2024, the site is currently in active development - and will be launched soon.

- -
- - {% block content %} - {% endblock content %} -
-
-{% endblock body %} diff --git a/pyblackbird_cc/templates/allauth/layouts/manage.html b/pyblackbird_cc/templates/allauth/layouts/manage.html deleted file mode 100644 index 75b4959..0000000 --- a/pyblackbird_cc/templates/allauth/layouts/manage.html +++ /dev/null @@ -1,6 +0,0 @@ -{% extends "base.html" %} - -{% block main %} - {% block content %} - {% endblock content %} -{% endblock main %} diff --git a/pyblackbird_cc/templates/base.html b/pyblackbird_cc/templates/base.html deleted file mode 100644 index ded8675..0000000 --- a/pyblackbird_cc/templates/base.html +++ /dev/null @@ -1,199 +0,0 @@ -{% load static i18n %} - - -{% get_current_language as LANGUAGE_CODE %} - - - - - - {% block title %} - Alphabet Learning - {% endblock title %} - - - - - - {% block extra_css %} - {% endblock extra_css %} - {% block css %} - - {# #} - - - - - - - {# #} - {% endblock css %} - - {# Placed at the top of the document so pages load faster with defer #} - {% block javascript %} - - {# #} - - - - - - - {% endblock javascript %} - - - - -
- -
-
-
- {% block body %} - {% if messages %} - {% for message in messages %} -
- {{ message }} - -
- {% endfor %} - {% endif %} - {% block main %} -
- {% block content %} - {% endblock content %} - - -
- {% endblock main %} - {% endblock body %} -
- -{% block modal %} -{% endblock modal %} -{% block inline_javascript %} -{% comment %} -Script tags with only code, no src (defer by default). To run -with a "defer" so that you run inline code: - -{% endcomment %} -{% endblock inline_javascript %} - - diff --git a/pyblackbird_cc/templates/pages/about.html b/pyblackbird_cc/templates/pages/about.html deleted file mode 100644 index 94d9808..0000000 --- a/pyblackbird_cc/templates/pages/about.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "base.html" %} diff --git a/pyblackbird_cc/templates/pages/home.html b/pyblackbird_cc/templates/pages/home.html deleted file mode 100644 index aa206f3..0000000 --- a/pyblackbird_cc/templates/pages/home.html +++ /dev/null @@ -1,350 +0,0 @@ -{% extends "base.html" %} - -{% load static %} -{% block content %} - - - - Check - - - - Bootstrap - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -

High quality educational resources

-
-

I am very good at making resources for young children and here I am, selling - them to you. - You will find that these are some of the best educational resoures on the internet.

-
- - -
-
-
-
- - - {# Image section#} -
-
-
-

Sample Resources

-
- Sample Resource -
-

This is a sample of the high-quality educational resources you can - access with our membership plans. Our resources are carefully crafted by experienced educators - to engage and inspire young learners.

-
-
-
- - -
- -
- -
-
-
-
- - - -
-
-

First benefit

-

Some nice descriptive text about the feature here. Sell it and make - it really exciting!

- - Call to action - - - - -
-
-
-
- - - -
-
-

Featured title

-

Some nice descriptive text about the feature here. Sell it and make - it really exciting!

- - Call to action - - - - -
-
-
-
- - - -
-
-

Featured title

-

Some nice descriptive text about the feature here. Sell it and make - it really exciting!

- - - Call to action - - - - -
-
-
-
-
-
- -
- -
-

Pricing

-

Quickly build an effective pricing table for your potential customers with this - Bootstrap example. It’s built with default Bootstrap components and utilities with little customization.

-
- - -
-
-
-
-

Starter

-
-
-

£0/mo

-
    -
  • 20 resources included
  • -
  • Something else that is basic
  • -
  • Email support
  • -
  • Help center access
  • -
- -
-
-
-
-
-
-

Learner

-
-
-

£4.99/mo

-
    -
  • 100 resources included
  • -
  • Something else that is pro
  • -
  • Email support
  • -
  • Help center access
  • -
- -
-
-
-
-
-
-

Member

-
-
-

£8.99/mo

-
    -
  • All resources included
  • -
  • Something else that is really good
  • -
  • Email support
  • -
  • Help center access
  • -
- -
-
-
-
- -

Compare plans

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
StarterLearnerMember
Public - - - - - - - - - - - -
Private - - - - - - - -
Permissions - - - - - - - - - - - -
Sharing - - - - - - - -
Unlimited members - - - - - - - -
Extra security - - - -
-
- - - -{% endblock content %} diff --git a/pyblackbird_cc/templates/payments/cancel.html b/pyblackbird_cc/templates/payments/cancel.html deleted file mode 100644 index efe0fd3..0000000 --- a/pyblackbird_cc/templates/payments/cancel.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -
-
-

Transaction Cancelled

-

Your transaction was cancelled.

-
-
-{% endblock content %} \ No newline at end of file diff --git a/pyblackbird_cc/templates/payments/cart_detail.html b/pyblackbird_cc/templates/payments/cart_detail.html deleted file mode 100644 index 8c6c01b..0000000 --- a/pyblackbird_cc/templates/payments/cart_detail.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "base.html" %} -{% load static %} - -{% block content %} -
-

My basket

-

{% lorem %}

- {% if cart %} -
-
-
- -
- {% for item in cart.items.all %} -
- {% include "payments/cart_lineitem.html" with item=item %} -
- {% endfor %} -
-
-
- -
- {% include "payments/cart_sidepanel.html" with cart=cart %} -
- -
- {% else %} -

Your cart is empty.

- {% endif %} -
-{% endblock %} diff --git a/pyblackbird_cc/templates/payments/cart_lineitem.html b/pyblackbird_cc/templates/payments/cart_lineitem.html deleted file mode 100644 index 0ef8a97..0000000 --- a/pyblackbird_cc/templates/payments/cart_lineitem.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
- {{ item.resource.name }} -
-
- {{ item.resource.card_description }} -
-
- {% for tn_url in item.resource.thumbnail_urls %} -
- unknown -
- {% endfor %} -
-
-
diff --git a/pyblackbird_cc/templates/payments/cart_sidepanel.html b/pyblackbird_cc/templates/payments/cart_sidepanel.html deleted file mode 100644 index 7742c9a..0000000 --- a/pyblackbird_cc/templates/payments/cart_sidepanel.html +++ /dev/null @@ -1,28 +0,0 @@ -
-
-
- Subtotal: -
-
- £{{ cart_total }} 10.24 -
-
-
-
- Shipping and handling: -
-
-

There is nothing to say here

-
-
-
-
-

After payment, links to your download will be generated. - Help -

- -
-
- -
-
diff --git a/pyblackbird_cc/templates/payments/landingpage.html b/pyblackbird_cc/templates/payments/landingpage.html deleted file mode 100644 index 9897301..0000000 --- a/pyblackbird_cc/templates/payments/landingpage.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "base.html" %} -{% block content %} -
-
-

Welcome to PyBlackbird - Buy this

- -
-
-
-

{{ product.name }}

-
- {% for price in prices %} - -
-
${{ price.get_display_price }}
-
- {% csrf_token %} - -
-
- - {% endfor %} -
-
-
- - -
-{% endblock content %} \ No newline at end of file diff --git a/pyblackbird_cc/templates/payments/success.html b/pyblackbird_cc/templates/payments/success.html deleted file mode 100644 index c1fb089..0000000 --- a/pyblackbird_cc/templates/payments/success.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} - -{% load static %} - -{% block content %} -
-
-

Thanks for your order!

-

You have successfully transacted.

-
-{% endblock content %} \ No newline at end of file diff --git a/pyblackbird_cc/templates/resources/admin_bar.html b/pyblackbird_cc/templates/resources/admin_bar.html deleted file mode 100644 index ddb8e00..0000000 --- a/pyblackbird_cc/templates/resources/admin_bar.html +++ /dev/null @@ -1,21 +0,0 @@ - {# admin block #} - {% if request.user.is_authenticated and request.user.is_staff %} -
-
Admin bar
-

- Only you will see this bar - normal users will not see it. It allows us to - include buttons for adding new resources, etc. -

-
- Add a new resource -
- Logged in as - {{ request.user.email }} -
-
- {% csrf_token %} - -
-
-
- {% endif %} diff --git a/pyblackbird_cc/templates/resources/create_featured_resource.html b/pyblackbird_cc/templates/resources/create_featured_resource.html deleted file mode 100644 index 19022fc..0000000 --- a/pyblackbird_cc/templates/resources/create_featured_resource.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "base.html" %} - -{% load static %} - -{% block title %} - Add featured resource -{% endblock title %} -{% block content %} - {% if messages %} -
    - {% for message in messages %} -
  • {{ message }}
  • - {% endfor %} -
- {% endif %} - {% if request.user.is_authenticated and request.user.is_staff %} -
-
-

Configure featured resources

-

You can select three resources to be "featured" on the main page

-
-
- {% else %} -

You must be a super-user to access this page.

- {% endif %} -{% endblock content %} diff --git a/pyblackbird_cc/templates/resources/hx_download_button.html b/pyblackbird_cc/templates/resources/hx_download_button.html deleted file mode 100644 index 1c956a5..0000000 --- a/pyblackbird_cc/templates/resources/hx_download_button.html +++ /dev/null @@ -1,3 +0,0 @@ -

- Download the resource -

diff --git a/pyblackbird_cc/templates/resources/resource_card_featured.html b/pyblackbird_cc/templates/resources/resource_card_featured.html deleted file mode 100644 index 8a92729..0000000 --- a/pyblackbird_cc/templates/resources/resource_card_featured.html +++ /dev/null @@ -1,49 +0,0 @@ -{% load static %} -{% load markdown_extras %} - -
- {{ resource.thumbnail_filename }} -
- -
- {{ resource.age_range }} - {% if resource.main_resource_category_name == "English as a Foreign Language (EFL)" %} - EFL - {% else %} - {{ resource.main_resource_category_name }} - {% endif %} - {% if request.user.is_authenticated and request.user.is_staff %} - Feature slot: {{ resource.feature_slot }} - {% endif %} -
- {% if resource.card_description %} -
-

{{ resource.card_description | markdown | safe }}

-
- {% else %} -

{{ resource.description | markdown | safe }}

- {% endif %} -
-

1 credit

- -
-
- - {% if request.user.is_authenticated and request.user.is_staff %} - - {% endif %} -
diff --git a/pyblackbird_cc/templates/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html deleted file mode 100644 index f8a557b..0000000 --- a/pyblackbird_cc/templates/resources/resource_card_standard.html +++ /dev/null @@ -1,56 +0,0 @@ -{% load static %} -{% load markdown_extras %} - - - -
-
-
- {{ resource.thumbnail_filename }} -
-
-
- -
- {{ resource.age_range }} - {% if resource.main_resource_category_name == "English as a Foreign Language (EFL)" %} - EFL - {% else %} - {{ resource.main_resource_category_name }} - {% endif %} - {% if request.user.is_authenticated and request.user.is_staff %} - Feature slot: {{ resource.feature_slot }} - {% endif %} -
-
-

{{ resource.card_description }}

-
-
-

1 credit

- -
-
-
- {% if request.user.is_authenticated and request.user.is_staff %} - - {% endif %} -
- -
diff --git a/pyblackbird_cc/templates/resources/resource_create.html b/pyblackbird_cc/templates/resources/resource_create.html deleted file mode 100644 index d428e46..0000000 --- a/pyblackbird_cc/templates/resources/resource_create.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "base.html" %} - -{% load static %} -{% load crispy_forms_tags %} - -{# {% block extra_css %}#} -{# #} -{# {% endblock %}#} -{% block content %} -
-
-

Upload a new resource

-

{% lorem %}

-
- {% csrf_token %} - {% crispy form form.helper %} -
-
-
-{% endblock content %} 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 %} - -
-
- {% for tn_url, tn_filename in resource.thumbnails %} -
- {{ tn_filename }} -
- {% endfor %} -
-
-
-
-

{{ resource.name }}

-
-
-
-
-

{{ resource.main_resource_category }}

-
-
-

{{ resource.age_range }}

-
-
- -
- {% if resource.pdf_filenames|length > 1 %} -

Contains {{ resource.pdf_filenames|length }} PDF files.

- {% else %} -

Contains {{ resource.pdf_filenames|length }} PDF file.

- {% endif %} -
-
-

£1.50 (or 1 credit)

-
- -
- -
-
-

Product summary

-

{{resource.card_description}}

-
-
-
-
-
- -
-
-
-
-
- - - -
- {% for snapshot_filename, snapshot_urls in resource.snapshot_urls.items %} - {% for snapshot_url in snapshot_urls %} -
- {{ snapshot_name }} -
- {% endfor %} - {% endfor %} -
- - -
-
-

Product detail

- {{ resource.description | markdown | safe }} -
-
- -{% endblock content %} - diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html deleted file mode 100644 index fdd0394..0000000 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ /dev/null @@ -1,110 +0,0 @@ -{% extends "base.html" %} -{% load static %} -{% load markdown_extras %} -{% block title %} - Alphabet Learning - Resource List -{% endblock title %} -{% block content %} - -
- {% include "resources/admin_bar.html" %} -
- - {# featured resources #} - {% if featured_resources %} -
-
Featured resources
-
- -
- {% for featured_resource in featured_resources %} - {% if featured_resources|length == 1 %} -
- {% elif featured_resources|length == 2 %} -
- {% elif featured_resources|length == 3 %} -
- {% endif %} - {% include "resources/resource_card_featured.html" with resource=featured_resource %} -
- {% endfor %} -
- {% else %} -

There are no featured resources

- {% endif %} - - {# standard resources #} -
-
-
Standard resources
-
-
- - - - - -
- {% for resource in page_obj.object_list %} -
- {% include "resources/resource_card_standard.html" with resource=resource %} -
- {% endfor %} -
- - {# Pagination #} - {% if page_obj.has_other_pages %} -
-
- -
-
- {% endif %} -{% endblock content %} diff --git a/pyblackbird_cc/templates/resources/resource_metadata_update.html b/pyblackbird_cc/templates/resources/resource_metadata_update.html deleted file mode 100644 index 2c6daa1..0000000 --- a/pyblackbird_cc/templates/resources/resource_metadata_update.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "base.html" %} - -{% load static %} -{% load crispy_forms_tags %} - -{% block title %} - Joanna Lemon Learning - Update Resource -{% endblock title %} -{# {% block extra_css %}#} -{# #} -{# {% endblock %}#} -{% block content %} -
-
-

Update this resource

-

{% lorem %}

-
- {% csrf_token %} - {% crispy form form.helper %} - {# now for the submit button #} -
-
-
-{% endblock content %} diff --git a/pyblackbird_cc/templates/resources/update_pdfs.html b/pyblackbird_cc/templates/resources/update_pdfs.html deleted file mode 100644 index b490b4f..0000000 --- a/pyblackbird_cc/templates/resources/update_pdfs.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "base.html" %} -{% load static %} -{% load crispy_forms_tags %} - -{% block content %} -
-
-

Update PDFs for {{ resource.name }} resource

- -

The current PDFs for this resource are:

- -
    - {% for pdf in resource.get_pdf_file_names %} -
  • {{ pdf }}
  • - {% endfor %} -
- -
- {% csrf_token %} - {% crispy form form.helper %} -
-
-
- - -{% endblock %} diff --git a/pyblackbird_cc/templates/resources/update_thumbnails.html b/pyblackbird_cc/templates/resources/update_thumbnails.html deleted file mode 100644 index e473a00..0000000 --- a/pyblackbird_cc/templates/resources/update_thumbnails.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "base.html" %} -{% load static %} -{% load crispy_forms_tags %} - -{% block content %} -
-
-

Update feature images for {{ resource.name }} resource

- -

The current thumbnails for this resource are:

- -
    - {% for t in resource.thumbnail_filenames %} -
  • {{ t }}
  • - {% endfor %} -
- -
- {% csrf_token %} - {% crispy form form.helper %} -
- - -
-
- - -{% endblock %} diff --git a/pyblackbird_cc/templates/users/user_detail.html b/pyblackbird_cc/templates/users/user_detail.html deleted file mode 100644 index 7d52259..0000000 --- a/pyblackbird_cc/templates/users/user_detail.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "base.html" %} - -{% load static %} - -{% block title %} - User: - {{ object.name }} -{% endblock title %} -{% block content %} -
-
-
-

{{ object.name }}

-
-
- {% if object == request.user %} - -
-
- My Info - E-Mail - MFA - -
-
- - {% endif %} -
-{% endblock content %} diff --git a/pyblackbird_cc/templates/users/user_form.html b/pyblackbird_cc/templates/users/user_form.html deleted file mode 100644 index a53b304..0000000 --- a/pyblackbird_cc/templates/users/user_form.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "base.html" %} - -{% load crispy_forms_tags %} - -{% block title %} - {{ user.name }} -{% endblock title %} -{% block content %} -

{{ user.name }}

-
- {% csrf_token %} - {{ form|crispy }} -
-
- -
-
-
-{% endblock content %} -- cgit v1.2.3