summaryrefslogtreecommitdiff
path: root/mediabrowser/templates/listdir.html
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-01-18 19:44:34 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-01-18 19:49:58 +0100
commit69b83475a898b511d4e26544f2d0b4a09940c3ea (patch)
treefb95c909879c5d6d8cb4b84581a387b07c00812e /mediabrowser/templates/listdir.html
parent0b91c6c444a83c8d8f93ae29882a485858c95c5f (diff)
downloadflask-mediabrowser-69b83475a898b511d4e26544f2d0b4a09940c3ea.tar.gz
flask-mediabrowser-69b83475a898b511d4e26544f2d0b4a09940c3ea.zip
remove superflous asset controller function.
if http-authentication is directed do an redirect to same page without authentication.
Diffstat (limited to 'mediabrowser/templates/listdir.html')
-rw-r--r--mediabrowser/templates/listdir.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/mediabrowser/templates/listdir.html b/mediabrowser/templates/listdir.html
index 024822d..27cfdc8 100644
--- a/mediabrowser/templates/listdir.html
+++ b/mediabrowser/templates/listdir.html
@@ -2,12 +2,12 @@
<html>
<head>
<title>Directory Browser - {{ path }}</title>
- <link rel="stylesheet" href="{{ url_for('mediabrowser.assets', filename='style.css') }}" />
+ <link rel="stylesheet" href="{{ url_for('mediabrowser.static', filename='style.css') }}" />
</head>
<body class="list">
{% if path != '.' %}
<div>
- <img src="{{ url_for('mediabrowser.assets', filename='parent.png') }}" />
+ <img src="{{ url_for('mediabrowser.static', filename='parent.png') }}" />
<a href="{{ url_for('mediabrowser.listdir', path=parent) }}">
Parent Directory
</a>
@@ -18,7 +18,7 @@
{% if file['type'] == 'file' %}
<div>
<video src="{{ url_for('mediabrowser.thumbnail_video', path=file['fullpath']) }}"
- poster="{{ url_for('mediabrowser.assets', filename='spinner.gif') }}"
+ poster="{{ url_for('mediabrowser.static', filename='spinner.gif') }}"
autoplay="" loop="true" width="100" height="60">
</video>
<a href="{{ url_for('mediabrowser.watch', path=file['fullpath']) }}">
@@ -29,7 +29,7 @@
{% if file['type'] == 'directory' %}
<div>
- <img src="{{ url_for('mediabrowser.assets', filename='directory.png') }}" />
+ <img src="{{ url_for('mediabrowser.static', filename='directory.png') }}" />
<a href="{{ file['link'] }}">
{{ file['filename'] }}
</a>