Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
{{define "content"}}
|
||||
<section class="card result">
|
||||
<h1>Uploaded</h1>
|
||||
<p class="filename">{{.Meta.Filename}}</p>
|
||||
|
||||
<label class="field">
|
||||
<span>Download link</span>
|
||||
<input type="text" id="link" value="{{.URL}}" readonly>
|
||||
</label>
|
||||
|
||||
<dl>
|
||||
<dt>Size</dt><dd>{{.Size}}</dd>
|
||||
<dt>Expires</dt><dd>{{.Expires}}</dd>
|
||||
<dt>SHA-256</dt><dd class="mono wrap">{{.Meta.SHA256}}</dd>
|
||||
</dl>
|
||||
|
||||
<div class="warn">
|
||||
<h2>Delete token</h2>
|
||||
<p>Shown once. Keep it if you want to remove the file before it expires.</p>
|
||||
<p class="mono wrap">{{.DeleteToken}}</p>
|
||||
<form method="post" action="{{.Base}}api/d/{{.Meta.ID}}/delete">
|
||||
<input type="hidden" name="token" value="{{.DeleteToken}}">
|
||||
<button type="submit" class="danger">Delete it now</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<p><a href="{{.Base}}">Upload another</a></p>
|
||||
</section>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user