From 2abe10ea8ac059d7cab83895bb5d2ec6d4a6ce1c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 19 May 2022 15:26:15 +0300 Subject: Update Web-UI: use new error collection paradigm - README.org: document how to run scripts manually - manifest.scm: remove python-rq as a dependency - qc_app/jobs.py: rework job launching and processing - qc_app/parse.py: use reworked job processing - qc_app/templates/job_progress.html: display progress correctly - qc_app/templates/parse_results.html: display final results - scripts/worker.py: new worker script --- qc_app/templates/parse_results.html | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 qc_app/templates/parse_results.html (limited to 'qc_app/templates/parse_results.html') diff --git a/qc_app/templates/parse_results.html b/qc_app/templates/parse_results.html new file mode 100644 index 0000000..a750bb5 --- /dev/null +++ b/qc_app/templates/parse_results.html @@ -0,0 +1,48 @@ +{%extends "base.html"%} + +{%block title%}Parse Results{%endblock%} + +{%block contents%} +

{{job_name}}: parse results

+ +{%if errors | length == 0 %} +No errors found in the file +{%else %} +

We found the following errors

+ + + + + + + + + + + + + {%for error in errors%} + + + + + + + {%endfor%} + +
line numbercolumn(s)errorerror message
{{error["line"]}} + {%if isinvalidvalue(error):%} + {{error.column}} + {%else: %} + {{error.columns}} + {%endif %} + + {%if isinvalidvalue(error):%} + Invalid Value + {%else: %} + Duplicate Header + {%endif %} + {{error["message"]}}
+{%endif%} + +{%endblock%} -- cgit v1.2.3