This commit is contained in:
@@ -2,4 +2,79 @@
|
||||
|
||||
<p>This is the BLT dashboard.</p>
|
||||
|
||||
<section class="row">
|
||||
<h3>Recently updated tests:</h3>
|
||||
|
||||
<table class="twelve columns card-2">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Title</td>
|
||||
<td>Created at</td>
|
||||
<td>Last updated</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range $p := .tests }}
|
||||
<tr>
|
||||
<td><a href="/test/{{ $p.ID }}">{{ $p.Name }}</a></td>
|
||||
<td>{{ $p.CreatedAt.Format "01/02/2006 3:04pm" }}</td>
|
||||
<td>{{ $p.UpdatedAt.Format "01/02/2006 3:04pm" }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>Visit the <a href="/test/list">tests</a> page to for more information and actions.</p>
|
||||
</section>
|
||||
|
||||
<hr>
|
||||
|
||||
<section class="row">
|
||||
<div class="six columns">
|
||||
<h3>Recently updated hardware:</h3>
|
||||
|
||||
<table class="u-full-width card-2">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Created at</td>
|
||||
<td>Last updated</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range $h := .hardware }}
|
||||
<tr>
|
||||
<td><a href="/hardware/{{ $h.ID }}">{{ $h.Name }}</a></td>
|
||||
<td>{{ $h.CreatedAt.Format "01/02/2006 3:04pm" }}</td>
|
||||
<td>{{ $h.UpdatedAt.Format "01/02/2006 3:04pm" }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="six columns">
|
||||
<h3>Recently updated benchmarks:</h3>
|
||||
|
||||
<table class="u-full-width card-2">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Name</td>
|
||||
<td>Created at</td>
|
||||
<td>Last updated</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range $b := .benchmarks }}
|
||||
<tr>
|
||||
<td><a href="/benchmark/{{ $b.ID }}">{{ $b.Name }}</a></td>
|
||||
<td>{{ $b.CreatedAt.Format "01/02/2006 3:04pm" }}</td>
|
||||
<td>{{ $b.UpdatedAt.Format "01/02/2006 3:04pm" }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ template "footer" . }}
|
||||
|
||||
Reference in New Issue
Block a user