ptth/ptth_handlebars/file_server_dir.html

40 lines
605 B
HTML
Raw Normal View History

<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
2020-11-02 19:17:22 +00:00
font-family: sans-serif;
}
.entry {
display: inline-block;
padding: 10px;
min-width: 50%;
}
.entry_list div:nth-child(odd) {
background-color: #ddd;
}
</style>
<title>{{path}}</title>
</head>
<body>
<div class="entry_list">
<div>
<a class="entry" href="../">../</a>
</div>
{{#each entries}}
<div>
<a class="entry" href="{{this.encoded_file_name}}{{this.trailing_slash}}">
{{this.file_name}}{{this.trailing_slash}}
</a>
</div>
{{/each}}
</div>
</body>
</html>