rushlink/assets/templates/html/newFileUploadPasteSuccess.html.tmpl
2019-12-15 12:42:10 +05:30

16 lines
658 B
Cheetah

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