use bg-secondary for withdrawn jobs

This commit is contained in:
2021-06-22 21:18:24 +10:00
parent 6c3cdf79eb
commit 82f6b915de
2 changed files with 4 additions and 0 deletions

View File

@@ -9,6 +9,8 @@
{% for job in jobs %}
{% if job.state == "Failed" %}
row='<tr><td class="bg-danger"><a class="text-white" href="{{url_for('joblog', id=job.id)}}">Job #{{job.id}} - {{job.name}}</a>'
{% elif job.state == "Withdrawn" %}
row='<tr><td class="bg-secondary"><a class="text-white" 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 %}