2023-11-27 23:41:48 -05:00
|
|
|
{{ template "header" . }}
|
|
|
|
|
|
|
|
<div class="row">
|
2023-12-02 22:16:16 -05:00
|
|
|
<h2>Tests</h2>
|
|
|
|
<a href="/test/create">Create a new test</a>
|
2023-11-27 23:41:48 -05:00
|
|
|
|
|
|
|
<table class="twelve columns">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>Title</td>
|
|
|
|
<td>Created at</td>
|
|
|
|
<td>Last updated</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2023-12-02 22:16:16 -05:00
|
|
|
{{ range $p := .tests }}
|
2023-11-27 23:41:48 -05:00
|
|
|
<tr>
|
2023-12-02 22:16:16 -05:00
|
|
|
<td><a href="/test/{{ $p.ID }}">{{ $p.Name }}</a></td>
|
2023-11-27 23:41:48 -05:00
|
|
|
<td>{{ $p.CreatedAt.Format "01/02/2006 15:04am" }}</td>
|
|
|
|
<td>{{ $p.UpdatedAt.Format "01/02/2006 15:04am" }}</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ template "footer" . }}
|