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 | |
parent | 781ae26883b9a28cbb5c94e9e086f1a5a2f7f60e (diff) | |
download | jellything-23f013bd97ab55da9ed2572a98717d00d9d46c49.tar jellything-23f013bd97ab55da9ed2572a98717d00d9d46c49.tar.bz2 jellything-23f013bd97ab55da9ed2572a98717d00d9d46c49.tar.zst |
Add more icons
Diffstat (limited to 'server/src/routes')
-rw-r--r-- | server/src/routes/ui/layout.rs | 8 | ||||
-rw-r--r-- | server/src/routes/ui/node.rs | 2 |
2 files changed, 5 insertions, 5 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" } } } } diff --git a/server/src/routes/ui/node.rs b/server/src/routes/ui/node.rs index c95f8eb..ed7b7e2 100644 --- a/server/src/routes/ui/node.rs +++ b/server/src/routes/ui/node.rs @@ -89,7 +89,7 @@ markup::define! { } @if !(matches!(node.kind, NodeKind::Collection | NodeKind::Channel)) { .cardhover.item { - a.play[href=&uri!(r_player(id, PlayerConfig::default()))] { "play_arrow" } + a.play[href=&uri!(r_player(id, PlayerConfig::default())), class="icon"] { "play_arrow" } @Props { node } } } |