LORDCHANNEL2.0/templates/registration/logged_out.html

36 lines
997 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="sign section--bg" data-bg="https://i.ibb.co/rp5sjD9/section.jpg">
<div class="container">
<div class="row">
<div class="col-12">
<div class="sign__content">
<div class="sign__form">
<p class="sign__text">Logout eseguito correttamente!</p>
<p class="sign__text">Verrai reindirizzato alla homepage tra <span id="redirect">5</span> secondi...</p>
</div>
</div>
</div>
</div>
</div>
{% endblock content %}
{% block javascript %}
<script>
// Total seconds to wait
var seconds = 5;
function countdown() {
seconds = seconds - 1;
if (seconds < 0) {
window.location = "/";
} else {
document.getElementById("redirect").innerHTML = seconds;
window.setTimeout("countdown()", 1000);
}
}
countdown();
</script>
{% endblock javascript %}