Added theme setting

This commit is contained in:
2017-11-17 12:51:08 +01:00
parent 7c9d1c3c31
commit 382fc804d1
5 changed files with 38 additions and 1 deletions

View File

@ -28,7 +28,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
LoadingAnimation
StatusMessage
if user != nil
#user(data-id=user.ID)
#user(data-id=user.ID, data-theme=user.Settings().Theme)
script(src="/scripts")
component Content(content string)