display longer records in charts

This commit is contained in:
Henry Dollman
2024-07-20 13:58:55 -04:00
parent 1c3bf5bfe1
commit 926dcf14c8
6 changed files with 78 additions and 72 deletions

View File

@@ -1,17 +1,15 @@
// Package site handles the Beszel frontend embedding.
package site
import (
"embed"
"io/fs"
"github.com/labstack/echo/v5"
)
//go:embed all:dist
var assets embed.FS
func Assets() (fs.FS, error) {
return fs.Sub(assets, "dist")
}
var Dist = echo.MustSubFS(assets, "dist")
func Icons() (fs.FS, error) {
return fs.Sub(assets, "dist/icons")
}
var Icons = echo.MustSubFS(assets, "dist/icons")