docs(videos): re-record video guides, add House of RC guide, refresh screenshots (1.84.2)
This commit is contained in:
1 parent
f14cdb8c97
commit
c5addf5b41
29 files changed
+123
-12
No files matched your search
@@ -2083,6 +2083,7 @@ const TRANSLATIONS = {
|
||||
"guide.video_practice_ranking": "Öppen träning – ranking på varv i rad",
|
||||
"guide.video_race_overview": "Race-översikt och resultatarkiv",
|
||||
"guide.video_judging": "Domare – utrop, straff och DSQ",
|
||||
"guide.video_house_of_rc": "House of RC – hämta anmälda, efteranmälda och skicka resultat",
|
||||
"guide.tab_start": "Kom igång",
|
||||
"guide.tab_create": "Skapa ett race",
|
||||
"guide.tab_run": "Köra ett race",
|
||||
@@ -4326,6 +4327,7 @@ const TRANSLATIONS = {
|
||||
"guide.video_practice_ranking": "Open practice – ranking by laps in a row",
|
||||
"guide.video_race_overview": "Race overview and results archive",
|
||||
"guide.video_judging": "Judging – calls, penalties and DSQ",
|
||||
"guide.video_house_of_rc": "House of RC – fetch entries, late entries and send results",
|
||||
"guide.tab_start": "Getting started",
|
||||
"guide.tab_create": "Create a race",
|
||||
"guide.tab_run": "Run a race",
|
||||
|
||||
@@ -363,9 +363,9 @@ export function openHouseOfRcResultsPost({ event, overview, state, t, escapeHtml
|
||||
const where = [event.houseOfRc.name, event.houseOfRc.className].filter(Boolean).join(" – ");
|
||||
body.innerHTML = `
|
||||
<p><strong>${escapeHtml(where)}</strong>${event.houseOfRc.resultsSentAt ? ` <span class="hint">· ${escapeHtml(t("houseofrc.results_last", { time: new Date(event.houseOfRc.resultsSentAt).toLocaleString() }))}</span>` : ""}</p>
|
||||
<div class="hor-choice">
|
||||
<label><input type="radio" name="horResultsMode" value="heats" ${final ? "" : "checked"} /> ${escapeHtml(t("houseofrc.results_mode_heats"))}</label>
|
||||
<label><input type="radio" name="horResultsMode" value="final" ${final ? "checked" : ""} ${hasFinals ? "" : "disabled"} /> ${escapeHtml(t("houseofrc.results_mode_final"))}</label>
|
||||
<div class="hor-modes">
|
||||
<label class="hor-choice"><input type="radio" name="horResultsMode" value="heats" ${final ? "" : "checked"} /> ${escapeHtml(t("houseofrc.results_mode_heats"))}</label>
|
||||
<label class="hor-choice"><input type="radio" name="horResultsMode" value="final" ${final ? "checked" : ""} ${hasFinals ? "" : "disabled"} /> ${escapeHtml(t("houseofrc.results_mode_final"))}</label>
|
||||
</div>
|
||||
<p class="hint">${escapeHtml(t(final ? "houseofrc.results_final_hint" : "houseofrc.results_heats_hint"))}</p>
|
||||
<div class="table-wrap"><table class="hor-import-table">
|
||||
|
||||
@@ -143,6 +143,7 @@ export function renderGuideView({ dom, t }) {
|
||||
<li><a href="/docs/videos/practice-ranking.mkv" target="_blank" rel="noopener">${t("guide.video_practice_ranking")}</a></li>
|
||||
<li><a href="/docs/videos/race-overview.mkv" target="_blank" rel="noopener">${t("guide.video_race_overview")}</a></li>
|
||||
<li><a href="/docs/videos/judging.mkv" target="_blank" rel="noopener">${t("guide.video_judging")}</a></li>
|
||||
<li><a href="/docs/videos/house-of-rc.mkv" target="_blank" rel="noopener">${t("guide.video_house_of_rc")}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -4944,7 +4944,12 @@ tr:has(> td > .medal-3) { background: linear-gradient(90deg, rgba(205, 127, 60,
|
||||
|
||||
/* House of RC driver import */
|
||||
.hor-import { width: min(900px, 100%); }
|
||||
.hor-import-table { width: 100%; }
|
||||
.hor-import-table th { text-align: left; }
|
||||
.hor-import-table td { vertical-align: middle; }
|
||||
.hor-modes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0; }
|
||||
.hor-modes .hor-choice { flex-direction: row; white-space: nowrap; }
|
||||
.hor-modes .hor-choice input { width: auto; min-height: 0; margin: 0; }
|
||||
.hor-choice { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
|
||||
.hor-choice s { opacity: 0.6; }
|
||||
.hor-link-row { display: flex; gap: 8px; }
|
||||
|
||||
Reference in new issue
Block a user