film2.0/templates/directory.html

30 lines
585 B
HTML
Raw Normal View History

2024-01-23 16:31:46 +00:00
{% extends 'base.html' %}
{% block title %}{{ path }}{% endblock %}
{% block body %}
2024-01-24 22:53:32 +00:00
2024-01-25 01:19:00 +00:00
<form action="/search" method="GET">
<input type="text" name="q" />
<input type="submit" value="Buscar" />
</form>
2024-01-23 16:31:46 +00:00
2024-01-25 01:19:00 +00:00
{% if path != "/" %}
<a href="..">&lt;--</a>
<br /><br />
{% endif %}
2024-01-23 16:31:46 +00:00
2024-01-25 01:19:00 +00:00
{% for dir in dirs %}
<a href="{{ path_join(path, dir) }}">{{ dir }}</a><br />
{% endfor %}
2024-01-23 16:31:46 +00:00
2024-01-25 01:19:00 +00:00
<br /><br />
2024-01-23 16:31:46 +00:00
2024-01-25 01:19:00 +00:00
<h3>Archivos</h3>
{% for file in files %}
<a href="{{ path_join(path, file) }}">{{ file }}</a><br />
{% endfor %}
2024-01-23 16:31:46 +00:00
{% endblock %}