feat(race-day): traffic-light colours on the run buttons

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
larssandandClaude Opus 5.5 committed 2026-10-17 18:45:21 +02:00
1 parent c4df90706a
commit ba35f9e7d2
5 files changed
+46 -8

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ export function renderDashboardView(deps) {
dom.view.innerHTML = `
${renderTrackLayoutBar({ state, t, escapeHtml, showNewButton: !active || isPracticeSessionType(active.type) })}
<section class="dashboard-quick mt-16" aria-label="${escapeHtml(t("dashboard.quick_title"))}">
<button class="btn btn-primary dashboard-quick-btn" type="button" id="dashboardQuickPractice"><strong>▶ ${t("dashboard.quick_practice")}</strong><small>${t("dashboard.quick_practice_hint")}</small></button>
<button class="btn btn-go dashboard-quick-btn" type="button" id="dashboardQuickPractice"><strong>▶ ${t("dashboard.quick_practice")}</strong><small>${t("dashboard.quick_practice_hint")}</small></button>
<button class="btn dashboard-quick-btn" type="button" id="dashboardQuickRace"><strong>🏁 ${t("dashboard.quick_race")}</strong><small>${t("dashboard.quick_race_hint")}</small></button>
<button class="btn dashboard-quick-btn" type="button" id="dashboardQuickSeries"><strong>🏆 ${t("dashboard.quick_series")}</strong><small>${t("dashboard.quick_series_hint")}</small></button>
</section>