logion pw reset umgebaut
This commit is contained in:
parent
ca2b6780de
commit
f7652e99dd
Binary file not shown.
|
|
@ -210,7 +210,9 @@ DEFAULT_CHARSET = 'utf-8'
|
||||||
LOGIN_REDIRECT_URL = 'users-dashboard'
|
LOGIN_REDIRECT_URL = 'users-dashboard'
|
||||||
|
|
||||||
# LOGIN PAGE FOR LOGIN-REDIRECT
|
# 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/'
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,56 +1,8 @@
|
||||||
{% extends "users/publicbase.html" %}
|
{% load static %}
|
||||||
<!-- CRISPY -->
|
<script src="{%static 'users/js/jquery.js' %}" type="text/javascript"></script>
|
||||||
{% load crispy_forms_tags %}
|
<script>
|
||||||
{% block content %}
|
$(document).ready(function(){
|
||||||
<style type="text/css">
|
window.location.replace("http://localhost:8080/external/1");
|
||||||
#logincard {
|
|
||||||
width: 25%;
|
|
||||||
margin-top: 7%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<div class="card mx-auto" id="logincard">
|
|
||||||
<div class="card-body">
|
|
||||||
<form method="POST">
|
|
||||||
{% csrf_token %}
|
|
||||||
<fieldset class="form-group" >
|
|
||||||
<legend class="border-bottom mb-4" style="text-align: center;">
|
|
||||||
<i class="fas fa-laptop"></i>
|
|
||||||
<h3>Digitale Agentur Login</h3>
|
|
||||||
</legend>
|
|
||||||
{% if messages %}
|
|
||||||
{% for message in messages %}
|
|
||||||
<div class="alert alert-{{ message.tags }} alert-dismissible fade show" role="alert" id="message_{{forloop.counter}}">
|
|
||||||
{{ message }}
|
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
|
||||||
<span aria-hidden="true">×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{{ form|crispy }}
|
|
||||||
</fieldset>
|
|
||||||
<div class="form-group">
|
|
||||||
<button type="submit" class="btn btn-primary">Anmelden</button>
|
|
||||||
|
|
||||||
<small class="text-muted ml-2">
|
|
||||||
<a href="{% url 'password-reset' %}" class="">Passwort vergessen?</a><br />
|
|
||||||
</small>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
<div class="border-top pt-3">
|
|
||||||
<small class="text-muted ml-2">
|
|
||||||
<a href="mailto:support@digitale-agentur.com" class="">Probleme beim anmelden?</a>
|
|
||||||
</small>
|
|
||||||
<small class="text-muted">
|
|
||||||
<a class="ml-2" href="{% url 'register' %}">Agentur registrieren</a>
|
|
||||||
</small>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
$("label[for*='username']").html("E-Mail-Adresse*");
|
|
||||||
$(document).ready(function(){
|
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
{% endblock content %}
|
|
||||||
|
|
@ -0,0 +1,56 @@
|
||||||
|
{% extends "users/publicbase.html" %}
|
||||||
|
<!-- CRISPY -->
|
||||||
|
{% load crispy_forms_tags %}
|
||||||
|
{% block content %}
|
||||||
|
<style type="text/css">
|
||||||
|
#logincard {
|
||||||
|
width: 25%;
|
||||||
|
margin-top: 7%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="card mx-auto" id="logincard">
|
||||||
|
<div class="card-body">
|
||||||
|
<form method="POST">
|
||||||
|
{% csrf_token %}
|
||||||
|
<fieldset class="form-group" >
|
||||||
|
<legend class="border-bottom mb-4" style="text-align: center;">
|
||||||
|
<i class="fas fa-laptop"></i>
|
||||||
|
<h3>Digitale Agentur Login</h3>
|
||||||
|
</legend>
|
||||||
|
{% if messages %}
|
||||||
|
{% for message in messages %}
|
||||||
|
<div class="alert alert-{{ message.tags }} alert-dismissible fade show" role="alert" id="message_{{forloop.counter}}">
|
||||||
|
{{ message }}
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{{ form|crispy }}
|
||||||
|
</fieldset>
|
||||||
|
<div class="form-group">
|
||||||
|
<button type="submit" class="btn btn-primary">Anmelden</button>
|
||||||
|
|
||||||
|
<small class="text-muted ml-2">
|
||||||
|
<a href="{% url 'password-reset' %}" class="">Passwort vergessen?</a><br />
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<div class="border-top pt-3">
|
||||||
|
<small class="text-muted ml-2">
|
||||||
|
<a href="mailto:support@digitale-agentur.com" class="">Probleme beim anmelden?</a>
|
||||||
|
</small>
|
||||||
|
<small class="text-muted">
|
||||||
|
<a class="ml-2" href="{% url 'register' %}">Agentur registrieren</a>
|
||||||
|
</small>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$("label[for*='username']").html("E-Mail-Adresse*");
|
||||||
|
$(document).ready(function(){
|
||||||
|
localStorage.clear();
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
{% endblock content %}
|
||||||
|
|
@ -1,25 +1,8 @@
|
||||||
{% extends "users/publicbase.html" %}
|
{% load static %}
|
||||||
{% load crispy_forms_tags %}
|
<script src="{%static 'users/js/jquery.js' %}" type="text/javascript"></script>
|
||||||
{% block content %}
|
<script>
|
||||||
<style type="text/css">
|
$(document).ready(function(){
|
||||||
#logincard {
|
window.location.replace("http://localhost:8080/external/1");
|
||||||
width: 35%;
|
localStorage.clear();
|
||||||
margin-top: 4%;
|
})
|
||||||
}
|
</script>
|
||||||
</style>
|
|
||||||
<div class="card mx-auto" id="logincard">
|
|
||||||
<div class="card-body">
|
|
||||||
<legend class="border-bottom mb-4" style="text-align: center;">
|
|
||||||
<i class="fas fa-laptop"></i>
|
|
||||||
<h3>Passwort anfordern</h3>
|
|
||||||
</legend>
|
|
||||||
<p>Bitte geben Sie ihre E-Mailadresse ein, mit der Sie sich bei der Digitalen Agentur registriert haben.</p>
|
|
||||||
<form method="POST">
|
|
||||||
{% csrf_token %}
|
|
||||||
{{ form|crispy }}
|
|
||||||
<hr>
|
|
||||||
<button type="submit" class="btn btn-primary">Passwort anfordern</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock content %}
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
{% extends "users/publicbase.html" %}
|
||||||
|
{% load crispy_forms_tags %}
|
||||||
|
{% block content %}
|
||||||
|
<style type="text/css">
|
||||||
|
#logincard {
|
||||||
|
width: 35%;
|
||||||
|
margin-top: 4%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="card mx-auto" id="logincard">
|
||||||
|
<div class="card-body">
|
||||||
|
<legend class="border-bottom mb-4" style="text-align: center;">
|
||||||
|
<i class="fas fa-laptop"></i>
|
||||||
|
<h3>Passwort anfordern</h3>
|
||||||
|
</legend>
|
||||||
|
<p>Bitte geben Sie ihre E-Mailadresse ein, mit der Sie sich bei der Digitalen Agentur registriert haben.</p>
|
||||||
|
<form method="POST">
|
||||||
|
{% csrf_token %}
|
||||||
|
{{ form|crispy }}
|
||||||
|
<hr>
|
||||||
|
<button type="submit" class="btn btn-primary">Passwort anfordern</button>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
||||||
|
|
@ -1,67 +1,8 @@
|
||||||
<!-- Base-Template einbinden -->
|
{% load static %}
|
||||||
{% extends "users/publicbase.html" %}
|
<script src="{%static 'users/js/jquery.js' %}" type="text/javascript"></script>
|
||||||
<!-- CRISPY -->
|
<script>
|
||||||
{% load crispy_forms_tags %}
|
$(document).ready(function(){
|
||||||
<!-- BLOCK NAME START -->
|
window.location.replace("http://localhost:8080/external/1");
|
||||||
{% block content %}
|
localStorage.clear();
|
||||||
<div class="card mx-auto" id="logincard">
|
})
|
||||||
<div class="card-body">
|
</script>
|
||||||
{% if messages %}
|
|
||||||
{% for message in messages %}
|
|
||||||
<div class="alert alert-{{ message.tags }} alert-dismissible fade show " role="alert" id="message_{{forloop.counter}}">
|
|
||||||
{{ message }}
|
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close" onclick='javascript:$("#message_{{forloop.counter}}").fadeOut()'>
|
|
||||||
<span aria-hidden="true">×</span>
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
<form method="POST">
|
|
||||||
{% csrf_token %}
|
|
||||||
<fieldset class="form-group" >
|
|
||||||
<legend class="border-bottom mb-4" style="text-align: center;">
|
|
||||||
<i class="fas fa-laptop"></i>
|
|
||||||
<h3>Registrieren Sie Ihre Agentur</h3>
|
|
||||||
</legend>
|
|
||||||
{% for field in form %}
|
|
||||||
{% if field.name != 'captcha' %}
|
|
||||||
{{field.field_name}}
|
|
||||||
{% if field.name == 'agb' %}
|
|
||||||
{{field}} <a style="" href="https://digitale-agentur.com/agb" target="_blank">AGB's*</a><br />
|
|
||||||
{% elif field.name == 'av' %}
|
|
||||||
{{field}} <a style="" href="https://digitale-agentur.com/agb" target="_blank">AV-Vertrag*</a>
|
|
||||||
{% else %}
|
|
||||||
{{field|as_crispy_field}}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
<!--form.captcha|as_crispy_field-->
|
|
||||||
<!--<div class="form-check">
|
|
||||||
<input class="form-check-input" type="checkbox" value="" id="isvve" onclick="javascript:changeVVE()">
|
|
||||||
<label class="form-check-label" for="isvve">
|
|
||||||
VVE-Mitglied
|
|
||||||
</label>
|
|
||||||
</div>-->
|
|
||||||
</fieldset>
|
|
||||||
<div class="form-group">
|
|
||||||
<button type="submit" class="btn btn-primary btn-lg" style="float: right;">Registrieren</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
/*$(document).ready(function(){
|
|
||||||
$("#div_id_vve").hide();
|
|
||||||
});
|
|
||||||
|
|
||||||
function changeVVE(){
|
|
||||||
var checkBox = document.getElementById("isvve");
|
|
||||||
if (checkBox.checked == true)
|
|
||||||
{
|
|
||||||
$("#div_id_vve").show();
|
|
||||||
} else {
|
|
||||||
$("#div_id_vve").hide();
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
</script>
|
|
||||||
{% endblock content %}
|
|
||||||
|
|
@ -0,0 +1,67 @@
|
||||||
|
<!-- Base-Template einbinden -->
|
||||||
|
{% extends "users/publicbase.html" %}
|
||||||
|
<!-- CRISPY -->
|
||||||
|
{% load crispy_forms_tags %}
|
||||||
|
<!-- BLOCK NAME START -->
|
||||||
|
{% block content %}
|
||||||
|
<div class="card mx-auto" id="logincard">
|
||||||
|
<div class="card-body">
|
||||||
|
{% if messages %}
|
||||||
|
{% for message in messages %}
|
||||||
|
<div class="alert alert-{{ message.tags }} alert-dismissible fade show " role="alert" id="message_{{forloop.counter}}">
|
||||||
|
{{ message }}
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close" onclick='javascript:$("#message_{{forloop.counter}}").fadeOut()'>
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
<form method="POST">
|
||||||
|
{% csrf_token %}
|
||||||
|
<fieldset class="form-group" >
|
||||||
|
<legend class="border-bottom mb-4" style="text-align: center;">
|
||||||
|
<i class="fas fa-laptop"></i>
|
||||||
|
<h3>Registrieren Sie Ihre Agentur</h3>
|
||||||
|
</legend>
|
||||||
|
{% for field in form %}
|
||||||
|
{% if field.name != 'captcha' %}
|
||||||
|
{{field.field_name}}
|
||||||
|
{% if field.name == 'agb' %}
|
||||||
|
{{field}} <a style="" href="https://digitale-agentur.com/agb" target="_blank">AGB's*</a><br />
|
||||||
|
{% elif field.name == 'av' %}
|
||||||
|
{{field}} <a style="" href="https://digitale-agentur.com/agb" target="_blank">AV-Vertrag*</a>
|
||||||
|
{% else %}
|
||||||
|
{{field|as_crispy_field}}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
<!--form.captcha|as_crispy_field-->
|
||||||
|
<!--<div class="form-check">
|
||||||
|
<input class="form-check-input" type="checkbox" value="" id="isvve" onclick="javascript:changeVVE()">
|
||||||
|
<label class="form-check-label" for="isvve">
|
||||||
|
VVE-Mitglied
|
||||||
|
</label>
|
||||||
|
</div>-->
|
||||||
|
</fieldset>
|
||||||
|
<div class="form-group">
|
||||||
|
<button type="submit" class="btn btn-primary btn-lg" style="float: right;">Registrieren</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/*$(document).ready(function(){
|
||||||
|
$("#div_id_vve").hide();
|
||||||
|
});
|
||||||
|
|
||||||
|
function changeVVE(){
|
||||||
|
var checkBox = document.getElementById("isvve");
|
||||||
|
if (checkBox.checked == true)
|
||||||
|
{
|
||||||
|
$("#div_id_vve").show();
|
||||||
|
} else {
|
||||||
|
$("#div_id_vve").hide();
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
</script>
|
||||||
|
{% endblock content %}
|
||||||
|
|
@ -1,24 +1,8 @@
|
||||||
<!-- Base-Template einbinden -->
|
{% load static %}
|
||||||
{% extends "users/publicbase.html" %}
|
<script src="{%static 'users/js/jquery.js' %}" type="text/javascript"></script>
|
||||||
|
<script>
|
||||||
{% load crispy_forms_tags %}
|
$(document).ready(function(){
|
||||||
<!-- BLOCK NAME START -->
|
window.location.replace("http://localhost:8080/external/1");
|
||||||
{% block content %}
|
localStorage.clear();
|
||||||
|
})
|
||||||
<style type="text/css">
|
</script>
|
||||||
#logincard {
|
|
||||||
width: 35%;
|
|
||||||
margin-top: 4%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<div class="card mx-auto" id="logincard">
|
|
||||||
<div class="card-body">
|
|
||||||
<legend class="border-bottom mb-4" style="text-align: center;">
|
|
||||||
<i class="fas fa-laptop"></i>
|
|
||||||
<h3>Registrierung abgeschlossen</h3>
|
|
||||||
</legend>
|
|
||||||
<p>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.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock content %}
|
|
||||||
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!-- Base-Template einbinden -->
|
||||||
|
{% extends "users/publicbase.html" %}
|
||||||
|
|
||||||
|
{% load crispy_forms_tags %}
|
||||||
|
<!-- BLOCK NAME START -->
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
#logincard {
|
||||||
|
width: 35%;
|
||||||
|
margin-top: 4%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<div class="card mx-auto" id="logincard">
|
||||||
|
<div class="card-body">
|
||||||
|
<legend class="border-bottom mb-4" style="text-align: center;">
|
||||||
|
<i class="fas fa-laptop"></i>
|
||||||
|
<h3>Registrierung abgeschlossen</h3>
|
||||||
|
</legend>
|
||||||
|
<p>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.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
||||||
Loading…
Reference in New Issue