6c505e3b0cb73187faf757019a748855df09c90c
[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     </body>
38 </html>