blob: 42eed349a58b96b88477e949b5f454a19b450afa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{title}}</title>
</head>
<body>
<h1>List of Movies</h1>
{% for (filename, imdb_id) in input %}
{% set info = tmdbcache.infos(imdb_id) %}</h2>
{% set posterBase64 = tmdbcache.poster_base64(info['poster_path']) %}
<div style="clear: left; padding-top: 3em;">
<h2 style="">{{ info.title }}</h2>
<div style="width: 185px; float: left;">
<img src="{{ posterBase64 }}" />
</div>
<div style="">
<div style="font-size: 1.2em;">
{{ info.overview }}
</div>
<table style="padding: 2em;">
{% for (key, value) in info.items() %}
{% if key in ['runtime','adult','homepage','release_date','original_title'] %}
<tr>
<td style="padding: 0.2em; font-style: italic;">{{ key }}</td>
<td style="padding: 0.2em;">{{ value }}</td>
</tr>
{% endif %}
{% endfor %}
</table>
</div>
</div>
{% endfor %}
</body>
</html>
|