3 changed files with 0 additions and 42 deletions
@ -1,23 +0,0 @@ |
|||||||
{% extends 'base.html' %} |
|
||||||
|
|
||||||
{% block header %} |
|
||||||
<h1>{% block title %}File Listing{% endblock %}</h1> |
|
||||||
{% endblock %} |
|
||||||
|
|
||||||
{% block content %} |
|
||||||
<ul> |
|
||||||
{% for path in paths recursive %} |
|
||||||
<li> |
|
||||||
{% if path.is_dir %} |
|
||||||
<span>{{ path.base_name }}</span> |
|
||||||
{% else %} |
|
||||||
<a href="{{ url_for('tmdb.query_movie', query=path.base_name, rel_path=path.rel_path) }}"> |
|
||||||
{{ path.base_name }}</a> |
|
||||||
{% endif %} |
|
||||||
{% if path.contents %} |
|
||||||
<ul>{{ loop(path.contents) }}</ul> |
|
||||||
{% endif %} |
|
||||||
</li> |
|
||||||
{% endfor %} |
|
||||||
</ul> |
|
||||||
{% endblock %} |
|
||||||
Loading…
Reference in new issue