43 lines
1008 B
Twig
43 lines
1008 B
Twig
{% extends 'layouts/default.twig' %}
|
|
|
|
{% block title %}{{ benchmark.name }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<h2>{{ benchmark.name }}</h2>
|
|
|
|
<p>Scoring type: {{ benchmark.scoring }}</p>
|
|
|
|
<p>{{ benchmark.description }}</p>
|
|
|
|
<hr>
|
|
|
|
<h2>Recently Updated Tests Using This Benchmark:</h2>
|
|
|
|
{% if benchmark.getTests().length > 0 %}
|
|
<table class="twelve columns">
|
|
<thead>
|
|
<tr>
|
|
<th>Test Name</th>
|
|
<th>Hardware Tested</th>
|
|
<th>Last Updated</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for t in benchmark.getTests() %}
|
|
<tr>
|
|
<td><a href="/test/{{ t.id }}">{{ t.title }}</a></td>
|
|
<td>{{ t.getHardware().name }}</td>
|
|
<td>{{ t.updatedAt | date('m/d/Y g:ia') }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% else %}
|
|
<p>There are no tests registered yet for this hardware.</p>
|
|
{% endif %}
|
|
|
|
<p><a href="/benchmark">Back</a></p>
|
|
</div>
|
|
{% endblock %}
|