This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
2015-07-24 18:09:22 +02:00
|
|
|
{% extends "authentic2/base-page.html" %}
|
2015-07-23 10:44:49 +02:00
|
|
|
{% load i18n %}
|
|
|
|
|
2015-11-06 21:32:27 +01:00
|
|
|
{% block extra-body-class %}narrow-page{% endblock %}
|
|
|
|
{% block bodyargs %}onload="window.iframe_count -= 1"{% endblock %}
|
2015-07-23 10:44:49 +02:00
|
|
|
|
|
|
|
{% comment %}Initialize iframe countdown {% endcomment %}
|
|
|
|
{% block extra_scripts %}
|
|
|
|
<script>
|
|
|
|
window.iframe_count = 1;
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2016-07-25 09:32:39 +02:00
|
|
|
<h2 class="single-title">Compte usager</h2>
|
2015-11-06 21:32:27 +01:00
|
|
|
<div id="welcome">
|
|
|
|
|
|
|
|
<h3>{% trans message %}</h3>
|
|
|
|
|
2015-07-23 10:44:49 +02:00
|
|
|
<ul class="logout-list">
|
|
|
|
{% for fragment in logout_list %}
|
|
|
|
{{ fragment|safe }}
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
<script>
|
|
|
|
window.iframe_count += document.getElementsByTagName("iframe").length;
|
|
|
|
var refresh_launched = 0;
|
|
|
|
setInterval(function () {
|
|
|
|
if (iframe_count == 0) {
|
|
|
|
if (refresh_launched == 0) {
|
|
|
|
refresh_launched = 1;
|
|
|
|
setTimeout(function () { window.location = '{{ next_url }}' }, 300);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, {{ redir_timeout }})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<div id="continue-link">
|
|
|
|
<a href="{{ next_url }}">{% trans "Continue logout" %}</a>
|
|
|
|
</div>
|
2015-11-06 21:32:27 +01:00
|
|
|
</div>
|
2015-07-23 10:44:49 +02:00
|
|
|
{% endblock %}
|