Initial extraction of shared webui layout (base/navbar/sidebar/footer)

Pilot module for the shared design used by yasta, yasl, yaiam, yakwui,
and yamase-web: server-rendered Bootstrap dashboard chrome, imported as
a Go module instead of copy-pasted per project.
This commit is contained in:
Bjoern Kalkbrenner committed 2026-08-28 11:18:34 +02:00
commit 79f7f972f1
11 files changed
+439

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
{{define "sidebar"}}
<div class="nav flex-column pt-2">
{{range .NavItems}}<a class="nav-link{{if eq $.ActiveNav .ID}} active{{end}}" href="{{$.BasePath}}{{.Href}}">{{.Label}}</a>
{{end}}
</div>
{{end}}