From 69b83475a898b511d4e26544f2d0b4a09940c3ea Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 18 Jan 2016 19:44:34 +0100 Subject: remove superflous asset controller function. if http-authentication is directed do an redirect to same page without authentication. --- mediabrowser/templates/listdir.html | 8 ++++---- mediabrowser/templates/watch.html | 23 ++++++++++++++++------- 2 files changed, 20 insertions(+), 11 deletions(-) (limited to 'mediabrowser/templates') 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 @@ Directory Browser - {{ path }} - + {% if path != '.' %}
- + Parent Directory @@ -18,7 +18,7 @@ {% if file['type'] == 'file' %}
@@ -29,7 +29,7 @@ {% if file['type'] == 'directory' %}
- + {{ file['filename'] }} diff --git a/mediabrowser/templates/watch.html b/mediabrowser/templates/watch.html index 808e372..db7ab6e 100644 --- a/mediabrowser/templates/watch.html +++ b/mediabrowser/templates/watch.html @@ -2,8 +2,8 @@ Watch - {{ filename }} - - + + @@ -11,21 +11,21 @@