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