Added start of editable dashboard

This commit is contained in:
Magnus Åhall 2026-08-20 11:13:03 +02:00
parent 1af3f59b1a
commit c3fe5951d4
8 changed files with 502 additions and 92 deletions

View file

@ -5,14 +5,12 @@
import { } from '/js/{{ .VERSION }}/dashboard.mjs'
</script>
<div>
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/logo.svg" style="width: 64px; margin-right: 32px;">
</div>
<div style="display: grid; grid-template-columns: min-content 1fr; align-items: end; grid-gap: 8px;">
<h1>SMon</h1>
<h2>{{ .VERSION }}</h2>
<div style="display: grid; grid-template-columns: repeat(2, min-content); align-items: end; grid-gap: 8px;">
<img src="/images/{{ .VERSION }}/{{ .CONFIG.THEME }}/logo.svg" style="width: 64px; margin-right: 16px;">
<div>
<h1 style="margin-bottom: 0px">Smon</h1>
<h2 style="margin-top: 0px">{{ .VERSION }}</h2>
</div>
</div>
<smon-dashboard style="margin-top: 32px">