diff --git a/templates/api_explorer.templ b/templates/api_explorer.templ index e3eec95..af59618 100644 --- a/templates/api_explorer.templ +++ b/templates/api_explorer.templ @@ -3,7 +3,7 @@ package templates templ APIExplorer(explorer APIExplorerData) { if !explorer.IsLoggedIn { // Show mode toggle and mock data -
+
@@ -25,16 +25,16 @@ templ APIExplorer(explorer APIExplorerData) {
{ explorer.Endpoint.Response }
- - + +
} else { // Show interactive explorer with real execution
- - + +
diff --git a/templates/bookshelf.templ b/templates/bookshelf.templ index 175e934..9fdcc94 100644 --- a/templates/bookshelf.templ +++ b/templates/bookshelf.templ @@ -19,7 +19,7 @@ templ BookShelf(user User, libraries []LibraryData) {
- if len(libraries) == 0 { } else { @@ -30,7 +30,7 @@ templ BookShelf(user User, libraries []LibraryData) {
-
diff --git a/templates/devices.templ b/templates/devices.templ index 3f0d6a1..fd1f010 100644 --- a/templates/devices.templ +++ b/templates/devices.templ @@ -112,7 +112,7 @@ templ Devices(user User, devices []handlers.DeviceInfo, pendingRegistrations []P style="background-color: var(--bg-primary); color: var(--text-primary); border-color: var(--border);" />
- + } diff --git a/templates/index.templ b/templates/index.templ index 2204aac..73b8ddd 100644 --- a/templates/index.templ +++ b/templates/index.templ @@ -18,7 +18,7 @@ templ Index(loggedIn bool) {
- diff --git a/templates/login.templ b/templates/login.templ index 6d6a27d..ebbcbd3 100644 --- a/templates/login.templ +++ b/templates/login.templ @@ -15,7 +15,7 @@ templ Login(sessionExpired bool, deleted bool) {

Login to Bookhoard

- diff --git a/web/src/main.ts b/web/src/main.ts index e511fb0..63b74ed 100644 --- a/web/src/main.ts +++ b/web/src/main.ts @@ -32,6 +32,7 @@ import "./theme"; import "./toast"; import "./toast-error"; import "./unlinked_books"; +import "./websocket"; import "./woodPanelingInit"; Alpine.start();