From f641b1a0e39a3aedcd71bf7050936e9d84a05a4b Mon Sep 17 00:00:00 2001 From: downhill Date: Sat, 10 Nov 2018 14:54:35 +0100 Subject: [PATCH] some basic design --- dal/dal/templates/base.html | 2 +- dal/dal/templates/base_short.html | 118 ++++++++++++++++++ dal/dal/templates/hosting_login.html | 43 +++++++ dal/dal/templates/includes/_footer.html | 13 +- .../includes/_navbar_transparent.html | 10 +- dal/dal/templates/landing.html | 17 ++- 6 files changed, 194 insertions(+), 9 deletions(-) create mode 100644 dal/dal/templates/base_short.html create mode 100644 dal/dal/templates/hosting_login.html 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 %} + +