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.
univnautes-old/virtualenv/pffedportal/templates/mobile/index0.html

49 lines
1.1 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% 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 %}