go1.16 and embed

This commit is contained in:
ston1th 2021-02-18 22:36:49 +01:00
commit 8e7bcfc21b
37 changed files with 98 additions and 1134 deletions

View file

@ -0,0 +1,12 @@
{{define "body"}}
<div class="alert alert-danger msg">
<h4>File missing!</h4>
<p>This file is indexed but has been removed from the file system.</p>
<p>Do you want to delete this entry from the index?</p>
</div>
<form class="form-horizontal" action="/delete{{.Path}}" method="post">
<input type="hidden" name="token" value="{{.Token}}">
<input type="hidden" name="clean" value="true">
<button class="btn btn-sm btn-danger" type="submit">Delete</button>
</form>
{{end}}