Fixed timestamps; added info to dashboard
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine
2026-07-24 12:18:22 -04:00
parent 4e0223052e
commit 2d62d1d18b
8 changed files with 100 additions and 23 deletions
+75
View File
@@ -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" . }}