first commit

This commit is contained in:
2020-12-31 17:49:54 +01:00
commit 2240985aa1
120 changed files with 11574 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<script lang="ts">
import Boi from "../components/Boi.svelte";
import GroupEntry from "../components/GroupEntry.svelte";
import type { ModalData } from "../stores/modal";
import groupStore from "../stores/group";
const mdGroupAdd: ModalData = {name: "group.add"};
$: {
if ($groupStore.stale && !$groupStore.loading) {
groupStore.load();
}
}
</script>
<div class="page">
{#each $groupStore.groups as group (group.id)}
<GroupEntry showAllOptions group={group} />
{/each}
<Boi open={mdGroupAdd}>Add Group</Boi>
</div>
<style>
div.page {
display: block;
margin: auto;
max-width: 100%;
width: 640px;
margin-top: 0;
box-sizing: border-box;
}
</style>