diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2014-12-08 00:44:50 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2014-12-08 00:44:50 +0100 |
commit | e16f2428ad410645db1a640d4a56d63df74efd4a (patch) | |
tree | a692426b16e98c8584a8e8eabc53343438ca771c | |
parent | 80d26f5937dc13eccba563823b3ffa155d80bf7a (diff) | |
download | scripts-e16f2428ad410645db1a640d4a56d63df74efd4a.tar.gz scripts-e16f2428ad410645db1a640d4a56d63df74efd4a.zip |
beautify
-rw-r--r-- | imdb-lookup/index.jinja2.html | 47 |
1 files changed, 33 insertions, 14 deletions
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; + } </style> </head> <body> @@ -89,17 +101,21 @@ </td> <td class="info"> <div style="font-size: 2em;"> - {% if info.title != info.original_title %} - {{ info.original_title }} - {% else %} {{ info.title }} - {% endif %} </div> - <div style="font-size: 0.8em; color: 3e3e3e;"> - {% if local_title != info.title %} “{{ local_title }}”, {% endif %} - {{ info['runtime'] }} min. - </style> - <div>{{ info.overview }}</div> + <div class="headline"> + {% if local_title != info.title %} “{{ local_title }}”, {% endif %} + {% if info.original_title != info.title %} “{{ info.original_title }}”, {% endif %} + </div> + <div class="headline"> + by {{ imdb_data["directors_summary"] | join(", ", attribute="name.name") }}, + runtime {{ info['runtime'] }} min. + </div> + <div class="headline"> + Starring: {{ imdb_data["cast_summary"] | join(", ", attribute="name.name") }} + </div> + <br /> + <div>{{ imdb_data.plot.outline }}</div> <table class="details"> {% if 'homepage' in info and info['homepage'] %} <tr> @@ -113,13 +129,13 @@ </tr> <tr> <td colspan="2"> - -> <a href="http://www.themoviedb.org/movie/{{ info.id }}" rel="noreferrer">themoviedb.org</a> + ➜ <a href="http://www.themoviedb.org/movie/{{ info.id }}" rel="noreferrer">themoviedb.org</a>   - -> <a href="http://www.imdb.com/title/{{ info.imdb_id }}" rel="noreferrer">imdb.com</a> + ➜ <a href="http://www.imdb.com/title/{{ info.imdb_id }}" rel="noreferrer">imdb.com</a>   - -> <a href="http://letterboxd.com/tmdb/{{ info.id }}" rel="noreferrer">letterboxd.com</a> + ➜ <a href="http://letterboxd.com/tmdb/{{ info.id }}" rel="noreferrer">letterboxd.com</a>   - -> <a href="http://www.ofdb.de/view.php?page=suchergebnis&Kat=IMDb&SText={{ info.imdb_id }}" rel="noreferrer">ofdb.db</a> + ➜ <a href="http://www.ofdb.de/view.php?page=suchergebnis&Kat=IMDb&SText={{ info.imdb_id }}" rel="noreferrer">ofdb.db</a> </td> </tr> </table> @@ -135,10 +151,13 @@ </td> </tr> </table> + <div class="box-footer"> + {{ info.tagline }} + </div> </div> {% else %} <div class="box error"> - No infos for {{path}} {{imdb_id}} + No infos for <a href="{{path}}">{{path}}</a> {{imdb_id}} </div> {% endif %} {% endfor %} |