46 lines
No EOL
1 KiB
Cheetah
46 lines
No EOL
1 KiB
Cheetah
{{template "head"}}
|
|
<h2>Library {{.Library.Name}}</h2>
|
|
<p>Enabled {{.Library.Enable}}
|
|
<h2>Files</h2>
|
|
<form method="POST" action="/scan/{{.Library.ID}}">
|
|
<input value="Scan" type="submit">
|
|
</form>
|
|
<div class="file-list">
|
|
<table>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Path</th>
|
|
<th>Size</th>
|
|
<th>Status</th>
|
|
<th>Health</th>
|
|
<th>MD5</th>
|
|
<th>Updated At</th>
|
|
</tr>
|
|
{{range $f := .Files}}
|
|
<tr>
|
|
<td>
|
|
{{ $f.ID }}
|
|
</td>
|
|
<td>
|
|
{{ $f.Path }}
|
|
</td>
|
|
<td>
|
|
{{ $f.Size }}
|
|
</td>
|
|
<td>
|
|
{{ $f.Status }}
|
|
</td>
|
|
<td>
|
|
{{ $f.Health }}
|
|
</td>
|
|
<td>
|
|
{{ $f.MD5 }}
|
|
</td>
|
|
<td>
|
|
{{ $f.UpdatedAt }}
|
|
</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
</div>
|
|
{{template "tail"}} |