cas-eleves/cas_eleves/templates/cas_server/logged.html

43 lines
1.3 KiB
HTML

{% extends "cas_server/base.html" %}
{% load i18n %}
{% block content %}
<div class="login_msg">
<h2>{% trans "Logged in successfully" %}</h2>
<p>{% blocktrans %}
You have successfully logged into the Central Authentication Service.
{% endblocktrans %}</p>
<p>{% blocktrans %}
When you are done using ENS students' services, you can log out to prevent
anyone unauthorized from accessing your sessions on this computer.
{% endblocktrans %}</p>
</div>
<form method="get" action="logout">
<div class="formfield">
<div class="labelled_input checkbox_input">
<div class="label_line">
<label for="id_all">
{% trans "Log me out from all my sessions" %}
</label>
</div>
<input type="checkbox" id="id_all" name="all" value="1" />
</div>
</div>
{% if settings.CAS_FEDERATE and request.COOKIES.remember_provider %}
<div class="formfield">
<div class="labelled_input checkbox_input">
<div class="label_line">
<label for="id_forget_provider">
{% trans "Forget the identity provider" %}
</label>
</div>
<input type="checkbox" id="id_forget_provider" name="forget_provider" value="1" />
</div>
</div>
{% endif %}
<button type="submit">{% trans "Logout" %}</button>
</form>
{% endblock %}