Files
OpenBench/Templates/OpenBench/index.html
T
2023-05-09 11:47:38 -04:00

50 lines
1.8 KiB
HTML

{% extends "OpenBench/base.html" %}
{% block content %}
<table class="test-list stripes hoverable">
<!-- Only show Pending tests for the front page of the Index -->
{% if paging.page == 1 %}
<!-- Currently Pending tests (Waiting to be approved) -->
{% if pending %}
<tr class="table-header"><th colspan='6'>Pending</th></tr>
{% for test in pending %}
{% include "OpenBench/Blocks/testsummary.html" %}
{% endfor %}
<tr class="table-spacer"><th colspan='6'></th></tr>
{% endif %}
<!-- Currently Awaiting tests (Waiting for Artifacts) -->
{% if awaiting %}
<tr class="table-header"><th colspan='6'>Awaiting Artifacts</th></tr>
{% for test in awaiting %}
{% include "OpenBench/Blocks/testsummary.html" %}
{% endfor %}
<tr class="table-spacer"><th colspan='6'></th></tr>
{% endif %}
<!-- Currently Running tests (Waiting to be completed) -->
{% if active %}
<tr class="table-header"><th colspan='6'>Active {{status}}</th></tr>
{% for test in active %}
{% include "OpenBench/Blocks/testsummary.html" %}
{% endfor %}
<tr class="table-spacer"><th colspan='6'></th></tr>
{% endif %}
{% endif %}
<!-- Tests which have already finished -->
<tr class="table-header"><th colspan='6'>Finished</th></tr>
{% for test in completed %}
{% include "OpenBench/Blocks/testsummary.html" %}
{% endfor %}
</table>
{% include "OpenBench/Blocks/pagebrowser.html" %}
{% endblock %}