Files
OpenBench/Templates/OpenBench/index.html
T
Luecx e8fcc6a787 Reworked CSS (#103)
Recklessly merging, YOLO.
2022-11-22 03:13:40 -05:00

81 lines
4.0 KiB
HTML

{% extends "OpenBench/base.html" %}
{% block content %}
{% if paging.page == 1 %}
{% if pending %}
<div class="align-self-center w-100 text-center mt-4 bg-black font-weight-bold mb-0 py-2 rounded-top" style="color:green;">
<h5>
Pending
</h5>
</div>
<table class="table table-sm table-hover table-striped datatable">
<thead class="bg-black">
<tr>
<th class="px-3" style="width:10%; color:green;" scope="col">Author</th>
<th class="px-3" style="width:10%; color:green;" scope="col">Engine</th>
<th class="px-3" style=" color:green;" scope="col">Name</th>
<th class="px-3 text-center" style="width: 5%; color:green;" scope="col"><i class="fa-brands fa-github"></i></th>
<th class="px-3 text-center" style="width:12%; color:green;" scope="col">TC <i class="fa-solid fa-clock"></i></th>
<th class="px-3" style=" color:green;" scope="col">Result</th>
</tr>
</thead>
{% for test in pending %}
{% include "OpenBench/Blocks/testsummary.html" %}
{% endfor %}
<tr class="table-spacer">
<th></th>
</tr>
</table>
{% endif %}
{% if active %}
<div class="align-self-center w-100 text-center mt-4 bg-black font-weight-bold mb-0 py-2 rounded-top" style="color:green;">
<h5>
Active {{ status }}
</h5>
</div>
<table class="table table-sm table-hover table-striped datatable" style="table-layout: fixed">
<thead class="bg-black">
<tr>
<th class="px-3" style="width:10%; color:green;" scope="col">Author</th>
<th class="px-3" style="width:10%; color:green;" scope="col">Engine</th>
<th class="px-3" style=" color:green;" scope="col">Name</th>
<th class="px-3 text-center" style="width: 5%; color:green;" scope="col"><i class="fa-brands fa-github"></i></th>
<th class="px-3 text-center" style="width:12%; color:green;" scope="col">TC <i class="fa-solid fa-clock"></i></th>
<th class="px-3" style=" color:green;" scope="col">Result</th>
</tr>
</thead>
{% for test in active %}
{% include "OpenBench/Blocks/testsummary.html" %}
{% endfor %}
</table>
{% endif %}
{% endif %}
<div class="align-self-center w-100 text-center mt-4 bg-black font-weight-bold mb-0 py-2 rounded-top" style="color:green;">
<h5>
Finished
</h5>
</div>
<table class="mw-100 table table-sm table-hover table-striped datatable" style="table-layout: fixed">
<thead class="bg-black">
<tr>
<th class="px-3" style="width:10%; color:green;" scope="col">Author</th>
<th class="px-3" style="width:10%; color:green;" scope="col">Engine</th>
<th class="px-3" style=" color:green;" scope="col">Name</th>
<th class="px-3 text-center" style="width: 5%; color:green;" scope="col"><i class="fa-brands fa-github"></i></th>
<th class="px-3 text-center" style="width:12%; color:green;" scope="col">TC <i class="fa-solid fa-clock"></i></th>
<th class="px-3" style=" color:green;" scope="col">Result</th>
</tr>
</thead>
{% for test in completed %}
{% include "OpenBench/Blocks/testsummary.html" %}
{% endfor %}
</table>
{% include "OpenBench/Blocks/pagebrowser.html" %}
{% endblock %}