60 lines
912 B
HTML
60 lines
912 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<style>
|
|
body {
|
|
font-family: sans-serif;
|
|
}
|
|
.entry {
|
|
display: inline-block;
|
|
padding: 10px;
|
|
width: 100%;
|
|
text-decoration: none;
|
|
}
|
|
.grey {
|
|
color: #888;
|
|
}
|
|
.entry_list {
|
|
width: 100%;
|
|
}
|
|
.entry_list tr:nth-child(even) {
|
|
background-color: #ddd;
|
|
}
|
|
</style>
|
|
<title>{{path}} {{server_name}}</title>
|
|
</head>
|
|
<body>
|
|
|
|
<p>{{server_name}}</p>
|
|
|
|
<p>{{path}}</p>
|
|
|
|
<table class="entry_list">
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Size</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td><a class="entry" href="../">📁 ../</a></td>
|
|
<td></td>
|
|
</tr>
|
|
|
|
{{#each entries}}
|
|
<tr>
|
|
<td><a class="entry" href="{{this.encoded_file_name}}{{this.trailing_slash}}">
|
|
{{this.icon}} {{this.file_name}}{{this.trailing_slash}}</a></td>
|
|
<td><span class="grey">{{this.size}}</span></td>
|
|
</tr>
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html>
|