typo
[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     </head>
14     <body>
15         <div id="menu">
16             <ul>
17                 <li><a href="#toc">{% trans "Table of contents" %}</a></li>
18                 <li><a href="#themes">{% trans "Themes" %}</a></li>
19                 <li><a href="#nota_red">{% trans "Edit. note" %}</a></li>
20             </ul>
21         </div>
22         <div id="header">
23             <div id="logo">
24                 <a href="/"><img src="{{ STATIC_URL }}img/logo.png" alt="WolneLektury.pl - logo" /></a>
25             </div>
26         </div>
27         <div id="themes">
28             <ol>
29                 {% for theme, fragments in book_themes %}
30                 <li>{{ theme }}:
31                     {% for fragment in fragments %}
32                         <a href="#m{{ fragment.anchor }}">{{ forloop.counter }}</a>
33                     {% endfor %}
34                 <li>
35                 {% endfor %}
36             </ol>
37         </div>
38         {{ book.html_file.read|safe }}
39         <script type="text/javascript">
40         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
41         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
42         </script>
43         <script type="text/javascript">
44         var pageTracker = _gat._getTracker("UA-2576694-1");
45         pageTracker._trackPageview();
46         </script>
47     </body>
48 </html>