Skip to content
Snippets Groups Projects
Verified Commit 6abb7530 authored by psy's avatar psy
Browse files

add template for rc3

parent e7f1d902
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<style type="text/css">
body,html {
background: #fff;
font-family: "Bitstream Vera Sans","Lucida Grande","Lucida Sans Unicode",Lucidux,Verdana,Lucida,sans-serif;
}
tr:nth-child(even) {
background:#f4f4f4;
}
th,td {
padding:0.1em 0.5em;
}
th {
text-align:left;
font-weight:bold;
background:#eee;
border-bottom:1px solid #aaa;
}
#list {
border:1px solid #aaa;
width:100%;
}
a {
color:#a33;
}
a:hover {
color:#e33;
}
</style>
</head>
<body>
<h1>Index of /{{ path }}</h1>
<table id="list">
<thead>
<tr>
<th style="width:55%">
File Name
</th>
<th style="width:20%">
File Size</th>
</tr>
</thead>
<tbody>
<tr>
<td class="link">
<a href="../">Parent directory/</a>
</td>
<td class="size">-</td>
</tr>
{% for entry, stat, is_dir in entries if not entry.startswith('.') %}
<tr>
<td class="link">
<a href="{{ entry + ('/' if is_dir else '') }}" title="{{ entry }}">{{ entry + ('/' if is_dir else '') }}</a>
</td>
<td class="size">{{ '-' if is_dir else stat.st_size|filesizeformat }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<p><a href="https://legal.rc3.world">Impressum - Datenschutzerklärung</a></p>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment