Most of the interface done

This commit is contained in:
nemunaire 2022-10-02 23:24:33 +02:00
commit be8ff3466a
32 changed files with 983 additions and 7 deletions

View file

@ -0,0 +1,35 @@
<script>
import {
Button,
Col,
Container,
Row,
Icon,
} from 'sveltestrap';
import { page } from '$app/stores';
function slugToTitle(slug) {
switch(slug) {
case "manuals":
return "Réveil manuel";
case "usuals":
return "Réveil habituel";
case "excepts":
return "Exception";
}
}
</script>
<Container fluid class="flex-fill">
<h2 class="mb-0">
{slugToTitle($page.params["kind"])} du ...
</h2>
{#if $page.params["kind"] == "manuals"}
manuals
{:else if $page.params["kind"] == "usuals"}
ususlas
{:else if $page.params["kind"] == "excepts"}
excepts
{/if}
</Container>