Files
OpenBench/Templates/OpenBench/Blocks/testsummary.html
T

27 lines
2.0 KiB
HTML

{% load mytags uitags %}
<td class="col-author"><a href="/user/{{test.author}}" title="{{test.author|capfirst}}">{{test.author|capfirst}}</a></td>
<td class="col-engine">{{test.dev_engine}}</td>
<td class="col-test">
<a href="{{test|workload_url}}">{{test|prettyDevName}}</a>
{% if test.error %}<span class="flag flag-error" title="Crash or illegal move">crash</span>{% endif %}
{% if test|test_is_fischer %}<span class="flag flag-frc" title="Fischer random chess">frc</span>{% endif %}
{% with progress=test|progress_info %}
{% if progress.gauge %}
<div class="llr llr-{{ progress.tone }}" role="meter" aria-label="LLR" aria-valuemin="{{ progress.lower }}" aria-valuemax="{{ progress.upper }}" aria-valuenow="{{ progress.llr }}" title="LLR {{ progress.llr }} (bounds {{ progress.lower }} to {{ progress.upper }})">
<span class="llr-fill" style="left: {{ progress.left }}%; width: {{ progress.width }}%"></span>
<span class="llr-zero" style="left: {{ progress.zero }}%"></span>
</div>
<div class="llr-scale"><span>{{ progress.lower }}</span><b>{{ progress.llr }}</b><span>{{ progress.upper }}</span></div>
{% elif progress %}
<div class="ob-progress ob-progress-{{ progress.tone }}" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="{{ progress.pct }}" title="{{ progress.pct }}%"><span style="width: {{ progress.pct }}%"></span></div>
{% endif %}
{% endwith %}
</td>
<td class="col-diff textcenter"><a href="{{test|gitDiffLink}}">diff</a></td>
<td class="col-tc">
{{test.dev_time_control}}
{% if test|test_is_time_odds %}<span class="flag flag-time" title="Time odds">time odds</span>{% endif %}
{% if test|test_is_smp_odds %}<span class="flag flag-smp" title="Thread odds">thread odds</span>{% endif %}
</td>
<td class='statblock statblock-{{test|testResultColour}} state-{{ test|test_status }} col-result'><strong>{{test|shortStatBlock|linebreaksbr}}</strong></td>