]> code.octet-stream.net Git - broadcaster/blob - server/templates/files.html
Make headings consistent in UI
[broadcaster] / server / templates / files.html
1
2 <h1>Audio File Management</h1>
3 <p>All files can be downloaded from the <a href="/file-downloads/">public file listing</a>.</p>
4 <table class="listing" border="1">
5 <tr><th>Name</th><th></th></tr>
6 {{range .Files}}
7 <tr>
8 <td>{{.Name}}</td>
9 <td><form action="/files/delete" method="POST"><input type="hidden" name="filename" value="{{.Name}}"><input type="submit" value="Delete"></form></td>
10 </tr>
11 {{end}}
12 </table>
13 <h2>Upload New File</h2>
14 <p>
15 <form action="/files/upload" method="post" enctype="multipart/form-data">
16 <input type="file" name="file">
17 <input type="submit" value="Upload">
18 </form>
19 </p>