diff options
author | tpart <tpart120@proton.me> | 2023-10-29 20:56:02 +0100 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2023-10-29 20:56:02 +0100 |
commit | 23f013bd97ab55da9ed2572a98717d00d9d46c49 (patch) | |
tree | 8616781bea42dca692f7a1da0eb0ed5b98cc90f1 /server/src/routes/ui/layout.rs | |
parent | 781ae26883b9a28cbb5c94e9e086f1a5a2f7f60e (diff) | |
download | jellything-23f013bd97ab55da9ed2572a98717d00d9d46c49.tar jellything-23f013bd97ab55da9ed2572a98717d00d9d46c49.tar.bz2 jellything-23f013bd97ab55da9ed2572a98717d00d9d46c49.tar.zst |
Add more icons
Diffstat (limited to 'server/src/routes/ui/layout.rs')
-rw-r--r-- | server/src/routes/ui/layout.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/routes/ui/layout.rs b/server/src/routes/ui/layout.rs index 3ba5e88..ae81cb6 100644 --- a/server/src/routes/ui/layout.rs +++ b/server/src/routes/ui/layout.rs @@ -47,13 +47,13 @@ markup::define! { @if let Some(session) = session { span { "Logged in as " } span.username { @session.user.display_name } " " @if session.user.admin { - a[href=uri!(r_admin_dashboard())] { "Administration" } " " + a[href=uri!(r_admin_dashboard()), id="admin", class="icon"] { "Administration" } " " } - a[href=uri!(r_account_settings())] { "Settings" } " " - a[href=uri!(r_account_logout())] { "Log out" } + a[href=uri!(r_account_settings()), id="settings", class="icon"] { "Settings" } " " + a[href=uri!(r_account_logout()), id="logout", class="icon"] { "Log out" } } else { a[href=uri!(r_account_register())] { "Register" } " " - a[href=uri!(r_account_login())] { "Log in" } + a[href=uri!(r_account_login()), id="login", class="icon"] { "Log in" } } } } |