cdee8d8322cb015104826b5fcd8035c945947b27
[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   </head>
15   <body id="{% block body-id %}reader{% endblock %}">
16     {% include "annoy.html" %}
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">
23       <ul>
24         <li><a href="#" id="menu-toggle-off"></a></li>
25         <li>
26           <a href="/">
27             <img src="{% static 'img/logo-neon.png' %}" width="120"
28                  alt="Wolne Lektury"
29                  title="Wolne Lektury">
30           </a>
31         </li>
32         {% block menu %}
33         {% endblock menu %}
34       </ul>
35     </nav>
36
37     <div id="big-pane">
38       {% block big-pane %}
39         {% block main %}
40           <article id="main-text">
41             {% block main-text %}{% endblock %}
42           </article>
43         {% endblock main %}
44       {% endblock big-pane %}
45
46       <footer>
47         {% block footer %}{% endblock %}
48         <div id="box-underlay"></div>
49         {# template #}
50         <div id="ajaxable-window" class='dialog-window'>
51           <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
52           <div class="target">
53             <p><img src="{% static "img/indicator.gif" %}" alt="*"/> {% trans "Loading" %}</p>
54           </div>
55         </div>
56       </footer>
57     </div>
58
59     <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
60     {% block js-dependencies %}{% endblock %}
61     <script type="text/javascript">
62       var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
63       var STATIC_URL = "{{ STATIC_URL }}";
64     </script>
65     {% javascript "book_text" %}
66
67     {% tracking_code %}
68     {% block extrabody %}{% endblock %}
69     <script src="{% static "js/contrib/modernizr.custom.19652.js" %}"></script>
70   </body>
71 </html>