added python ldap / login pages

This commit is contained in:
2021-06-26 09:20:11 +10:00
parent d1ed80bd35
commit 371e2af64b
11 changed files with 134 additions and 5 deletions

View File

@@ -8,9 +8,9 @@
{% 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>'
row='<tr><td class="table-danger"><a 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>'
row='<tr><td class="table-secondary"><i><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 %}
@@ -21,7 +21,12 @@
{% endif %}
{% endfor %}
{% endif %}
row+= '</td><td>{{job.start_time}}</td><td>'
{% if job.state == "Withdrawn" %}
row+= '</td><td>{{job.start_time}}</i></td><td>'
{% else %}
row+= '</td><td>{{job.start_time}}</td><td>'
{% endif %}
{% if job.pa_job_state != "Completed" %}
{% if job.num_files and job.num_files > 0 %}
{% set prog=(job.current_file_num/job.num_files*100)|round|int %}