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