new raceday and backup
This commit is contained in:
@@ -105,6 +105,7 @@ export function renderDashboardView(deps) {
|
||||
<span class="workflow-number">4</span>
|
||||
<div><strong>${t("dashboard.step_run")}</strong><p>${t("dashboard.step_run_hint")}</p></div>
|
||||
<div class="actions-inline">
|
||||
<button id="workflowRaceDay" class="btn btn-primary" type="button">${t("dashboard.open_race_day")}</button>
|
||||
<button id="workflowTiming" class="btn" type="button">${t("dashboard.open_timing")}</button>
|
||||
<button id="workflowOverlay" class="btn" type="button">${t("dashboard.open_overlay")}</button>
|
||||
</div>
|
||||
@@ -176,6 +177,7 @@ export function renderDashboardView(deps) {
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button id="goEvents" class="btn btn-primary">${t("dashboard.create_event")}</button>
|
||||
<button id="goRaceDay" class="btn btn-primary">${t("dashboard.open_race_day")}</button>
|
||||
<button id="goTiming" class="btn">${t("dashboard.open_timing")}</button>
|
||||
<button id="openDashboardOverlay" class="btn">${t("timing.open_overlay")}</button>
|
||||
<button id="connectNow" class="btn">${t("dashboard.connect_decoder")}</button>
|
||||
@@ -206,11 +208,13 @@ export function renderDashboardView(deps) {
|
||||
document.getElementById("workflowSettings")?.addEventListener("click", () => navigateTo("settings"));
|
||||
document.getElementById("workflowDrivers")?.addEventListener("click", () => navigateTo("drivers"));
|
||||
document.getElementById("workflowRaceSetup")?.addEventListener("click", () => navigateTo("race_setup"));
|
||||
document.getElementById("workflowRaceDay")?.addEventListener("click", () => navigateTo("race_day"));
|
||||
document.getElementById("workflowTiming")?.addEventListener("click", () => navigateTo("timing"));
|
||||
document.getElementById("workflowOverlay")?.addEventListener("click", () => navigateTo("overlay"));
|
||||
|
||||
document.getElementById("goEvents")?.addEventListener("click", () => navigateTo("events"));
|
||||
|
||||
document.getElementById("goRaceDay")?.addEventListener("click", () => navigateTo("race_day"));
|
||||
document.getElementById("goTiming")?.addEventListener("click", () => navigateTo("timing"));
|
||||
|
||||
document.getElementById("connectNow")?.addEventListener("click", connectDecoder);
|
||||
|
||||
Reference in New Issue
Block a user