2f2394b3718a8873223f66a92394a23de85c4819
[wolnelektury.git] / src / catalogue / templates / catalogue / viewer_base.html
1 <!DOCTYPE html>
2 {% load i18n %}
3 {% load static from staticfiles %}
4 {% load pipeline %}
5 {% load piwik_tags %}
6 <html class="no-js">
7     <head>
8         <meta charset="utf-8">
9         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
10         <title>{% block title %}{% endblock %} :: {% trans "Wolne Lektury" %}</title>
11         <link rel="icon" href="{% static "img/favicon.png" %}" type="image/x-icon" />
12         {% stylesheet "book_text" %}
13         {% block extrahead %}{% endblock %}
14
15     </head>
16     <body id="{% block body-id %}reader{% endblock %}">
17         <nav id="no-menu"><ul>
18             <li><a href="#" id="menu-toggle-on"></a></li>
19             {% block no-menu-extra %}{% endblock %}
20         </ul></nav>
21
22         <nav id="menu"><ul>
23             <li><a href="#" id="menu-toggle-off"></a></li>
24
25             <li><a href="/">
26                 <img src="{% static 'img/logo-neon.png' %}" width="80"
27                     alt="Wolne Lektury"
28                     title="Wolne Lektury">
29             </a></li>
30
31             {% block menu %}
32             {% endblock menu %}
33
34         </ul></nav>
35
36         {% block big-pane %}
37         <div id="big-pane">
38
39         {% block main %}
40         <article id="main-text">
41             {% block main-text %}{% endblock %}
42         </article>
43         {% endblock main %}
44         {% endblock big-pane %}
45
46
47         <footer>
48             {% block footer %}{% endblock %}
49
50             <div id="box-underlay"></div>
51
52             {# template #}
53             <div id="ajaxable-window" class='dialog-window'>
54                 <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
55                 <div class="target">
56                     <p><img src="{% static "img/indicator.gif" %}" alt="*"/> {% trans "Loading" %}</p>
57                 </div>
58             </div>
59         </footer>
60
61         </div>
62
63         <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
64         {% block js-dependencies %}{% endblock %}
65         <script type="text/javascript">
66             var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
67             var STATIC_URL = "{{ STATIC_URL }}";
68         </script>
69         {% javascript "book_text" %}
70
71         {% tracking_code %}
72         {% block extrabody %}{% endblock %}
73         <script src="{% static "js/contrib/modernizr.custom.19652.js" %}"></script>
74     </body>
75 </html>