- Détection de version via l'API Gitea, application via Watchtower - Router système, UI admin (intégrations), bandeau de mise à jour - Dockerfile multi-étapes, docker-compose, scripts/release.sh - Version centralisée dans app/version.py (pyproject ou OHM_VERSION au build)
39 lines
1.8 KiB
HTML
39 lines
1.8 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 %}Ohm Stream{% endblock %}</title>
|
|
<link rel="stylesheet" href="/static/css/style.css">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
|
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
|
|
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.1/dist/cdn.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<header class="topbar" x-data="{ username: '' }" x-init="fetch('/auth/me').then(r => r.json()).then(u => username = u.username).catch(() => {})">
|
|
<a class="logo" href="/">OHM<span>STREAM</span></a>
|
|
<nav class="topnav">
|
|
<a class="{{ 'active' if active == 'discover' }}" href="/discover">Découvrir</a>
|
|
<a class="{{ 'active' if active == 'search' }}" href="/">Recherche</a>
|
|
<a class="{{ 'active' if active == 'downloads' }}" href="/downloads">Téléchargements</a>
|
|
<a class="{{ 'active' if active == 'library' }}" href="/library">Bibliothèque</a>
|
|
<a class="{{ 'active' if active == 'favorites' }}" href="/favorites">Favoris</a>
|
|
<a class="{{ 'active' if active == 'admin' }}" href="/admin">Admin</a>
|
|
</nav>
|
|
<div class="topbar-right">
|
|
<div class="avatar" x-text="username ? username[0] : '·'" :title="username"></div>
|
|
<form method="post" action="/auth/logout" style="display:inline">
|
|
<button class="icon-btn" type="submit" title="Déconnexion">⏻</button>
|
|
</form>
|
|
</div>
|
|
</header>
|
|
<main class="main">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
<script src="/static/js/app.js"></script>
|
|
<script src="/static/js/update-watcher.js"></script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|