From e16f2428ad410645db1a640d4a56d63df74efd4a Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Mon, 8 Dec 2014 00:44:50 +0100 Subject: beautify --- imdb-lookup/index.jinja2.html | 47 ++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 14 deletions(-) (limited to 'imdb-lookup/index.jinja2.html') diff --git a/imdb-lookup/index.jinja2.html b/imdb-lookup/index.jinja2.html index 82647c3..21c263f 100644 --- a/imdb-lookup/index.jinja2.html +++ b/imdb-lookup/index.jinja2.html @@ -12,9 +12,11 @@ box-shadow: 0px 0px 30px 0px gray; background-color: #fafafa; clear: both; + position: relative; } .error { background-color: #EFAAAA; + height: 150px; } .td1, .td2, .td3, .td4 { width: 1em; @@ -42,8 +44,18 @@ .files { list-style: none; padding-left: 0px; + font-size: 0.9em; } .files li:before { margin: 0 1em; content: '▶'; } + .headline { font-size: 0.9em; color: 3e3e3e; } + .box-footer { + position: absolute; + bottom: 0px; + right: 0px; + font-size: 1.4em; + color: #ccc; + font-style: italic; + } @@ -89,17 +101,21 @@
- {% if info.title != info.original_title %} - {{ info.original_title }} - {% else %} {{ info.title }} - {% endif %}
-
- {% if local_title != info.title %} “{{ local_title }}”, {% endif %} - {{ info['runtime'] }} min. - -
{{ info.overview }}
+
+ {% if local_title != info.title %} “{{ local_title }}”, {% endif %} + {% if info.original_title != info.title %} “{{ info.original_title }}”, {% endif %} +
+
+ by {{ imdb_data["directors_summary"] | join(", ", attribute="name.name") }}, + runtime {{ info['runtime'] }} min. +
+
+ Starring: {{ imdb_data["cast_summary"] | join(", ", attribute="name.name") }} +
+
+
{{ imdb_data.plot.outline }}
{% if 'homepage' in info and info['homepage'] %} @@ -113,13 +129,13 @@
- -> themoviedb.org + ➜ themoviedb.org   - -> imdb.com + ➜ imdb.com   - -> letterboxd.com + ➜ letterboxd.com   - -> ofdb.db + ➜ ofdb.db
@@ -135,10 +151,13 @@ +
{% else %}
- No infos for {{path}} {{imdb_id}} + No infos for {{path}} {{imdb_id}}
{% endif %} {% endfor %} -- cgit v1.2.1