finished tag implementation

This commit is contained in:
ston1th 2019-08-24 14:27:58 +02:00
commit c3076c328a
28 changed files with 396 additions and 296 deletions

View file

@ -22,6 +22,7 @@
<tr>
<th>Path</th>
<th>Type</th>
<th>Tags</th>
<th>Options</th>
</tr>
</thead>
@ -31,6 +32,7 @@
<tr>
<th><a href="{{$item.Abs}}">{{$item.Name}}</a></th>
<td>Directory</td>
<td></td>
<td><div class="btn-group">
<a href="/move{{$item.Abs}}" class="btn btn-sm btn-primary">Move</a>
<a href="/delete{{$item.Abs}}" class="btn btn-sm btn-danger">Delete</a>
@ -41,6 +43,11 @@
<tr>
<th><a href="{{$item.Abs}}">{{$item.Name}}</a></th>
<td>File</td>
<td>
{{range $t := $item.Tags}}
<code>{{$t}}</code>
{{end}}
</td>
<td><div class="btn-group">
{{if $item.Scan}}
<a href="#" class="btn btn-sm btn-warning">Scanning</a>