66 lines
969 B
HTML
66 lines
969 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<style>
|
|
body {
|
|
font-family: sans-serif;
|
|
}
|
|
td {
|
|
padding: 0;
|
|
}
|
|
td > * {
|
|
padding: 10px;
|
|
display: block;
|
|
}
|
|
.entry {
|
|
text-decoration: none;
|
|
}
|
|
.grey {
|
|
color: #888;
|
|
text-align: right;
|
|
}
|
|
.entry_list {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
tbody tr:nth-child(odd) {
|
|
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>
|