diff options
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) { |