frontend: Rework asset generation

This commit reworks frontend asset generation to not need manually
written html files, but instead generate them automatically.
This commit is contained in:
Tom Wiesing 2022-10-15 14:10:32 +02:00
parent ebdbe9fabd
commit ccab2883a6
No known key found for this signature in database
42 changed files with 408 additions and 177 deletions

View file

@ -15,7 +15,7 @@ import (
//go:embed "html/index.html"
var indexTemplateStr string
var indexTemplate = static.EntryControlIndex.MustParse(indexTemplateStr)
var indexTemplate = static.AssetsControlIndex.MustParse(indexTemplateStr)
type indexPageContext struct {
Time time.Time