From fcc3f76455f4d6dc6616bf1b6edc4527fd15a6bb Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 22 Nov 2014 16:20:09 +0100 Subject: generate shiny html stuff with pictures --- imdb-lookup/index.jinja2.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 imdb-lookup/index.jinja2.html (limited to 'imdb-lookup/index.jinja2.html') diff --git a/imdb-lookup/index.jinja2.html b/imdb-lookup/index.jinja2.html new file mode 100644 index 0000000..42eed34 --- /dev/null +++ b/imdb-lookup/index.jinja2.html @@ -0,0 +1,37 @@ + + + + + + {{title}} + + +

List of Movies

+ {% for (filename, imdb_id) in input %} + {% set info = tmdbcache.infos(imdb_id) %} + {% set posterBase64 = tmdbcache.poster_base64(info['poster_path']) %} +
+

{{ info.title }}

+
+ +
+
+
+ {{ info.overview }} +
+ + {% for (key, value) in info.items() %} + {% if key in ['runtime','adult','homepage','release_date','original_title'] %} + + + + + {% endif %} + {% endfor %} +
{{ key }}{{ value }}
+
+
+ {% endfor %} + + -- cgit v1.2.1