49 lines
1.1 KiB
HTML
49 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
||
{% load i18n %}
|
||
{% load misc %}
|
||
|
||
{% block extra_head %}
|
||
{% if redirect_delay >= 0 and next_url %}
|
||
<meta http-equiv="refresh" content="{{ redirect_delay }};URL={{ next_url }}">
|
||
{% endif %}
|
||
{% endblock %}
|
||
|
||
{% block home-navbar %}<h1>Connexion</h1>{% endblock %}
|
||
|
||
{% block content %}
|
||
|
||
<nav>
|
||
|
||
<p>
|
||
Bienvenue{% if display_name %}, {{ display_name }}{% endif %}.
|
||
</p>
|
||
|
||
</p>
|
||
{% if next_url %}
|
||
<p>
|
||
{% if redirect_delay > 0 %}
|
||
Redirection vers <a data-ajax="false" href="{{ next_url }}" target="_blank">{{ next_url_host }}</a> dans {{ redirect_delay }}s.
|
||
{% else %}
|
||
Vous aviez demandé à aller sur <a href="{{ next_url }}" target="_blank">{{ next_url_host }}</a>.
|
||
{% endif %}
|
||
</p>
|
||
{% endif %}
|
||
|
||
<h2>Informations de connexion</h2>
|
||
<ul>
|
||
<li>Connexion établie le {{ pfsense_session.datetime_local|date:"l j F Y \à G\hi" }}</li>
|
||
<li>Adresse IP : {{ pfsense_session.ip }}</li>
|
||
<li>Adresse MAC : {{ pfsense_session.mac }}</li>
|
||
</ul>
|
||
|
||
<p>
|
||
<a data-role="button" data-icon="delete" data-inline="true" data-ajax="false" href="/logout">Déconnexion</a>
|
||
</p>
|
||
|
||
{% block univinfo %}
|
||
{% endblock %}
|
||
|
||
</nav>
|
||
|
||
{% endblock %}
|