ready for v1.0rc1
This commit is contained in:
parent
84d48a6eea
commit
ce5764840f
15 changed files with 140 additions and 49 deletions
12
templates/enoent.html
Normal file
12
templates/enoent.html
Normal 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}}
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
<input type="hidden" name="token" value="{{.Token}}">
|
||||
<div class="form-group">
|
||||
<label class="col-form-label" for="name">Name</label>
|
||||
<input class="form-control input-sm" type="text" id="name" name="name" autocomplete="off" value="{{.Data}}">
|
||||
<input class="form-control input-sm" type="text" id="name" name="name" autocomplete="off" value="{{.Data}}" placeholder="optional">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="input-group mb-3">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue