/usr/share/pyshared/flask_autoindex/templates/__autoindex__/autoindex.html is in python-flask-autoindex 0.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | {% from "__autoindex__/macros.html" import entry, thead, breadcrumb
with context %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Index of {{ curdir.path }}</title>
{% block meta %}
<link rel="stylesheet" type="text/css"
href="{{ url_for('__autoindex__.static', filename='autoindex.css') }}" />
{% endblock %}
</head>
<body>
{% block header %}{% endblock %}
{% block table %}
<table>
<thead>
{{ thead() }}
{% if not curdir.is_root() %}
<tr>
<td class="breadcrumb" colspan="4">
<h1>{{ breadcrumb(curdir) }}</h1>
</td>
</tr>
{% endif %}
</thead>
<tbody>
{% for ent in entries %}
{{ entry(ent) }}
{% endfor %}
</tbody>
</table>
{% endblock %}
{% block footer %}
{% set env = request.environ %}
<address>{{ env.SERVER_SOFTWARE }}
Server at {{ env.HTTP_HOST }}
Port {{ env.SERVER_PORT }}</address>
{% endblock %}
</body>
</html>
|