diff --git a/dal/dal/templates/base.html b/dal/dal/templates/base.html index a71ac4e..4c8a6ed 100644 --- a/dal/dal/templates/base.html +++ b/dal/dal/templates/base.html @@ -72,7 +72,7 @@ diff --git a/dal/dal/templates/base_short.html b/dal/dal/templates/base_short.html new file mode 100644 index 0000000..0dbe8bf --- /dev/null +++ b/dal/dal/templates/base_short.html @@ -0,0 +1,118 @@ +{% load staticfiles i18n %} + + + + + + + + + + + + + ungleich + + + + + + + + + + + + {% block css_extra %} + {% endblock css_extra %} + + + + + + + + + + + + + + + + + + + + + + {% block navbar %} + {% include "includes/_navbar_transparent.html" %} + {% endblock navbar %} + +
+ {% block content %} + {% endblock %} +
+ + + {% if request.user.is_authenticated %} + + {% else %} + + {% endif %} + + + + + + + + + + + + + + + + + + + {% block js_extra %} + {% comment %} + this block is above some files, because on stripe error scripts below the stripe + script are not properly executed. + {% endcomment %} + {% endblock js_extra %} + + + + + + + + + + + + + + + + + diff --git a/dal/dal/templates/hosting_login.html b/dal/dal/templates/hosting_login.html new file mode 100644 index 0000000..9545cdd --- /dev/null +++ b/dal/dal/templates/hosting_login.html @@ -0,0 +1,43 @@ +{% extends "hosting/base_short.html" %} +{% load i18n staticfiles bootstrap3%} + +{% block navbar %} + {% include 'hosting/includes/_navbar_transparent.html' %} +{% endblock navbar %} + +{% block content %} +
+
+
+
+
+

{% trans "Log in" %}

+ {% include 'hosting/includes/_messages.html' %} +
+ {% csrf_token %} + {% for field in form %} + {% bootstrap_field field show_label=False type='fields'%} + {% endfor %} +

{{form.non_field_errors|striptags}}

+
+ +
+ +
+ +
+
+
+
+{% endblock %} diff --git a/dal/dal/templates/includes/_footer.html b/dal/dal/templates/includes/_footer.html index a74e529..e61ed59 100644 --- a/dal/dal/templates/includes/_footer.html +++ b/dal/dal/templates/includes/_footer.html @@ -1,11 +1,22 @@ {% load i18n %} + +