aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/templates')
-rw-r--r--pyblackbird_cc/templates/account/signup.html37
-rw-r--r--pyblackbird_cc/templates/resources/resource_card_standard.html3
2 files changed, 39 insertions, 1 deletions
diff --git a/pyblackbird_cc/templates/account/signup.html b/pyblackbird_cc/templates/account/signup.html
new file mode 100644
index 0000000..9dd81fd
--- /dev/null
+++ b/pyblackbird_cc/templates/account/signup.html
@@ -0,0 +1,37 @@
+ {% extends "account/base_entrance.html" %}
+ {% load allauth i18n %}
+ {% block head_title %}
+ {% trans "Signup" %}
+ {% endblock head_title %}
+ {% block content %}
+ {% element h1 %}
+ {% trans "Sign Up" %}
+ <p>There are lots of benefits to signing up!</p>
+ {% endelement %}
+ {% setvar link %}
+ <a href="{{ login_url }}">
+ {% endsetvar %}
+ {% setvar end_link %}
+ </a>
+ {% endsetvar %}
+ <p>{% blocktranslate %}Already have an account? Then please {{ link }}sign in{{ end_link }}.{% endblocktranslate %}</p>
+ {% 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/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html
index 68ea0dc..9d560eb 100644
--- a/pyblackbird_cc/templates/resources/resource_card_standard.html
+++ b/pyblackbird_cc/templates/resources/resource_card_standard.html
@@ -32,6 +32,7 @@
<span class="badge bg-info me-2">Feature slot: {{ resource.feature_slot }}</span>
{% endif %}
</div>
+ <p>{{ resource.card_description }}</p>
<p class="card-text m-1"><small class="text-muted">1 credit</small></p>
</div>
</div>
@@ -47,4 +48,4 @@
{% endif %}
</div>
-</div> \ No newline at end of file
+</div>