Simple file upload and browsing
This commit is contained in:
18
tmpls/browse.html
Normal file
18
tmpls/browse.html
Normal file
@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Lair Tremporary Storage</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="/etc/simple.css" />
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
{{range .}}
|
||||
<tr>
|
||||
<td><a href="/store/{{.FileName}}">{{.ReadableName}}</a></td>
|
||||
<td><span>{{.Perm}}</span></td>
|
||||
<td><span>{{.Modtime}}</span></td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user