diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-24 15:08:15 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-24 15:08:15 +0200 |
commit | f4f3a16bca576c202887799066bd896863612e2b (patch) | |
tree | 8ddb9cdc47abae7bc615109f241b2cd12e141128 /server/src/routes/ui/account/settings.rs | |
parent | c1afcdc0dc4e59cb2ce1e8c65b69c5647f2132f3 (diff) | |
download | jellything-f4f3a16bca576c202887799066bd896863612e2b.tar jellything-f4f3a16bca576c202887799066bd896863612e2b.tar.bz2 jellything-f4f3a16bca576c202887799066bd896863612e2b.tar.zst |
partial theme implementation
Diffstat (limited to 'server/src/routes/ui/account/settings.rs')
-rw-r--r-- | server/src/routes/ui/account/settings.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/src/routes/ui/account/settings.rs b/server/src/routes/ui/account/settings.rs index b02c871..d61d9f1 100644 --- a/server/src/routes/ui/account/settings.rs +++ b/server/src/routes/ui/account/settings.rs @@ -59,7 +59,11 @@ fn settings_page(session: Session, flash: Option<MyResult<String>>) -> DynLayout input[type="submit", value="Update"]; } h2 { "Appearance" } - p.error { "TODO: theming" } + fieldset { + legend { "Theme" } + // label { input[type="radio", name="theme", value=t, checked=session.user.theme==t]; @label } br; + // label { input[type="radio", name="theme", value=t, checked=session.user.theme==t]; @label } br; + } }, ..Default::default() } |