Add Updated At to Tasks And Libraries

This commit is contained in:
speatzle 2024-05-28 21:32:57 +02:00
parent ec645f6162
commit c04aa74364
14 changed files with 74 additions and 38 deletions

View file

@ -14,6 +14,7 @@
<th>Status</th>
<th>Health</th>
<th>MD5</th>
<th>Updated At</th>
</tr>
{{range $f := .Files}}
<tr>
@ -35,6 +36,9 @@
<td>
{{ $f.MD5 }}
</td>
<td>
{{ $f.UpdatedAt }}
</td>
</tr>
{{end}}
</table>

View file

@ -44,6 +44,7 @@ Total: {{.Stats.TotalCount}}
<th>Type</th>
<th>Status</th>
<th>File</th>
<th>Updated At</th>
</tr>
{{range $t := .Tasks}}
<tr onclick="window.location='/tasks/{{ $t.ID }}';">
@ -65,6 +66,9 @@ Total: {{.Stats.TotalCount}}
<td>
{{ $t.File }}
</td>
<td>
{{ $t.UpdatedAt }}
</td>
</tr>
{{end}}
</table>