48293a802baa589d44b337c3b5ee223afe137438
[prawokultury.git] / prawokultury / templates / base.html
1 <!DOCTYPE html>
2 {% load i18n %}
3 {% load static from staticfiles %}
4 {% load fnp_common migdal_tags fnp_share fnp_lang menu_tags %}
5 {% load sponsor_tags %}
6 {% load compressed %}
7 {% load piwik_tags %}
8 <html prefix="og: http://ogp.me/ns#">
9     <head>
10        <title>{% block "titleextra" %}{% endblock %}CopyCamp</title>
11        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
12         {% compressed_css 'base' %}
13
14         <meta charset="UTF-8" />
15         <meta property='og:url' content='{% block "ogurl" %}{{ request.get_full_path|build_absolute_uri:request }}{% endblock %}' />
16         <meta property='og:title' content='{% block "ogtitle" %}CopyCamp{% endblock %}' />
17         <meta property='og:site_name' content='CopyCamp' />
18         <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 %}' />
19         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
20         <meta property='og:image' content='{% block "ogimage" %}https://copycamp.pl{% static "img/copycamp_2016_"|add:request.LANGUAGE_CODE|add:"_big.png" %}{% endblock %}' />
21         <meta property='og:locale' content='{% if LANGUAGE_CODE == 'en'%}en_US{% else %}pl_PL{% endif %}' />
22     </head>
23     <body>
24     <div id="body">
25         {% comment %}
26         <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/" style="width: 100%; display: inline-block;">
27             <img src="{% static 'img/960x150_ogolny.jpg' %}">
28         </a>
29         {% endcomment %}
30
31         <div id="header-bar">
32         <div class="bar-left">
33             <a id="logo" href="{% url "migdal_main" %}">
34                 <img alt="{% trans "CopyCamp" %}"
35                     src="{% static "img/copycamp_2016_"|add:request.LANGUAGE_CODE|add:".png" %}" /></a>
36         </div>
37         <div class="bar-right">
38             <a href="http://prawokultury.pl"><img src="{% static "img/logo_160.png" %}" alt="PrawoKultury.pl"/></a>
39             <div class="social">
40                 {% url 'migdal_main' as main_url %}
41                 {% share main_url "CopyCamp" "big" %}
42             </div>
43         </div>
44         <div style="clear: both;"></div>
45         </div>
46
47         <div id="menu-bar">
48         <div class="bar-right">
49             <!--form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
50                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
51             </button></form-->
52         </div>
53         <ul id="menu" class="bar-left">
54             {% block "main_menu" %}
55                 {% main_menu %}
56             {% endblock %}
57             <li id="item-lang">{% lang_switcher %}</li>
58         </ul>
59         <a href="{% url "contact_form" "register-speaker" %}" style="float: right; margin: 0 10px; width: 220px; text-align:center; background: #ED7F00; color: white; font-size: 24px; text-transform: uppercase;">{% trans "Registration" %}</a>
60         <div style="clear: both;"></div>
61         </div>
62
63         <div id="main-bar">
64         <div id="sidebar" class="bar-right">
65             {% block "sidebar" %}
66 <div class="sidebar-box" style="text-align:center; font-size: 1.3em;">
67 <strong><a target="_blank" style="display: block" href="https://prawokultury.pl/publikacje/cory-doctorow-kontekst/">
68 <img style="margin-bottom: .5em;" src="//prawokultury.pl/media/entry/image/cory_cvr_fb_2_maly.jpg" alt="Cory Doctorow &ndash; Kontekst"><br>
69   Książka:<br/>
70   Cory Doctorow &ndash; Kontekst<br/>
71   Kup na PrawoKultury.pl
72   </a></strong></div>
73
74                 <div class="sidebar-box">
75                     {% sponsor_page 'main' %}
76                 </div>
77             {% endblock %}
78         </div>
79         <div id="content" class="bar-left">
80             {% block "body" %}{% endblock %}
81         </div>
82         <div style="clear: both;"></div>
83         </div>
84
85         <div id="footer-bar">
86             <p class="footer-item">
87                 <strong>Fundacja Nowoczesna Polska</strong><br/>
88                 <br/>
89                 ul. Marszałkowska 84/92 lok. 125<br/>
90                 00-514 Warszawa<br/>
91                 tel/fax: +48 22 621 30 17<br/>
92                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
93             </p>
94             <p class="footer-item">
95                 <br/><br/>
96                 KRS: 0000070056<br/>
97                 REGON: 017423865<br/>
98                 Nr konta: 46 10201097 0000 7502 0001 6766
99             </p>
100             <p class="footer-item">
101                 <br/><br/>
102                 {% 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." %}
103             </p>
104
105             <div style="clear: both;"></div>
106         </div>
107
108     </div>
109     <script type="text/javascript" src="//code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
110     {% compressed_js 'base' %}
111     {% tracking_code %}
112     </body>
113 </html>