aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-10 14:53:57 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-10 14:53:57 +0200
commit70d45003256b4ea9f3b3c2c99f845926bc1af6e1 (patch)
tree70e15a7916450578b898247c4021457762d77f6b
parent853a0022084a503b4747dfadd4e217b950ec6d8d (diff)
downloadjellything-70d45003256b4ea9f3b3c2c99f845926bc1af6e1.tar
jellything-70d45003256b4ea9f3b3c2c99f845926bc1af6e1.tar.bz2
jellything-70d45003256b4ea9f3b3c2c99f845926bc1af6e1.tar.zst
platzhalter
-rw-r--r--server/src/routes/ui/node.rs16
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..9cc59c8 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 {
+ a[href=uri!(r_library_node(id))] {
+ "Platzhalter"
+ }
+ }
}
}
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",
}
}