fix report removal
[wolnelektury.git] / wolnelektury / templates / catalogue / book_text.html
1 {% load i18n %}
2 {% load chunks compressed catalogue_tags %}
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml">
6     <head>
7         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
8         <title>{% block title %}WolneLektury.pl{% endblock %}</title>
9         <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/x-icon" />
10         {% compressed_css "book" %}
11         {% compressed_js "jquery" %}
12         {% compressed_js "book" %}
13         <!--[if IE]>
14             {% compressed_js "book_ie" %}
15         <![endif]-->
16
17     </head>
18     <body>
19         <div id="menu">
20             <ul>
21                 <li><a href="#toc">{% trans "Table of contents" %}</a></li>
22                 <li><a href="#themes">{% trans "Themes" %}</a></li>
23                 <li><a href="#nota_red">{% trans "Edit. note" %}</a></li>
24                 <li><a href="#info">{% trans "Infobox" %}</a></li>
25             </ul>
26         </div>
27         <div id="info">
28             {% book_info book %}
29         </div>
30         <div id="header">
31             <div id="logo">
32                 <a href="/"><img src="{{ STATIC_URL }}img/logo.png" alt="WolneLektury.pl - logo" /></a>
33             </div>
34         </div>
35         <div id="themes">
36             <ol>
37                 {% for theme, fragments in book_themes %}
38                 <li>{{ theme }}:
39                     {% for fragment in fragments %}
40                         <a href="#m{{ fragment.anchor }}">{{ forloop.counter }}</a>
41                     {% endfor %}
42                 <li>
43                 {% endfor %}
44             </ol>
45         </div>
46         {{ book.html_file.read|safe }}
47         {{ piwik_tag|safe }}
48         <script type="text/javascript">
49         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
50         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
51         </script>
52         <script type="text/javascript">
53         var pageTracker = _gat._getTracker("UA-2576694-1");
54         pageTracker._trackPageview();
55         </script>
56     </body>
57 </html>