32 lines
1018 B
HTML
32 lines
1018 B
HTML
<!doctype html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>{{ title or "IHM Playbooks" }}</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='app.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<h1>🧰 IHM Playbooks</h1>
|
|
<div class="nav">
|
|
<a href="{{ url_for('user_home') }}">Utilisateurs</a>
|
|
<a href="{{ url_for('admin_home') }}">Administration</a>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for cat,msg in messages %}
|
|
<div class="card" style="border-left:6px solid {% if cat=='error' %}#F87171{% elif cat=='ok' %}#6EE7B7{% else %}#60A5FA{% endif %};">
|
|
{{ msg }}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
{% block content %}{% endblock %}
|
|
<div class="footer small">POC — Ephaitek • Flask</div>
|
|
</div>
|
|
</body>
|
|
</html>
|