diff options
author | metamuffin <metamuffin@disroot.org> | 2024-04-10 19:52:48 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-04-10 19:52:48 +0200 |
commit | 5a12f665ea751534af60970e0f5f7607710bc193 (patch) | |
tree | 72dbef1dc00517f59cb50b310a1aaa9b5a2a5703 /server/src | |
parent | a820b817bf4bfbf7e8978ffc427ccbf75a74309a (diff) | |
parent | 3e3064b7b8adc1354ba833a0903cc59d2ef6d83f (diff) | |
download | jellything-5a12f665ea751534af60970e0f5f7607710bc193.tar jellything-5a12f665ea751534af60970e0f5f7607710bc193.tar.bz2 jellything-5a12f665ea751534af60970e0f5f7607710bc193.tar.zst |
merge
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/routes/ui/node.rs | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/server/src/routes/ui/node.rs b/server/src/routes/ui/node.rs index 3da72cd..327add0 100644 --- a/server/src/routes/ui/node.rs +++ b/server/src/routes/ui/node.rs @@ -139,6 +139,11 @@ markup::define! { @node.title } } + div.subtitle { + span { + @node.subtitle + } + } } } NodePage<'a>(id: &'a str, node: &'a NodePublic, node_ext: &'a ExtendedNode, udata: &'a NodeUserData, children: &'a [(String, NodePublic, NodeUserData)], path: &'a [(String, NodePublic)], filter: &'a NodeFilterSort) { @@ -355,12 +360,13 @@ impl MediaInfoExt for MediaInfo { match maxdim { 30720.. => "32K", 15360.. => "16K", - 7680.. => "8K", - 3840.. => "4K", - 2560.. => "WQHD", - 1920.. => "Full HD", + 7680.. => "8K UHD", + 5120.. => "5K UHD", + 3840.. => "4K UHD", + 2560.. => "QHD 1440p", + 1920.. => "FHD 1080p", 1280.. => "HD 720p", - 640.. => "NTSC", + 854.. => "SD 480p", _ => "Unkown", } } |