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