Simple update.
[turniej.git] / apps / poetry / templates / poetry / poem.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <title>Turniej Elektrybałtów: {{ poem }}</title>
5     <meta charset="utf-8" />
6
7     <link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico" />
8     <style type="text/css">
9     @import "{{ STATIC_URL }}poetry/poem.css";
10     </style>
11 </head>
12
13 <body>
14
15 <div id="fb-root"></div>
16 <script>(function(d, s, id) {
17   var js, fjs = d.getElementsByTagName(s)[0];
18   if (d.getElementById(id)) {return;}
19   js = d.createElement(s); js.id = id;
20   js.src = "//connect.facebook.net/pl_PL/all.js#xfbml=1";
21   fjs.parentNode.insertBefore(js, fjs);
22 }(document, 'script', 'facebook-jssdk'));</script>
23 <script src="http://0.s-nk.pl/script/nk_widgets/nk_widget_fajne_embed"></script>
24
25         <div id="menu">
26             <a href='{% url "poetry_new" %}' class='menu-link'>Twórzże się jeszcze raz!</a>
27             <span style='float: right'>Turniej Elektrybałtów</a>
28         </div>
29
30         <div id="header">
31             <div id="logo">
32                 <a href="{% url "e1_main_page" %}"><img src="{{ STATIC_URL }}img/turniej-maly.png" alt="logo Turnieju Elektrybałtów" /></a>
33             </div>
34         </div>
35
36         <div id="book-text">
37             <h1>
38                 <span class="author"><a href="{{ poem.poet.get_absolute_url }}">{{ poem.poet.name }}</a></span>
39                 <span class="title">{% if poem.title %}{{ poem.title }}{% else %}***{% endif %}</span>
40             </h1>
41             {{ poem.text|linebreaksbr }}
42         <div id="footnotes" >
43             <h3>O utworze</h3>
44             <p>Autor: <a href="{{ poem.poet.get_absolute_url }}">{{ poem.poet.name }}</a> (<a href="{% url 'poetry_main' %}">wszyscy autorzy</a>).
45                 <br/>Zobacz <a href="{% url 'poetry_new' poem.poet.slug %}">nowy wiersz</a> tego autora,
46                 albo <a href="{% url 'poetry_new' %}">nowy wiersz dowolnego autora</a>.</p>
47
48
49
50 <div>
51 <h3>Podziel się wierszem!</h3>
52 <span style="position:relative; top: -5px;" >
53     <div class="fb-like" data-href="http://turniej.wolnelektury.pl{{ poem.get_absolute_url }}" data-send="false" data-layout="button_count" data-width="150" data-show-faces="false"></div>
54 </span>
55 <g:plusone annotation="bubble" href="http://turniej.wolnelektury.pl{{ poem.get_absolute_url }}"></g:plusone>
56
57 <script>
58   new nk_fajne({
59     url: "http://turniej.wolnelektury.pl{{ poem.get_absolute_url }}",
60     type: 4,
61     color: 0,
62     title: "wiersz",
63     image: "http://turniej.wolnelektury.pl/turniej.png",
64     description: "{{ poem }}"
65   });
66 </script>
67     <br/>
68         albo użyj linku:<br/>
69         <a class="permalink" href="{{ poem.get_absolute_url }}">http://turniej.wolnelektury.pl{{ poem.get_absolute_url }}</a>
70 </div>
71
72
73
74
75         </div>
76
77 <script type="text/javascript" src="https://apis.google.com/js/plusone.js">
78   {lang: 'pl'}
79 </script>
80 {% load piwik_tags %}
81 {% tracking_code %}
82 </body>
83
84
85 </html>
86
87