zenno: wrapper component for race length inputs
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
import * as course from '$lib/course';
|
||||
import * as race from '$lib/race';
|
||||
import RaceLenSlider from '$lib/RaceLenSlider.svelte';
|
||||
import * as recovery from '$lib/racelib/recovery';
|
||||
import HPChart from './HPChart.svelte';
|
||||
import InfoPanels from './InfoPanels.svelte';
|
||||
@@ -277,16 +278,7 @@
|
||||
</div>
|
||||
<div class="mx-auto my-2 grid max-w-5xl grid-cols-1 gap-4 rounded-md text-center shadow-md ring md:grid-cols-6">
|
||||
<div class="m-4 flex md:col-span-2">
|
||||
<input
|
||||
class="col-span-2 my-auto w-full justify-self-center-safe"
|
||||
type="range"
|
||||
id="raceLen"
|
||||
min="1000"
|
||||
max="3600"
|
||||
step="100"
|
||||
bind:value={raceLen}
|
||||
/>
|
||||
<span class="my-auto pl-2 text-sm">{raceLen}m</span>
|
||||
<RaceLenSlider bind:value={raceLen} />
|
||||
</div>
|
||||
<select id="surface" class="m-4" bind:value={surface}>
|
||||
<option value={race.Surface.Turf}>Turf</option>
|
||||
|
||||
Reference in New Issue
Block a user