social
[prawokultury.git] / prawokultury / templates / base.html
1 <!DOCTYPE html>
2 {% load url from future %}
3 {% load i18n static %}
4 {% load migdal_tags events_tags share %}
5 {% load compressed %}
6 <html prefix="og: http://ogp.me/ns#">
7     <head>
8        <title>{% trans "Culture's right" %}{% block "titleextra" %}{% endblock %}</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" %}{% trans "Culture's right" %}{% endblock %}' />
14         <meta property='og:site_name' content='{% trans "Culture's right" %}' />
15         <meta property='og:description' content='{% block "ogdescription" %}Prawokultury.pl to strona edukacyjna mająca za zadanie w przystępny i rzetelny sposób informować o wszelkich kwestiach związanych z prawem autorskim.{% endblock %}' />
16         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
17         <meta property='og:image' content='{% block "ogimage" %}{% static "img/square-logo.png"%}{% 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 "Culture's right" %}"
26                     src="{% static "img/logo.png" %}" /></a>
27         </div>
28         <div class="bar-right">
29             <div class="org-fnp">
30                 <span>{% trans "Organizer" %}</span><br/>
31                 <a href="http://nowoczesnapolska.org.pl">
32                     <img src="{% static 'img/logo-fnp.png' %}"
33                         alt="{% trans "Modern Poland Foundation" %}" /></a>
34             </div><div class="org-trust">
35                 <span>{% trans "Sponsor" %}</span><br/>
36                 <a href="http://ceetrust.org">
37                     <img src="{% static 'img/logo-trust.png' %}"
38                         alt="{% trans "Trust for Civil Society in Central and Eastern Europe" %}" /></a>
39             </div>
40         </div>
41         <div style="clear: both;"></div>
42         </div>
43
44         <div id="menu-bar">
45         <div class="bar-right">
46             <form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
47                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
48             </button></form>
49         </div>
50         <ul id="menu" class="bar-left">
51             {% block "main_menu" %}
52                 {% main_menu 'url' request.get_full_path %}
53             {% endblock %}
54         </ul>
55         <div style="clear: both;"></div>
56         </div>
57
58         <div id="main-bar">
59         <div id="sidebar" class="bar-right">
60             {% block "sidebar" %}
61                 <div class="sidebar-box">
62                     <h3><a href="{% url 'events' %}">{% trans "Upcoming events" %}</a></h3>
63                     {% events_box %}
64                 </div>
65                 <div id="sidebar-box-categories" class="sidebar-box">
66                     {% categories 'topics' %}
67                     {% categories 'types' %}
68                 </div>
69                 <div class="sidebar-box social">
70                     {% url 'migdal_main' as main_url %}
71                     {% trans "Culture's right" as site_name %}
72                     {% share main_url site_name "big" %}
73                     <!--a href="{% url 'migdal_main_feed' %}">RSS</a-->
74                 </div>
75                 <div class="sidebar-box">
76                     <h3>{% trans "Latest comments" %}</h3>
77                     {% last_comments %}
78                 </div>
79             {% endblock %}
80         </div>
81         <div id="content" class="bar-left">
82             {% block "body" %}{% endblock %}
83         </div>
84         <div style="clear: both;"></div>
85         </div>
86
87         <div id="footer-bar">
88             <p class="footer-item">
89                 <strong>Fundacja Nowoczesna Polska</strong><br/>
90                 <br/>
91                 ul. Marszałkowska 84/92 lok. 125<br/>
92                 00-514 Warszawa<br/>
93                 tel/fax: +48 22 621 30 17<br/>
94                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
95             </p>
96             <p class="footer-item">
97                 <br/><br/>
98                 KRS: 0000070056<br/>
99                 REGON: 017423865<br/>
100                 Nr konta: 46 10201097 0000 7502 0001 6766
101             </p>
102             <p class="footer-item">
103                 <br/><br/>
104                 {% 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." %}
105             </p>
106
107             <div style="clear: both;"></div>
108         </div>
109
110     </div>
111     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
112     {% compressed_js 'base' %}
113     {{ piwik_tag|safe }}
114     </body>
115 </html>