Removed projects; added tests
This commit is contained in:
29
views/test/list.twig
Normal file
29
views/test/list.twig
Normal file
@ -0,0 +1,29 @@
|
||||
{% extends 'layouts/default.twig' %}
|
||||
|
||||
{% block title %}List of Tests{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<h2>Tests</h2>
|
||||
<a href="/test/add">Add a test</a>
|
||||
|
||||
<table class="twelve columns">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Date Tag</td>
|
||||
<td>Created at</td>
|
||||
<td>Last updated</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for t in tests %}
|
||||
<tr>
|
||||
<td><a href="/test/{{ t.id }}">{{ t.dateTag }} {{ t.getHardware().name }}</a></td>
|
||||
<td>{{ t.createdAt | date('m/d/Y g:ia') }}</td>
|
||||
<td>{{ t.updatedAt | date('m/d/Y g:ia') }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user