From f7652e99dd53d4fcb7857b3deea9e1ab00da08e0 Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Thu, 29 Jul 2021 15:36:48 +0200 Subject: [PATCH] logion pw reset umgebaut --- .../__pycache__/settings.cpython-38.pyc | Bin 4512 -> 4520 bytes digitaleagentur/settings.py | 4 +- users/templates/users/login.html | 60 ++------------ users/templates/users/login_SAVE.html | 56 +++++++++++++ users/templates/users/password_reset.html | 33 ++------ .../templates/users/password_reset.html_SAVE | 25 ++++++ users/templates/users/register.html | 75 ++---------------- users/templates/users/register.html_SAVE | 67 ++++++++++++++++ users/templates/users/registercomplete.html | 32 ++------ .../users/registercomplete.html_SAVE | 24 ++++++ 10 files changed, 205 insertions(+), 171 deletions(-) create mode 100644 users/templates/users/login_SAVE.html create mode 100644 users/templates/users/password_reset.html_SAVE create mode 100644 users/templates/users/register.html_SAVE create mode 100644 users/templates/users/registercomplete.html_SAVE diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index c78c15e9bc68aac8b69175be76968e0b75e1ae09..6d7f4aacd50dc400d792e6e02fc30dea401e46ba 100644 GIT binary patch delta 189 zcmZ3Wyh52bl$V!_0SI=_VoFTf$eYhtpQ;|EkrEoEnaY^Ox_}K#YNc{4WL(IY5+=?N zr41I*N!3mXU&s`tn-USF2NmH=i3E!1r$j{=fJ9S*q6|}_ql{8wQus0%ql{BxQ{qzM zQxfJd0eL1VOu-DAiHRnR3=CW@S&4b+`3l9UB_)}8n}0KIZl$V!_0SIbc84@Ko^5!$vr-VkSr-Vgmq%vl)E?@(bnyDNM85c69go`so zX@NzwQ?*he7BWTYq(nyPLPa=JqJScLDbZ2-AkmbdD1(%kD8rQ46uwNxD5I3Pl=zf{ zl*BnqK%Q|5Q!s;OQlbeX0|S>!R$^XyzCv+oNl9kj=HHClxY(mubMn(O^CoZP*~)0L UIh|LWX>%|C4@O4j$!&s40A7|gv;Y7A diff --git a/digitaleagentur/settings.py b/digitaleagentur/settings.py index 22ecf54..12f98a0 100644 --- a/digitaleagentur/settings.py +++ b/digitaleagentur/settings.py @@ -210,7 +210,9 @@ DEFAULT_CHARSET = 'utf-8' LOGIN_REDIRECT_URL = 'users-dashboard' # LOGIN PAGE FOR LOGIN-REDIRECT -LOGIN_URL = 'login' +#LOGIN_URL = 'login' +# NC Default Login findet im Dashboard statt! +LOGIN_URL = NEXTCLOUD_URL STATIC_URL = '/static/' diff --git a/users/templates/users/login.html b/users/templates/users/login.html index d4d0cfa..a28d167 100644 --- a/users/templates/users/login.html +++ b/users/templates/users/login.html @@ -1,56 +1,8 @@ -{% extends "users/publicbase.html" %} - -{% load crispy_forms_tags %} -{% block content %} - -
-
-
- {% csrf_token %} -
- - -

Digitale Agentur Login

-
- {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %} - {{ form|crispy }} -
-
- - - - Passwort vergessen?
-
-
-
- -
-
- + -{% endblock content %} \ No newline at end of file + \ No newline at end of file diff --git a/users/templates/users/login_SAVE.html b/users/templates/users/login_SAVE.html new file mode 100644 index 0000000..d4d0cfa --- /dev/null +++ b/users/templates/users/login_SAVE.html @@ -0,0 +1,56 @@ +{% extends "users/publicbase.html" %} + +{% load crispy_forms_tags %} +{% block content %} + +
+
+
+ {% csrf_token %} +
+ + +

Digitale Agentur Login

+
+ {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} + {{ form|crispy }} +
+
+ + + + Passwort vergessen?
+
+
+
+ +
+
+ +{% endblock content %} \ No newline at end of file diff --git a/users/templates/users/password_reset.html b/users/templates/users/password_reset.html index a3cfc37..a28d167 100644 --- a/users/templates/users/password_reset.html +++ b/users/templates/users/password_reset.html @@ -1,25 +1,8 @@ -{% extends "users/publicbase.html" %} -{% load crispy_forms_tags %} -{% block content %} - -
-
- - -

Passwort anfordern

-
-

Bitte geben Sie ihre E-Mailadresse ein, mit der Sie sich bei der Digitalen Agentur registriert haben.

-
- {% csrf_token %} - {{ form|crispy }} -
-   -
-
-
-{% endblock content %} \ No newline at end of file +{% load static %} + + \ No newline at end of file diff --git a/users/templates/users/password_reset.html_SAVE b/users/templates/users/password_reset.html_SAVE new file mode 100644 index 0000000..a3cfc37 --- /dev/null +++ b/users/templates/users/password_reset.html_SAVE @@ -0,0 +1,25 @@ +{% extends "users/publicbase.html" %} +{% load crispy_forms_tags %} +{% block content %} + +
+
+ + +

Passwort anfordern

+
+

Bitte geben Sie ihre E-Mailadresse ein, mit der Sie sich bei der Digitalen Agentur registriert haben.

+
+ {% csrf_token %} + {{ form|crispy }} +
+   +
+
+
+{% endblock content %} \ No newline at end of file diff --git a/users/templates/users/register.html b/users/templates/users/register.html index bdc5651..a28d167 100644 --- a/users/templates/users/register.html +++ b/users/templates/users/register.html @@ -1,67 +1,8 @@ - -{% extends "users/publicbase.html" %} - -{% load crispy_forms_tags %} - -{% block content %} -
-
- {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %} -
- {% csrf_token %} -
- - -

Registrieren Sie Ihre Agentur

-
- {% for field in form %} - {% if field.name != 'captcha' %} - {{field.field_name}} - {% if field.name == 'agb' %} - {{field}}  AGB's*
- {% elif field.name == 'av' %} - {{field}}  AV-Vertrag* - {% else %} - {{field|as_crispy_field}} - {% endif %} - {% endif %} - {% endfor %} - - -
-
- -
-
-
-
- -{% endblock content %} \ No newline at end of file +{% load static %} + + \ No newline at end of file diff --git a/users/templates/users/register.html_SAVE b/users/templates/users/register.html_SAVE new file mode 100644 index 0000000..bdc5651 --- /dev/null +++ b/users/templates/users/register.html_SAVE @@ -0,0 +1,67 @@ + +{% extends "users/publicbase.html" %} + +{% load crispy_forms_tags %} + +{% block content %} +
+
+ {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} +
+ {% csrf_token %} +
+ + +

Registrieren Sie Ihre Agentur

+
+ {% for field in form %} + {% if field.name != 'captcha' %} + {{field.field_name}} + {% if field.name == 'agb' %} + {{field}}  AGB's*
+ {% elif field.name == 'av' %} + {{field}}  AV-Vertrag* + {% else %} + {{field|as_crispy_field}} + {% endif %} + {% endif %} + {% endfor %} + + +
+
+ +
+
+
+
+ +{% endblock content %} \ No newline at end of file diff --git a/users/templates/users/registercomplete.html b/users/templates/users/registercomplete.html index d721e66..a28d167 100644 --- a/users/templates/users/registercomplete.html +++ b/users/templates/users/registercomplete.html @@ -1,24 +1,8 @@ - -{% extends "users/publicbase.html" %} - -{% load crispy_forms_tags %} - -{% block content %} - - -
-
- - -

Registrierung abgeschlossen

-
-

Ihre Agentur wurde erfolgreich angelegt! Bitte prüfen Sie Ihre E-Mails, um sich ein Passwort für Ihren Account zu erstellen. Anschließend können Sie sich in Ihrer Agentur anmelden. -

-
-
-{% endblock content %} \ No newline at end of file +{% load static %} + + \ No newline at end of file diff --git a/users/templates/users/registercomplete.html_SAVE b/users/templates/users/registercomplete.html_SAVE new file mode 100644 index 0000000..d721e66 --- /dev/null +++ b/users/templates/users/registercomplete.html_SAVE @@ -0,0 +1,24 @@ + +{% extends "users/publicbase.html" %} + +{% load crispy_forms_tags %} + +{% block content %} + + +
+
+ + +

Registrierung abgeschlossen

+
+

Ihre Agentur wurde erfolgreich angelegt! Bitte prüfen Sie Ihre E-Mails, um sich ein Passwort für Ihren Account zu erstellen. Anschließend können Sie sich in Ihrer Agentur anmelden. +

+
+
+{% endblock content %} \ No newline at end of file