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:
@@ -7,7 +7,11 @@
|
||||
var completed_rows=Array()
|
||||
|
||||
{% for job in jobs %}
|
||||
row='<tr><td><a href="{{url_for('joblog', id=job.id)}}">Job #{{job.id}} - {{job.name}}</a>'
|
||||
{% if job.state == "Failed" %}
|
||||
row='<tr><td style="background-color:red"><a href="{{url_for('joblog', id=job.id)}}">Job #{{job.id}} - {{job.name}}</a>'
|
||||
{% else %}
|
||||
row='<tr><td><a href="{{url_for('joblog', id=job.id)}}">Job #{{job.id}} - {{job.name}}</a>'
|
||||
{% endif %}
|
||||
{% if job.name != "rmdups" %}
|
||||
{% for ex in job.extra %}
|
||||
{% if 'path' == ex.name or ('path_prefix'==ex.name and job.name == 'checkdups') %}
|
||||
|
||||
Reference in New Issue
Block a user