2 {% load static from staticfiles %}
3 {% load chunks compressed catalogue_tags %}
5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
6 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
7 <html xmlns="http://www.w3.org/1999/xhtml">
9 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
10 {# XXX było: picture.pretty_title #}
11 <title>{% trans "Wolne Lektury" %} :: {{ picture.title }}</title>
12 <link rel="icon" href="{% static "img/favicon.png" %}" type="image/x-icon" />
13 {% compressed_css "picture" %}
14 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
15 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
16 {% compressed_js "book" %}
17 <!-- old IE support -->
21 <div id="menu" class="moveright">
23 <!-- <li><a class="menu" href="#themes">{% trans "Themes" %}</a></li>
24 <li><a class="menu" href="#objects">{% trans "Objects" %}</a></li>-->
25 <!-- XXX do we have this? -->
26 <!-- <li><a class="menu" href="#nota_red">{% trans "Edit. note" %}</a></li>-->
27 <li><a class="menu" href="#info">{% trans "Infobox" %}</a></li>
28 <li><a href="{{ picture.get_absolute_url }}">{% trans "Picture's page" %}</a></li>
30 <li><a href="{{ picture.image_file.url }}">{% trans "Download" %}</a></li>
33 <div id="info" class="moveright">
34 {% book_info picture %}
36 {{ picture.html_file.read|safe }}
38 <!-- main picture view -->
39 <div id="picture-view">
41 <li class="square button plus"><a href="#">➕<!-- heavy plus sign --></a></li>
42 <li class="square button minus"><a href="#">➖<!-- heavy minus sign --></a>
44 <li class="button"><a href="#picture-objects" class="dropdown">{% trans "Objects" %}</a></li>
45 <li class="button"><a href="#picture-themes" class="dropdown">{% trans "Themes" %}</a></li>
47 <div class="picture-wrap {% if picture.image_file|is_portrait %}portrait{% endif %}">
48 {% thumbnail picture.image_file "700x500" as pic %}
49 <img class="canvas initial" src="{{pic.url}}"/>
51 <img class="canvas loading original" src="{{ picture.image_file.url }}"/>
55 <div id="spinner"></div>
58 <a href="/"><img src="{% static "img/logo-220.png" %}" alt="Wolne Lektury" ></img>
62 <a href="http://www.nck.pl"><img src="{% static "img/logo_nck.jpg" %}" alt="Narodowe Centrum Kultury" ></img></a>