]> code.octet-stream.net Git - broadcaster/blob - broadcaster-server/templates/files.html
c86c6ceb7cead75331175ba552e6067a0abb81f1
[broadcaster] / broadcaster-server / templates / files.html
1
2 <h1>Files! List</h1>
3 <p>All files can be downloaded from the <a href="/file-downloads/">public file listing</a>.</p>
4 <ul>
5 {{range .Files}}
6 <li><b>{{.Name}}</b><form action="/files/delete" method="POST"><input type="hidden" name="filename" value="{{.Name}}"><input type="submit" value="Delete"></form></li>
7 {{end}}
8 </ul>
9 <h2>Upload New File</h2>
10 <p>
11 <form action="/files/upload" method="post" enctype="multipart/form-data">
12 <input type="file" name="file">
13 <input type="submit" value="Upload">
14 </form>
15 </p>