upload.gtpl 391 B

1234567891011121314151617
  1. <html>
  2. <head>
  3. <title>Upload file</title>
  4. </head>
  5. <body>
  6. <a href="/home">home</a>
  7. <form enctype="multipart/form-data" action="upload" method="post">
  8. <input type="file" name="uploadfile" />
  9. <input type="hidden" name="token" value="{{.}}"/>
  10.   folder:<br>
  11.   <input type="text" name="folder"><br>
  12. <input type="submit" value="upload" />
  13. </form>
  14. </body>
  15. </html>