diff --git a/gui/dashboard/app.svelte b/gui/dashboard/app.svelte index c92e58b..2e53fd2 100644 --- a/gui/dashboard/app.svelte +++ b/gui/dashboard/app.svelte @@ -1,10 +1,13 @@ - +
{value}
@@ -18,12 +18,4 @@ font-size: 3rem; font-weight: 600; } - - .red { - color: var(--red); - } - - .green { - color: var(--green); - } diff --git a/gui/dashboard/tile.svelte b/gui/dashboard/tile.svelte index 3b81204..a1a15c5 100644 --- a/gui/dashboard/tile.svelte +++ b/gui/dashboard/tile.svelte @@ -1,9 +1,10 @@ -
+
{#if title || subtitle}
{#if title} @@ -20,22 +21,33 @@
diff --git a/gui/dashboard/tiles.svelte b/gui/dashboard/tiles.svelte new file mode 100644 index 0000000..c625d87 --- /dev/null +++ b/gui/dashboard/tiles.svelte @@ -0,0 +1,14 @@ + + +{#each Object.entries(services) as [ id, service ] (id)} + {@const isDown = service.lastBeat.down} + +{/each}