diff options
author | metamuffin <metamuffin@disroot.org> | 2025-05-18 17:06:15 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-05-18 17:06:15 +0200 |
commit | 630559d69f4e6adba776186bcebea49a40386cc7 (patch) | |
tree | 9074ca6cabc185cac0c74e344aa5a79be4cc1ad3 /src | |
parent | a723073738aa512514a9cb2f9826184a2507b709 (diff) | |
download | isda-630559d69f4e6adba776186bcebea49a40386cc7.tar isda-630559d69f4e6adba776186bcebea49a40386cc7.tar.bz2 isda-630559d69f4e6adba776186bcebea49a40386cc7.tar.zst |
downloader script and status reporting works
Diffstat (limited to 'src')
-rw-r--r-- | src/style.css | 5 | ||||
-rw-r--r-- | src/webui.rs | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/style.css b/src/style.css index 5e1ed0b..8ca6be1 100644 --- a/src/style.css +++ b/src/style.css @@ -21,6 +21,11 @@ height: 72px; float: left; } +.task .status { + text-overflow: ellipsis; + white-space: wrap; + overflow: hidden; +} .task.queue { border-color: #6e6eff; } diff --git a/src/webui.rs b/src/webui.rs index 17eb5e0..f2685d0 100644 --- a/src/webui.rs +++ b/src/webui.rs @@ -77,6 +77,9 @@ markup::define!( span.subtitle { @s } br; } span.key { @key } + @if let Some(s) = data.get("status").and_then(Value::as_str) { + pre.status { @s } + } } } Worker<'a>(id: u64, w: &'a crate::Worker) { |