Most of the interface done
This commit is contained in:
parent
4eea7769ff
commit
be8ff3466a
32 changed files with 983 additions and 7 deletions
66
ui/src/routes/settings/+page.svelte
Normal file
66
ui/src/routes/settings/+page.svelte
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
<script>
|
||||
import {
|
||||
Container,
|
||||
Form,
|
||||
FormGroup,
|
||||
Icon,
|
||||
Input,
|
||||
InputGroup,
|
||||
InputGroupText,
|
||||
Label,
|
||||
} from 'sveltestrap';
|
||||
</script>
|
||||
|
||||
<Container class="flex-fill d-flex flex-column py-2">
|
||||
<h2>
|
||||
Paramètres
|
||||
</h2>
|
||||
<Form>
|
||||
<FormGroup>
|
||||
<Label for="gongIntervals">Intervalle entre les gongs</Label>
|
||||
<InputGroup>
|
||||
<Input
|
||||
type="number"
|
||||
id="gongIntervals"
|
||||
placeholder="20"
|
||||
/>
|
||||
<InputGroupText>min</InputGroupText>
|
||||
</InputGroup>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<Label for="weatherDelay">Annonce météo après</Label>
|
||||
<InputGroup>
|
||||
<Input
|
||||
type="number"
|
||||
id="weatherDelay"
|
||||
placeholder="5"
|
||||
/>
|
||||
<InputGroupText>min</InputGroupText>
|
||||
</InputGroup>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<Label for="weatherRituel">Rituel pour l'annonce météo</Label>
|
||||
<Input
|
||||
type="select"
|
||||
id="weatherRituel"
|
||||
>
|
||||
<option value="1">test</option>
|
||||
</Input>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<Label for="greetingLanguage">Langue de salutation</Label>
|
||||
<Input
|
||||
type="select"
|
||||
id="greetingLanguage"
|
||||
>
|
||||
<option value="fr_FR">Français</option>
|
||||
<option value="en_US">Anglais</option>
|
||||
<option value="es_ES">Espagnol</option>
|
||||
<option value="de_DE">Allemand</option>
|
||||
</Input>
|
||||
</FormGroup>
|
||||
</Form>
|
||||
</Container>
|
||||
Loading…
Add table
Add a link
Reference in a new issue