about summary refs log tree commit diff
path: root/uploader/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-12-03 15:03:48 -0600
committerFrederick Muriuki Muriithi2024-12-03 15:11:27 -0600
commit2dd7f21ef53c6bd05741a4360105ea270558f8e1 (patch)
tree5f1a51097a073a49d5744f7c6c16fb65f5c486b0 /uploader/templates
parent6bf0801db67a64b574128eb1b561046a4ec1d042 (diff)
downloadgn-uploader-2dd7f21ef53c6bd05741a4360105ea270558f8e1.tar.gz
Enable limiting of number of errors to fetch.
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/phenotypes/job-status.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html
index d531a71..cfbedd5 100644
--- a/uploader/templates/phenotypes/job-status.html
+++ b/uploader/templates/phenotypes/job-status.html
@@ -40,6 +40,35 @@
   {%endif%}
 </div>
 
+<div class="row" style="min-height: 3em; max-height: 30em; overflow: auto;">
+  <table class="table">
+    <caption>Errors</caption>
+    <thead>
+      <tr>
+        <th>File</th>
+        <th>Row</th>
+        <th>Column</th>
+        <th>Message</th>
+    </thead>
+
+    <tbody>
+      {%for error in errors%}
+      <tr>
+        <td>{{error.filename}}</td>
+        <td>{{error.rowtitle}}</td>
+        <td>{{error.coltitle}}</td>
+        <td>{{error.message}}</td>
+      </tr>
+      {%else%}
+      <tr>
+        <td colspan="4" class="text-info">
+          No errors found so far.
+        </td>
+      </tr>
+      {%endfor%}
+    </tbody>
+  </table>
+</div>
 <div class="row">
   {{cli_output(job, "stdout")}}
 </div>