start huge dashboard rework; improve dark theme
This commit is contained in:
parent
14feb47640
commit
f324c249f6
21 changed files with 365 additions and 235 deletions
|
|
@ -33,7 +33,7 @@ func serveArtist(app *model.AppState) http.Handler {
|
|||
}
|
||||
|
||||
type ArtistResponse struct {
|
||||
Session *model.Session
|
||||
adminPageData
|
||||
Artist *model.Artist
|
||||
Credits []*model.Credit
|
||||
}
|
||||
|
|
@ -41,7 +41,7 @@ func serveArtist(app *model.AppState) http.Handler {
|
|||
session := r.Context().Value("session").(*model.Session)
|
||||
|
||||
err = templates.EditArtistTemplate.Execute(w, ArtistResponse{
|
||||
Session: session,
|
||||
adminPageData: adminPageData{ Path: r.URL.Path, Session: session },
|
||||
Artist: artist,
|
||||
Credits: credits,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue