Modified some views, routes and models to work with the new many-to-many for tests and benchmarks

This commit is contained in:
Gregory Ballantine
2024-06-03 08:32:37 -04:00
parent 15377da52d
commit f27490e192
6 changed files with 21 additions and 14 deletions

View File

@ -10,9 +10,8 @@
<thead>
<tr>
<th>Test title</th>
<th>Benchmark</th>
<th>Hardware</th>
<th># of Results</th>
<th># of benchmarks</th>
<th>Last updated</th>
</tr>
</thead>
@ -20,9 +19,8 @@
{% for t in tests %}
<tr>
<td><a href="{{ url_for('test.view', { test_id: t.id }) }}">{{ t.title }}</a></td>
<td>{{ t.benchmark.name }}</td>
<td>{{ t.component.name }}</td>
<td>{{ t.results | length }}</td>
<td>{{ t.benchmarks() | length }}</td>
<td>{{ t.updated_at | date("F jS \\a\\t g:ia") }}</td>
</tr>
{% endfor %}