diff options
author | Frederick Muriuki Muriithi | 2024-12-03 16:37:28 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-12-03 16:38:00 -0600 |
commit | 70e626514fe205ca85a03adf60e4211e140ac7e4 (patch) | |
tree | c3ac87085edfa6de3f20b79662067d1d9dac45a3 /uploader/templates/phenotypes/job-status.html | |
parent | 65a05ea7aa9f703d35aa5e424c8038410a3e4be9 (diff) | |
download | gn-uploader-main.tar.gz |
Diffstat (limited to 'uploader/templates/phenotypes/job-status.html')
-rw-r--r-- | uploader/templates/phenotypes/job-status.html | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/job-status.html b/uploader/templates/phenotypes/job-status.html index 726d301..30316b5 100644 --- a/uploader/templates/phenotypes/job-status.html +++ b/uploader/templates/phenotypes/job-status.html @@ -30,8 +30,32 @@ {%block contents%} {%if job%} +<h4 class="subheading">Progress</h4> <div class="row"> - <p><strong>Status:</strong> {{job.status}}</p> + <p><strong>Process Status:</strong> {{job.status}}</p> + {%if metadata%} + <table class="table"> + <thead> + <tr> + <th>File</th> + <th>Status</th> + <th>Lines Processed</th> + <th>Total Errors</th> + </tr> + </thead> + + <tbody> + {%for file,meta in metadata.items()%} + <tr> + <td>{{file}}</td> + <td>{{meta.status}}</td> + <td>{{meta.linecount}}</td> + <td>{{meta["total-errors"]}}</td> + </tr> + {%endfor%} + </tbody> + </table> + {%endif%} {%if job.status in ("completed:success", "success")%} <p><a href="#" class="not-implemented btn btn-primary" |