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
+9 -9
View File
@@ -346,10 +346,10 @@ async function handleStartScheduler() {
try {
await startScheduler();
await loadSchedulerStatus();
alert('Planificateur démarré!');
alert('Planificateur démarré !');
} catch (error) {
console.error('Error starting scheduler:', error);
alert(`Erreur: ${error.message}`);
alert(`Erreur : ${error.message}`);
}
}
@@ -360,10 +360,10 @@ async function handleStopScheduler() {
try {
await stopScheduler();
await loadSchedulerStatus();
alert('Planificateur arrêté!');
alert('Planificateur arrêté !');
} catch (error) {
console.error('Error stopping scheduler:', error);
alert(`Erreur: ${error.message}`);
alert(`Erreur : ${error.message}`);
}
}
@@ -376,7 +376,7 @@ async function handleCheckAll() {
await loadSchedulerStatus();
} catch (error) {
console.error('Error checking all:', error);
alert(`Erreur: ${error.message}`);
alert(`Erreur : ${error.message}`);
}
}
@@ -394,7 +394,7 @@ async function handleOpenSettings() {
document.body.appendChild(modalContainer);
} catch (error) {
console.error('Error loading settings:', error);
alert(`Erreur: ${error.message}`);
alert(`Erreur : ${error.message}`);
}
}
@@ -438,17 +438,17 @@ function updateSchedulerUI(status) {
if (status.next_run) {
const nextRun = new Date(status.next_run);
nextRunInfo.innerHTML = ` En cours<br>Prochaine vérification: ${nextRun.toLocaleString('fr-FR')}`;
nextRunInfo.innerHTML = `<i class="fa-solid fa-check"></i> En cours<br>Prochaine vérification: ${nextRun.toLocaleString('fr-FR')}`;
} else {
// Scheduler running but no next_run yet (just started)
const interval = status.settings?.check_interval_hours || 6;
nextRunInfo.innerHTML = ` En cours<br>Vérification toutes les ${interval}h`;
nextRunInfo.innerHTML = `<i class="fa-solid fa-check"></i> En cours<br>Vérification toutes les ${interval}h`;
}
} else {
// Update buttons if they exist
if (startBtn) startBtn.style.display = 'inline-block';
if (stopBtn) stopBtn.style.display = 'none';
nextRunInfo.innerHTML = '⏸️ Arrêté';
nextRunInfo.innerHTML = '<i class="fa-solid fa-pause"></i> Arrêté';
}
}