Epub+mo support
[wolnelektury.git] / src / catalogue / templates / catalogue / viewer_base.html
1 <!DOCTYPE html>
2 {% load i18n %}
3 {% load static from static %}
4 {% load pipeline %}
5 {% load piwik_tags %}
6 {% load annoy_banner from annoy %}
7 <html class="no-js {% if VARIANT %}{{ VARIANT }}{% endif %}">
8   <head>
9     <meta charset="utf-8">
10     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
11     <title>{% block title %}{% endblock %} :: {% trans "Wolne Lektury" %}</title>
12     <link rel="icon" href="{% static "img/favicon.png" %}" type="image/x-icon" />
13     {% stylesheet "book_text" %}
14     {% block extrahead %}{% endblock %}
15     {% tracking_code %}
16   </head>
17   <body id="{% block body-id %}reader{% endblock %}">
18     {% annoy_banner 'blackout' %}
19     {% annoy_banner 'top' %}
20     <nav id="no-menu"><ul>
21       <li><a href="#" id="menu-toggle-on"></a></li>
22       {% block no-menu-extra %}{% endblock %}
23     </ul></nav>
24
25     <nav id="menu">
26       <ul>
27         <li><a href="#" id="menu-toggle-off"></a></li>
28         <li>
29           <a href="/">
30             <img src="{% static 'img/logo-neon.png' %}" width="120"
31                  alt="Wolne Lektury"
32                  title="Wolne Lektury">
33           </a>
34         </li>
35         {% block menu %}
36         {% endblock menu %}
37       </ul>
38     </nav>
39
40     <div id="big-pane">
41       {% block big-pane %}
42         {% block main %}
43           <article id="main-text">
44             {% block main-text %}{% endblock %}
45           </article>
46         {% endblock main %}
47       {% endblock big-pane %}
48
49       <footer>
50         {% block footer %}{% endblock %}
51         <div id="box-underlay"></div>
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     </div>
61
62     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.1/jquery.min.js" integrity="sha512-BkBgWiL0N/EFIbLZYGTgbksKG5bS6PtwnWvVk3gccv+KhtK/4wkLxCRGh+kelKiXx7Ey4jfTabLg3AEIPC7ENA==" crossorigin="anonymous"></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     {% block extrabody %}{% endblock %}
71     <script src="{% static "js/contrib/modernizr.custom.19652.js" %}"></script>
72   </body>
73 </html>