37 lines
1.4 KiB
Django/Jinja
37 lines
1.4 KiB
Django/Jinja
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
{% if title is defined %}
|
|
<title>{{ title }} - Mot de passe IUTF</title>
|
|
{% else %}
|
|
<title>Mot de passe IUTF</title>
|
|
{% endif %}
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
{% if config['DEBUG'] %}
|
|
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
|
|
{% else %}
|
|
<link href="{{ url_for('static', filename='style.css') }}" rel="stylesheet">
|
|
{% endif %}
|
|
</head>
|
|
<body>
|
|
<div class="max-w-2xl mx-auto">
|
|
<header class="flex w-full justify-center items-center">
|
|
<a class="w-1/2" href="{{ url_for('mdp.home') }}">
|
|
<img src="https://public-assets.s3.iut-fbleau.fr/img/logo/upec-iutsf.png" alt="UPEC - IUT Sénart-Fontainebleau">
|
|
</a>
|
|
<div class="w-full text-center font-bold">
|
|
<h1 class="text-3xl"><a href="{{ url_for('mdp.home') }}">Mot de passe</a></h1>
|
|
{% if title is defined %}
|
|
<h2 class="text-xl">{{ title }}</h2>
|
|
{% endif %}</div>
|
|
</header>
|
|
<main class="p-5">
|
|
{% for message in get_flashed_messages() %}
|
|
<div class="border rounded p-2 bg-yellow-100 my-5">{{ message }}</div>
|
|
{% endfor %}
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html> |