From fdad7e1f8ee6ab86b24d79f1ec0911b432b1d416 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 Dec 2024 15:05:44 -0600 Subject: Improve UI: Move if check out of table Create a new section for the errors display, and only display the table if there is at least one error. --- uploader/templates/phenotypes/job-status.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'uploader') diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html index cfbedd5..8ba3edf 100644 --- a/uploader/templates/phenotypes/job-status.html +++ b/uploader/templates/phenotypes/job-status.html @@ -40,9 +40,15 @@ {%endif%} -
+ + No errors found so far +
+ {%else%}File | @@ -58,17 +64,14 @@{{error.rowtitle}} | {{error.coltitle}} | {{error.message}} | -
---|---|---|---|
- No errors found so far. |