8debfde3d99ddb8bf95b734d3f33e6bf1356d659
[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 property='og:url' content='{% block "ogurl" %}{% url 'migdal_main' %}{% endblock %}' />
14         <meta property='og:title' content='{% block "ogtitle" %}CopyCamp{% endblock %}' />
15         <meta property='og:site_name' content='CopyCamp' />
16         <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 %}' />
17         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
18         <meta property='og:image' content='{% block "ogimage" %}{{ "img/copycamp2012_"|add:request.LANGUAGE_CODE|add:".png"|build_absolute_uri:request }}{% endblock %}' />
19         <meta property='og:locale' content='pl_PL' />
20     </head>
21     <body>
22     <div id="body">
23         <div id="header-bar">
24         <div class="bar-left">
25             <a id="logo" href="{% url "migdal_main" %}">
26                 <img alt="{% trans "CopyCamp" %}"
27                     src="{% static "img/copycamp2012_"|add:request.LANGUAGE_CODE|add:".png" %}" /></a>
28         </div>
29         <div class="bar-right">
30             <a href="http://prawokultury.pl"><img src="{% static "img/logo_160.png" %}" alt="PrawoKultury.pl"/></a>
31             <div class="social">
32                 {% url 'migdal_main' as main_url %}
33                 {% share main_url "CopyCamp" "big" %}
34             </div>
35         </div>
36         <div style="clear: both;"></div>
37         </div>
38
39         <div id="menu-bar">
40         <div class="bar-right">
41             <!--form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
42                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
43             </button></form-->
44         </div>
45         <ul id="menu" class="bar-left">
46             {% block "main_menu" %}
47                 {% main_menu %}
48             {% endblock %}
49             <li id="item-lang">{% lang_switcher %}</li>
50         </ul>
51         <div style="clear: both;"></div>
52         </div>
53
54         <div id="main-bar">
55         <div id="sidebar" class="bar-right">
56             {% block "sidebar" %}
57                 <div class="sidebar-box">
58                     {% sponsor_page 'main' %}
59                 </div>
60             {% endblock %}
61         </div>
62         <div id="content" class="bar-left">
63             {% block "body" %}{% endblock %}
64         </div>
65         <div style="clear: both;"></div>
66         </div>
67
68         <div id="footer-bar">
69             <p class="footer-item">
70                 <strong>Fundacja Nowoczesna Polska</strong><br/>
71                 <br/>
72                 ul. MarszaƂkowska 84/92 lok. 125<br/>
73                 00-514 Warszawa<br/>
74                 tel/fax: +48 22 621 30 17<br/>
75                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
76             </p>
77             <p class="footer-item">
78                 <br/><br/>
79                 KRS: 0000070056<br/>
80                 REGON: 017423865<br/>
81                 Nr konta: 46 10201097 0000 7502 0001 6766
82             </p>
83             <p class="footer-item">
84                 <br/><br/>
85                 {% 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." %}
86             </p>
87
88             <div style="clear: both;"></div>
89         </div>
90
91     </div>
92     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
93     {% compressed_js 'base' %}
94     {{ piwik_tag|safe }}
95     </body>
96 </html>