From 509715d9134d09a166437dc7675112dc2cbdd219 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 7 Sep 2022 11:27:50 -0600 Subject: [PATCH] Better styling for long task results --- api/templates/default/etemplate2.css | 10 +++++++++- api/templates/default/long_task.xet | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index dbcd1593da..a501f3e692 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -2774,11 +2774,19 @@ div.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button.right { .long_task .message { height: inherit; + display: list-item; + border: none; + color: initial; + margin: 0px; + padding: 0px 0px 0px 2em; + background-repeat: no-repeat; + background-size: 1em; + background-image: url(images/check.svg); } .long_task .message.error { color: white; - background-color: red; + background-image: none; } div.ui-dialog div.ui-dialog-content > div { diff --git a/api/templates/default/long_task.xet b/api/templates/default/long_task.xet index 4ebdea0ca1..7fdaa3ae42 100644 --- a/api/templates/default/long_task.xet +++ b/api/templates/default/long_task.xet @@ -9,7 +9,7 @@