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