aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/allauth/layouts/entrance.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-05-13 17:26:25 +0100
committerMatthew Lemon <y@yulqen.org>2024-05-13 17:26:25 +0100
commitefbbd480ddc62e695123d31c31d233b0df5155bd (patch)
treebc2fb465edd5050d83c97f280b1aac8e023fe3e5 /pyblackbird_cc/templates/allauth/layouts/entrance.html
After first pre-commit processing
Diffstat (limited to 'pyblackbird_cc/templates/allauth/layouts/entrance.html')
-rw-r--r--pyblackbird_cc/templates/allauth/layouts/entrance.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/pyblackbird_cc/templates/allauth/layouts/entrance.html b/pyblackbird_cc/templates/allauth/layouts/entrance.html
new file mode 100644
index 0000000..4d585cf
--- /dev/null
+++ b/pyblackbird_cc/templates/allauth/layouts/entrance.html
@@ -0,0 +1,34 @@
+{% extends "base.html" %}
+
+{% 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 %}
+ <div class="d-flex justify-content-center h-100 py-4">
+ <div class="col-md-4 py-4 my-4 px-4">
+ {% if messages %}
+ {% for message in messages %}
+ <div class="alert alert-dismissible {% if message.tags %}alert-{{ message.tags }}{% endif %}">
+ {{ message }}
+ <button type="button"
+ class="btn-close"
+ data-bs-dismiss="alert"
+ aria-label="Close"></button>
+ </div>
+ {% endfor %}
+ {% endif %}
+ {% block content %}
+ {% endblock content %}
+ </div>
+ </div>
+{% endblock body %}