secure-files

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

download.mustache (472B)


      1 <!DOCTYPE html>
      2 <html>
      3 	<head>
      4 	</head>
      5 	<body style="text-align: center">
      6 		<h1>Download {{file.name}}</h1>
      7 		<p>You're about to download <b>{{file.name}}</b> (type {{file.contentType}}).</p>
      8 		<p style="color: red">Please note that for security reasons, the below button will work only once, {{file.name}} will be deleted from the server.</p>
      9 
     10 		<form method="get" action="/download/{{id}}/confirm">
     11 			<input type="submit" value="Download" />
     12 		</form>
     13 	</body>
     14 </html>