moved InitValidation checks to log to a Job to show errors in front-end, and moved the creation of the symlinks to the InitValidation so we can restart paweb docker container and it will recreate the symlinks in static without needing an import. Also added token highlighting of a failed job

This commit is contained in:
2021-06-22 19:30:04 +10:00
parent 9eb82bf1c3
commit eb574e3c75
3 changed files with 30 additions and 13 deletions

View File

@@ -25,7 +25,11 @@
</div>
<div class="row col-lg-12">
<label class="form-control-plaintext col-lg-2">Current state:</label>
<label class="form-control-plaintext col-lg-10">{{job.state}}</label>
{% if job.state != "Complete" %}
<label class="form-control-plaintext col-lg-10" style="background-color:red">{{job.state}}</label>
{% else %}
<label class="form-control-plaintext col-lg-10">{{job.state}}</label>
{% endif %}
</div>
{% if job.wait_for != None %}
<div class="row col-lg-12">