From 9541c397e3ff2330bed13dc4e9393bfcb48a785c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Mon, 21 Feb 2022 22:25:48 +0100 Subject: [PATCH] better handling of invalid paths in store view --- src/routes.rs | 4 ++++ webui/src/views/Store.svelte | 13 +++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/routes.rs b/src/routes.rs index 40bf61b..81ba47b 100644 --- a/src/routes.rs +++ b/src/routes.rs @@ -608,6 +608,10 @@ pub async fn latest_files(state: web::Data) -> Result {#each store.blobs as blob} - + @@ -43,7 +43,7 @@ {#each blob.paths.slice(1) as path} - + {path.path} @@ -90,12 +90,17 @@ .size { white-space: nowrap; } + + .invalid { + font-weight: 200; + } + tbody:nth-child(odd) { - font-weight: 300; + font-weight: 350; } tbody:nth-child(even) { - font-weight: 500; + font-weight: 450; } }