From 2a5bc9636647c1beeb58f3f0b3f2bcecb3509d16 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 30 Nov 2015 20:14:16 +0100 Subject: poc --- mediabrowser/templates/listdir.html | 41 ++++++++++++++++ mediabrowser/templates/watch.html | 97 +++++++++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 mediabrowser/templates/listdir.html create mode 100644 mediabrowser/templates/watch.html (limited to 'mediabrowser/templates') diff --git a/mediabrowser/templates/listdir.html b/mediabrowser/templates/listdir.html new file mode 100644 index 0000000..008bb1e --- /dev/null +++ b/mediabrowser/templates/listdir.html @@ -0,0 +1,41 @@ + + + + Directory Browser - {{ path }} + + + + {% if parent != path %} +
+ +
+ + .. +
+
+
+ {% endif %} + + {% for file in files %} + {% if file['type'] == 'file' %} +
+ + + {{ file['filename'] }} + +
+ {% endif %} + + {% if file['type'] == 'directory' %} +
+ +
+ + {{ file['filename'] }} +
+
+
+ {% endif %} + {% endfor %} + + diff --git a/mediabrowser/templates/watch.html b/mediabrowser/templates/watch.html new file mode 100644 index 0000000..456a188 --- /dev/null +++ b/mediabrowser/templates/watch.html @@ -0,0 +1,97 @@ + + + + Watch - {{ filename }} + + + + + +
+ +
+ +
+
+ + + -- cgit v1.2.1