Added Test class to track benchmark groups
This commit is contained in:
28
views/test/list.twig
Normal file
28
views/test/list.twig
Normal file
@ -0,0 +1,28 @@
|
||||
{% extends 'layout.twig' %}
|
||||
|
||||
{% block title %}List of Tests{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p>Tests list...</p>
|
||||
|
||||
{% if tests | length > 0 %}
|
||||
<table class="u-full-width">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Test name</th>
|
||||
<th>Description</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>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p>There are no tests in the database - perhaps you should <a href="{{ url_for('test.add') }}">create one</a>?</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user