28 lines
643 B
Svelte
28 lines
643 B
Svelte
<script>
|
|
import { page } from '$app/stores';
|
|
|
|
import {
|
|
Button,
|
|
Icon,
|
|
} from 'sveltestrap';
|
|
|
|
export let flush = false;
|
|
</script>
|
|
|
|
<div class="d-flex justify-content-between align-items-center" class:mx-2={flush}>
|
|
<h2>
|
|
Réveils manuels
|
|
</h2>
|
|
<Button
|
|
href="alarms/manuals/new"
|
|
color="outline-primary"
|
|
size="sm"
|
|
class="float-end {($page.params.kind === 'manuals' && $page.url.pathname.endsWith('/new'))?'active':''}"
|
|
>
|
|
<Icon name="plus-lg" />
|
|
</Button>
|
|
</div>
|
|
<div class="text-center">
|
|
<p class="fst-italic">Pas de prochain réveil manuel programmé</p>
|
|
</div>
|