Changeset 0.37.12 (#224)

Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
2026-03-22 11:59:17 +00:00
committed by xcaliber
parent c687002015
commit aeda4fdd0c
31 changed files with 118 additions and 3642 deletions

View File

@@ -6,7 +6,6 @@
// templates/login.html — standalone login page
// templates/components/*.html — reusable partials (model-select, team-select, chat-pane, etc.)
// templates/surfaces/*.html — one per surface (chat, editor, notes, admin, etc.)
// templates/admin/*.html — admin sub-pages (roles, routing, providers, etc.)
package pages
import (
@@ -29,7 +28,7 @@ import (
"chat-switchboard/store"
)
//go:embed templates/*.html templates/components/*.html templates/surfaces/*.html templates/admin/*.html
//go:embed templates/*.html templates/components/*.html templates/surfaces/*.html
var templateFS embed.FS
// Engine holds parsed templates and rendering state.
@@ -271,7 +270,6 @@ func (e *Engine) parseTemplates() {
"templates/*.html",
"templates/components/*.html",
"templates/surfaces/*.html",
"templates/admin/*.html",
)
if err != nil {
log.Fatalf("❌ Failed to parse templates: %v", err)