Re-worked test views and routes for new DB schema
This commit is contained in:
@ -9,16 +9,20 @@
|
||||
<table class="u-full-width">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Test name</th>
|
||||
<th>Description</th>
|
||||
<th>Test Date</th>
|
||||
<th>Benchmark</th>
|
||||
<th>Hardware</th>
|
||||
<th># of Results</th>
|
||||
<th>Last updated</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for t in tests %}
|
||||
<tr>
|
||||
<td><a href="{{ url_for('test.view', { test_id: t.id }) }}">{{ t.name }}</a></td>
|
||||
<td>{{ t.description | slice(0, 100) }}</td>
|
||||
<td><a href="{{ url_for('test.view', { test_id: t.id }) }}">{{ t.date_tag }}</a></td>
|
||||
<td>{{ t.benchmark.name }}</td>
|
||||
<td>{{ t.component.name }}</td>
|
||||
<td>{{ t.results | length }}</td>
|
||||
<td>{{ t.updated_at | date("F jS \\a\\t g:ia") }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user