19eefc48bdf3da21882af2e2848807a9ac92053a
[prawokultury.git] / prawokultury / templates / base.html
1 <!DOCTYPE html>
2 {% load url from future %}
3 {% load i18n static %}
4 {% load fnp_common migdal_tags fnp_share fnp_lang menu_tags %}
5 {% load sponsor_tags %}
6 {% load compressed %}
7 <html prefix="og: http://ogp.me/ns#">
8     <head>
9        <title>{% block "titleextra" %}{% endblock %}CopyCamp</title>
10        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
11         {% compressed_css 'base' %}
12
13         <meta charset="UTF-8" />
14         <meta property='og:url' content='{% block "ogurl" %}{% url 'migdal_main' %}{% endblock %}' />
15         <meta property='og:title' content='{% block "ogtitle" %}CopyCamp{% endblock %}' />
16         <meta property='og:site_name' content='CopyCamp' />
17         <meta property='og:description' content='{% block "ogdescription" %}{% trans "CopyCamp Conference is the first large-scale meeting in Poland devoted to the issues of copyright in both ideological and practical terms." %}{% endblock %}' />
18         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
19         <meta property='og:image' content='{% block "ogimage" %}{{ "/static/img/copycamp2012_"|add:request.LANGUAGE_CODE|add:".png"|build_absolute_uri:request }}{% endblock %}' />
20         <meta property='og:locale' content='pl_PL' />
21     </head>
22     <body>
23     <div id="body">
24         <div id="header-bar">
25         <div class="bar-left">
26             <a id="logo" href="{% url "migdal_main" %}">
27                 <img alt="{% trans "CopyCamp" %}"
28                     src="{% static "img/copycamp2012_"|add:request.LANGUAGE_CODE|add:".png" %}" /></a>
29         </div>
30         <div class="bar-right">
31             <a href="http://prawokultury.pl"><img src="{% static "img/logo_160.png" %}" alt="PrawoKultury.pl"/></a>
32             <div class="social">
33                 {% url 'migdal_main' as main_url %}
34                 {% share main_url "CopyCamp" "big" %}
35             </div>
36         </div>
37         <div style="clear: both;"></div>
38         </div>
39
40         <div id="menu-bar">
41         <div class="bar-right">
42             <!--form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
43                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
44             </button></form-->
45         </div>
46         <ul id="menu" class="bar-left">
47             {% block "main_menu" %}
48                 {% main_menu %}
49             {% endblock %}
50             <li id="item-lang">{% lang_switcher %}</li>
51         </ul>
52         <div style="clear: both;"></div>
53         </div>
54
55         <div id="main-bar">
56         <div id="sidebar" class="bar-right">
57             {% block "sidebar" %}
58                 <div class="sidebar-box">
59                     {% sponsor_page 'main' %}
60                 </div>
61             {% endblock %}
62         </div>
63         <div id="content" class="bar-left">
64             {% block "body" %}{% endblock %}
65         </div>
66         <div style="clear: both;"></div>
67         </div>
68
69         <div id="footer-bar">
70             <p class="footer-item">
71                 <strong>Fundacja Nowoczesna Polska</strong><br/>
72                 <br/>
73                 ul. MarszaƂkowska 84/92 lok. 125<br/>
74                 00-514 Warszawa<br/>
75                 tel/fax: +48 22 621 30 17<br/>
76                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
77             </p>
78             <p class="footer-item">
79                 <br/><br/>
80                 KRS: 0000070056<br/>
81                 REGON: 017423865<br/>
82                 Nr konta: 46 10201097 0000 7502 0001 6766
83             </p>
84             <p class="footer-item">
85                 <br/><br/>
86                 {% trans "If not explicitly stated otherwise, all texts are licensed under the <a href='http://creativecommons.org/licenses/by-sa/3.0/'>Creative Commons Attribution-Share Alike</a> free license." %}
87             </p>
88
89             <div style="clear: both;"></div>
90         </div>
91
92     </div>
93     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
94     {% compressed_js 'base' %}
95     {{ piwik_tag|safe }}
96     </body>
97 </html>