added reindexing

This commit is contained in:
ston1th 2019-08-24 17:42:02 +02:00
commit bb22097b7b
17 changed files with 226 additions and 47 deletions

View file

@ -12,7 +12,9 @@
{{if .Data.Scan}}
<a href="#" class="btn btn-sm btn-warning">Scanning</a>
{{else}}
{{if not .Data.Flag}}
{{if .Data.Flag}}
<a href="/reindex{{.Data.Name}}" class="btn btn-sm btn-primary">Reindex</a>
{{else}}
<a href="/index{{.Data.Name}}" class="btn btn-sm btn-success">Index</a>
{{end}}
{{end}}