first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>File Browser</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Size</th>
|
||||
</tr>
|
||||
{{range .}}
|
||||
<tr>
|
||||
{{if .IsDir}}
|
||||
<td><a href="/{{.Href}}">/{{.Name}}</a></td>
|
||||
{{else}}
|
||||
<td><a href="/{{.Href}}">{{.Name}}</a></td>
|
||||
{{end}}
|
||||
<td>{{.Size}}</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user