Implement weight graphs
This commit is contained in:
8
frontend/src/lib/router/routes/Weight/WDaily.svelte
Normal file
8
frontend/src/lib/router/routes/Weight/WDaily.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
|
||||
import { dailyWeightStore } from '$lib/store/Weight/dailyWeightStore'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AggregatedWeightTable items="{$dailyWeightStore}" />
|
||||
</template>
|
||||
8
frontend/src/lib/router/routes/Weight/WMonthly.svelte
Normal file
8
frontend/src/lib/router/routes/Weight/WMonthly.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { monthlyWeightStore } from '$lib/store/Weight/monthlyWeightStore'
|
||||
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AggregatedWeightTable items="{$monthlyWeightStore}" />
|
||||
</template>
|
||||
8
frontend/src/lib/router/routes/Weight/WWeekly.svelte
Normal file
8
frontend/src/lib/router/routes/Weight/WWeekly.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { weeklyWeightStore } from '$lib/store/Weight/weeklyWeightStore'
|
||||
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AggregatedWeightTable items="{$weeklyWeightStore}" />
|
||||
</template>
|
||||
8
frontend/src/lib/router/routes/Weight/WYearly.svelte
Normal file
8
frontend/src/lib/router/routes/Weight/WYearly.svelte
Normal file
@@ -0,0 +1,8 @@
|
||||
<script lang="ts">
|
||||
import AggregatedWeightTable from '$components/Weight/Aggregated/AggregatedWeightTable.svelte'
|
||||
import { yearlyWeightStore } from '$lib/store/Weight/yearlyWeightStore'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AggregatedWeightTable items="{$yearlyWeightStore}" />
|
||||
</template>
|
||||
Reference in New Issue
Block a user