Skip to content

Commit

Permalink
Fix: Add info messages to dashboard, and auth links
Browse files Browse the repository at this point in the history
  • Loading branch information
TimVosch committed May 22, 2024
1 parent 9399a92 commit 6090340
Show file tree
Hide file tree
Showing 29 changed files with 1,205 additions and 2,062 deletions.
2 changes: 2 additions & 0 deletions internal/flash_messages/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ func IsAPIError(err error) (api.ApiError, bool) {
}

type snackbarDetails struct {
Title string `json:"title"`
Message string `json:"message"`
Type SnackbarType `json:"type"`
UID string `json:"uid"`
}

func withSnackbarMessage(w http.ResponseWriter, details snackbarDetails) http.ResponseWriter {
Expand Down
185 changes: 0 additions & 185 deletions pkg/layout/layout.qtpl

This file was deleted.

13 changes: 0 additions & 13 deletions pkg/layout/static/codemirror.js

This file was deleted.

109 changes: 0 additions & 109 deletions pkg/layout/static/leaflet.htmx.js

This file was deleted.

Binary file removed pkg/layout/static/logo-white.png
Binary file not shown.
Binary file removed pkg/layout/static/sensorbucket-logo.png
Binary file not shown.
Loading

0 comments on commit 6090340

Please sign in to comment.