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