40 lines
1.3 KiB
HTML
40 lines
1.3 KiB
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>
|
|
|
|
{% if DRY_RUN %}
|
|
<div style="position:sticky;top:0;z-index:1000;background:#fff3cd;color:#664d03;
|
|
border-bottom:1px solid #ffe69c;padding:.5rem 1rem;font-weight:600;">
|
|
⚠️ Environnement CANARY — <strong>DRY-RUN activé</strong> (ansible exécuté avec <code>--check --diff</code>)
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="header">
|
|
<h1>🧰 IHM Playbooks Ephaitek n1 a bordeaux !! !! </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>
|