feat: flat design Sunset Glitch palette + Font Awesome icons
CI / Test (Python 3.11) (pull_request) Has been cancelled
CI / Test (Python 3.12) (pull_request) Has been cancelled
CI / Lint (pull_request) Has been cancelled
CI / Type Check (pull_request) Has been cancelled
CI / Summary (pull_request) Has been cancelled

This commit is contained in:
root
2026-04-04 07:59:46 +00:00
parent 0179ddbdf4
commit 9e53579b36
24 changed files with 437 additions and 260 deletions
+19 -19
View File
@@ -14,13 +14,13 @@
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
background: #ffffff;
background: #15171A;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
color: #191919;
color: #F2F2F2;
}
.container {
@@ -36,14 +36,14 @@
.header h1 {
font-size: 1.5rem;
margin-bottom: 10px;
color: #f15025;
color: #FFBF69;
}
.video-info {
background: #e6e8e6;
background: #202327;
padding: 15px 20px;
border-radius: 4px;
border: 1px solid #ced0ce;
border: 1px solid #2a2d32;
margin-bottom: 20px;
display: flex;
justify-content: space-between;
@@ -58,7 +58,7 @@
}
.video-info .filesize {
color: #ced0ce;
color: #8a8f98;
font-size: 0.9rem;
}
@@ -82,9 +82,9 @@
.btn {
padding: 12px 24px;
background: #e6e8e6;
border: 1px solid #ced0ce;
color: #191919;
background: #202327;
border: 1px solid #2a2d32;
color: #F2F2F2;
border-radius: 4px;
cursor: pointer;
font-size: 0.9rem;
@@ -96,20 +96,20 @@
}
.btn:hover {
background: #ced0ce;
border-color: #191919;
background: #2a2d32;
border-color: #FFBF69;
}
.btn-primary {
background: #f15025;
border: 1px solid #f15025;
background: #FF9F1C;
border: 1px solid #FF9F1C;
color: #fff;
font-weight: 600;
}
.btn-primary:hover {
background: #d94420;
border-color: #d94420;
background: #e08a15;
border-color: #e08a15;
}
.error-message {
@@ -135,7 +135,7 @@
<body>
<div class="container">
<div class="header">
<h1>🎬 Ohm Stream Player</h1>
<h1><i class="fa-solid fa-film"></i> Ohm Stream Player</h1>
</div>
<div class="video-info">
@@ -151,7 +151,7 @@
<div class="controls">
<a href="/web" class="btn">← Retour à l'accueil</a>
<a href="/stream/{{ filename }}" class="btn btn-primary" download>⬇️ Télécharger</a>
<a href="/stream/{{ filename }}" class="btn btn-primary" download><i class="fa-solid fa-download"></i> Télécharger</a>
</div>
</div>
@@ -169,8 +169,8 @@
wrapper.innerHTML = `
<div class="error-message">
Erreur lors de la lecture du flux vidéo.<br>
<a href="/video/{{ task_id }}" style="color: #f15025; text-decoration: underline;">Réessayer</a> ou
<a href="/stream/{{ filename }}" style="color: #f15025; text-decoration: underline;" download>Télécharger</a>
<a href="/video/{{ task_id }}" style="color: #FF9F1C; text-decoration: underline;">Réessayer</a> ou
<a href="/stream/{{ filename }}" style="color: #FF9F1C; text-decoration: underline;" download>Télécharger</a>
</div>
`;
});