Mise à jour automatique (Gitea + Watchtower) et conteneurisation Docker
- 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)
This commit is contained in:
@@ -147,6 +147,7 @@ button { font-family: inherit; }
|
||||
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
|
||||
.btn-danger { background: #3d1114; color: var(--danger); border: 1px solid #5c1a1e; }
|
||||
.btn-danger:hover { background: #4d1518; filter: none; }
|
||||
.btn-accent { background: var(--accent); color: #fff; border: none; font-weight: 600; }
|
||||
|
||||
/* ------------------------------------------------------------ grille de posters */
|
||||
|
||||
@@ -652,3 +653,26 @@ button { font-family: inherit; }
|
||||
.search-bar { flex-direction: column; }
|
||||
.search-bar .btn { justify-content: center; }
|
||||
}
|
||||
|
||||
/* ---------------------------------------------- bandeau mise à jour (update-watcher.js) */
|
||||
.update-banner {
|
||||
position: fixed;
|
||||
inset: auto 0 1.2rem 0;
|
||||
margin: 0 auto;
|
||||
width: max-content;
|
||||
max-width: 90vw;
|
||||
padding: 0.7rem 1.2rem;
|
||||
border-radius: 10px;
|
||||
background: rgba(20, 20, 24, 0.96);
|
||||
border: 1px solid var(--accent);
|
||||
color: #fff;
|
||||
font-size: 0.9rem;
|
||||
z-index: 1000;
|
||||
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
}
|
||||
.update-banner .spin { display: inline-block; animation: update-spin 1s linear infinite; }
|
||||
@keyframes update-spin { to { transform: rotate(360deg); } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user