Favicon par défaut (static/favicon.svg) ; tant que /api/timer renvoie une entrée en cours, il alterne chaque seconde entre un point rouge plein et pâle, sur toutes les pages. État relu au chargement, après chaque requête htmx, au retour sur l'onglet et toutes les 20 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
1.3 KiB
HTML
31 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>{% block title %}Tempus{% endblock %} · Tempus</title>
|
|
<link rel="icon" id="favicon" type="image/svg+xml" href="/static/favicon.svg">
|
|
<link rel="stylesheet" href="/static/flatpickr/flatpickr.min.css">
|
|
<link rel="stylesheet" href="/static/app.css?v={{ crate::routes::asset_version() }}">
|
|
<script src="/static/htmx.min.js" defer></script>
|
|
<script src="/static/flatpickr/flatpickr.min.js" defer></script>
|
|
<script src="/static/flatpickr/fr.min.js" defer></script>
|
|
<script src="/static/app.js?v={{ crate::routes::asset_version() }}" defer></script>
|
|
</head>
|
|
<body>
|
|
<header class="topbar">
|
|
<a class="brand" href="/">Tempus</a>
|
|
<nav>
|
|
<a href="/" {% if nav == "dashboard" %}aria-current="page"{% endif %}>Aujourd'hui</a>
|
|
<a href="/entries" {% if nav == "entries" %}aria-current="page"{% endif %}>Entrées</a>
|
|
<a href="/reports" {% if nav == "reports" %}aria-current="page"{% endif %}>Rapports</a>
|
|
<a href="/clients" {% if nav == "clients" %}aria-current="page"{% endif %}>Clients</a>
|
|
</nav>
|
|
</header>
|
|
<main>
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
<div id="toast" role="alert" hidden></div>
|
|
</body>
|
|
</html>
|