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-idp/base/templates/base.html

58 lines
1.7 KiB
HTML

{% load i18n %}
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="{{ STATIC_URL }}authentic2/css/style.css" />
<link rel="stylesheet" href="{{ STATIC_URL }}jquery/css/jquery-ui.custom.css" />
<link rel="stylesheet" href="{{ STATIC_URL }}ulx/css/ulx.css" />
<title>{% block title %}User test{% endblock %}</title>
{{ openid_meta }}
{% block extra_scripts %}
{% endblock %}
</head>
<body {% block bodyargs %}{% endblock %} >
<div id="wrap">
<a href="/"><div id="header">
{% block header %}
<span>Tenant {{request.tenant.schema_name}}</span>
<h1>{{request.tenant.name|default:request.tenant.schema_name}}</h1>
{% endblock %}
</div></a>
<div id="splash"></div>
<div id="content">
{% if request.user.is_authenticated %}
<div id="user">
<p>
Connect&eacute; en tant que {{ request.user.get_full_name|default:request.user }}
&mdash;
<a id="logout" href="{% url 'auth_logout' %}">{% trans "Logout" %}</a>
</p>
</div>
{% endif %}
{% block messages %}
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block content %}{% endblock %}
</div>
<div id="footer">
{% block footer %}
Copyright &copy; 2014 Entr'ouvert
&mdash;
Powered by <strong>Authentic 2</strong> the Versatile Identity Management Server
{% endblock %}
</div>
</div>
</body>
</html>