46772dbc2fd6f9b60850d125c6d716a10ab5e5bd
[wolnelektury.git] / apps / picture / templates / picture / picture_viewer.html
1 {% load i18n %}
2 {% load static from staticfiles %}
3 {% load chunks compressed catalogue_tags %}
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
5     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml">
7     <head>
8         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
9 {# XXX było: picture.pretty_title #}
10         <title>{% trans "Wolne Lektury" %} :: {{ picture.title }}</title>
11         <link rel="icon" href="{% static "img/favicon.png" %}" type="image/x-icon" />
12         {% compressed_css "picture" %}
13         <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
14         <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
15         {% compressed_js "book" %}
16         <!-- old IE support -->
17
18     </head>
19     <body>
20         <div id="menu">
21             <ul>
22                 <li><a class="menu" href="#themes">{% trans "Themes" %}</a></li>
23                 <li><a class="menu" href="#objects">{% trans "Objects" %}</a></li>
24                 <!-- XXX do we have this? -->
25                 <li><a class="menu" href="#nota_red">{% trans "Edit. note" %}</a></li>
26                 <li><a class="menu" href="#info">{% trans "Infobox" %}</a></li>
27                 <li><a href="{{ picture.get_absolute_url }}">{% trans "Picture's page" %}</a></li>
28 <!-- XXX -->
29                 <li><a class="menu" href="#download">{% trans "Download" %}</a></li>
30             </ul>
31         </div>
32         <div id="info">
33             {# book_info book #}
34         </div>
35 <!-- do something with the logo        <div id="header">
36             <a href="/"><img src="{% static "img/logo-220.png" %}" alt="Wolne Lektury" /></a>
37         </div>-->
38
39         <!-- main picture view -->
40         <div id="picture-view">
41           <ul class="toolbar">
42             <li class="button plus"><a href="#">&#x2795;<!-- heavy plus sign --></a></li>
43             <li class="button minus"><a href="#">&#x2796;<!-- heavy minus sign --></a>
44             </li>
45           </ul>
46           <div class="picture-wrap">
47             <img class="canvas" src="{{ picture.image_file.url }}"/>
48           </div>
49         </div>
50         {{ piwik_tag|safe }}
51     </body>
52 </html