New Passwordprotection
This commit is contained in:
@@ -18,26 +18,49 @@ html(lang='de')
|
||||
p(style="text-align: right;")
|
||||
a(href="http://www.halieus.de/impressum_datenschutz.html" target="_blank") Impressum & Datenschutzerklärung
|
||||
|
||||
p
|
||||
| Auf diesen Seiten finden Sie interessante Informationen zu biblischen Themen.
|
||||
|
||||
|
||||
//- img(src="/captcha", alt="CAPTCHA", style="margin-top: 5px; margin-bottom: 5px;")
|
||||
|
||||
|
||||
.row
|
||||
.col-sm-1
|
||||
button.btn.btn-success.btn-sm(onclick="run_login();")
|
||||
span Weiter ...
|
||||
.row
|
||||
.col-sm-12.small(style="margin-top: 15px;")
|
||||
span
|
||||
| Mit dem Klicken auf <q>Weiter ...</q> wird ein Session-Cookie erzeugt und im Browser bespeichert.
|
||||
br
|
||||
| Außer diesem werden keine weiteren Cookies angelegt, es findet kein Tracking statt und die Seiten sind werbefrei.
|
||||
|
||||
|
||||
|
||||
|
||||
form(method="post", action="/login", role="form", style="margin-top: 15px;", id="login_form")
|
||||
.form-group(style="display: none;")
|
||||
|
||||
.form-group(style="margin-bottom: 25px;")
|
||||
.col-sm-12
|
||||
| Auf diesen Seiten finden Sie interessante Informationen zu biblischen Themen.
|
||||
br
|
||||
| Der Zugriff ist beschränkt auf zugelassene Benutzer.
|
||||
.form-group
|
||||
label.col-sm-1.control-label(for="benutzername")
|
||||
b Benutzername
|
||||
.col-sm-5
|
||||
input.form-control#benutzername(type="text", name="username")
|
||||
.form-group
|
||||
label.col-sm-1.control-label(for="passwort")
|
||||
b Paßwort
|
||||
.col-sm-5
|
||||
input.form-control#passwort(type="password", name="password")
|
||||
|
||||
|
||||
.from-group(style="margin-top: 25px; margin-bottom: 25px;")
|
||||
.col-sm-12
|
||||
| Mit dem Klicken auf <q>Weiter ...</q> wird ein Session-Cookie erzeugt und im Browser bespeichert.
|
||||
br
|
||||
| Außer diesem werden keine weiteren Cookies angelegt, es findet kein Tracking statt und die Seiten sind werbefrei.
|
||||
br
|
||||
| Zum Speichern und Abfragen der Einstellung zum Präsentationsmodus wird der Session-Store genutzt.
|
||||
|
||||
.from-group
|
||||
.col-sm-1
|
||||
button.btn.btn-success.btn-sm
|
||||
//- (onclick="run_login();")
|
||||
span Weiter ...
|
||||
|
||||
//- .form-group(style="display: none;")
|
||||
label.col-sm-1.control-label(for="ID1")
|
||||
b Captcha
|
||||
.col-sm-5
|
||||
@@ -46,7 +69,7 @@ html(lang='de')
|
||||
//- .col-sm-1
|
||||
//- button.btn.btn-success.btn-sm(type="submit")
|
||||
//- span OK
|
||||
.form-check(style="margin-top: 50px;")
|
||||
//- .form-check(style="margin-top: 50px;")
|
||||
.col-sm-5
|
||||
label.form-check-label
|
||||
input.form-check-input(type="checkbox", name="as_presentation")
|
||||
@@ -65,13 +88,15 @@ html(lang='de')
|
||||
span Force Refresh on Back Key Logic
|
||||
|
||||
script.
|
||||
$(function () {
|
||||
if ($('#refreshCheck')[0].checked)
|
||||
/*$(function () {
|
||||
if ($('#refreshCheck')[0].checked) {
|
||||
window.location.reload();
|
||||
}
|
||||
$('#refreshCheck')[0].checked = true;
|
||||
});
|
||||
});*/
|
||||
|
||||
/*
|
||||
function run_login() {
|
||||
$("#captcha").val("!{captcha}");
|
||||
$("#login_form").submit();
|
||||
}
|
||||
}*/
|
||||
|
||||
Reference in New Issue
Block a user