use bootstrap to style job errors, not direct css

This commit is contained in:
2021-06-22 20:02:23 +10:00
parent c8f82dbb6d
commit b84c671690
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
{% for job in jobs %}
{% 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>'
row='<tr><td class="bg-danger"><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 %}