rushlink/assets/templates/html/newFileUploadPasteSuccess.html.tmpl
2019-12-15 16:48:50 +05:30

16 lines
578 B
Cheetah

{{define "title"}}
Success - rushlink
{{end}}
{{define "body"}}
<pre>
{{.Host}}/{{.Paste.Key}}{{.FileExt}}
---
# View metadata
curl <a href="{{.Host}}/{{.Paste.Key}}{{.FileExt}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}">{{.Host}}/{{.Paste.Key}}{{.FileExt}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
# Delete this object
curl --request DELETE <a href="{{.Host}}/{{.Paste.Key}}{{.FileExt}}?deleteToken={{.Paste.DeleteToken | urlquery}}">{{.Host}}/{{.Paste.Key}}{{.FileExt}}?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
</pre>
{{end}}