mirror of
https://github.com/KevinMidboe/hivemonitor.git
synced 2025-10-29 17:40:25 +00:00
* adds a bunch of ui components with mock data * build docker image with yarn.lock & yarn instead of npm * easier to add topics, build options smarter from ENV vars * fallback to index.html on all requests for SPA * updates w/ black/white support, better mobile styling * adds test components to home & dashboard pages * adds chart.js dependency * mqtt payload examples * lint * drone ci config * eslint fixes
24 lines
722 B
Svelte
24 lines
722 B
Svelte
<script lang="ts">
|
|
import HighTemperature from '$lib/components/cards/HighTemperature.svelte';
|
|
import LowTemperature from '$lib/components/cards/LowTemperature.svelte';
|
|
import LowBattery from '$lib/components/cards/LowBattery.svelte';
|
|
import NoData from '$lib/components/cards/NoData.svelte';
|
|
import WeightChanged from '$lib/components/cards/WeightChanged.svelte';
|
|
</script>
|
|
|
|
<main>
|
|
<h1>Alarms</h1>
|
|
|
|
<span class="header">Alerts</span>
|
|
<HighTemperature temperature="32" />
|
|
<LowTemperature temperature="10" />
|
|
<LowBattery battery="19" />
|
|
<NoData time="1" />
|
|
<WeightChanged from="21" to="22" />
|
|
|
|
<p class="read-the-docs">Click on the Vite and Svelte logos to learn more</p>
|
|
</main>
|
|
|
|
<style lang="scss">
|
|
</style>
|