From c08d2b4a03f89c6fe5384474febb2e2f93a25ee2 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 22 Nov 2014 20:54:32 +0100 Subject: css --- imdb-lookup/index.jinja2.html | 93 ++++++++++++++++++++++++++----------------- 1 file changed, 57 insertions(+), 36 deletions(-) (limited to 'imdb-lookup/index.jinja2.html') diff --git a/imdb-lookup/index.jinja2.html b/imdb-lookup/index.jinja2.html index a87092e..019e937 100644 --- a/imdb-lookup/index.jinja2.html +++ b/imdb-lookup/index.jinja2.html @@ -5,51 +5,72 @@ {{title}} + -

List of Movies

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

- {% if "vote_average" in info.keys() %} - {{ " ".join(["★"] * int(info["vote_average"])) }} - - {{ " ".join(["☆"] * (10-int(info["vote_average"]))) }} - - {% endif %} - {{ info.title }} -

-
- {% if posterBase64 %} - - - - {% else %} - no image - {% endif %} -
-
-
- {{ info.overview }} -
- - {% for (key, value) in info.items() %} - {% if key in ['runtime','adult','homepage','release_date','original_title'] %} - - - - +
+
{{ key }}{{ value }}
+ + {% if "vote_average" in info.keys() %} + {% endif %} - {% endfor %} -
+ {{ " ".join(["☆"] * (10-int(info["vote_average"]))) }} + {{ " ".join(["★"] * int(info["vote_average"])) }} +
-
+ + {% if posterBase64 %} + + {% else %} + no image + {% endif %} + + +
{{ info.title }}
+
{{ info.overview }}
+ + {% for (key, value) in info.items() %} + {% if key in ['runtime','adult','homepage','release_date','original_title'] %} + + + + + {% endif %} + {% endfor %} +
{{ key }}{{ value }}
+ + +
- {% else %} + {% else %} No infos for {{filename}} {{imdb_id}} - {% endif %} + {% endif %} {% endfor %} -- cgit v1.2.1