Merge branch 'mil' into 'master'
[edumed.git] / edumed / templates / base_super.html
1 <!DOCTYPE html>
2 {% load i18n static %}
3 {% load fnp_common fnp_share fnp_lang macros %}
4 {% load compressed static %}
5 {% load subdomainurls %}
6
7 {% macro title %}{% block title %}{% endblock %}{% endmacro %}
8 {% macro site_name %}Edukacja medialna{% endmacro %}
9
10 <html prefix="og: http://ogp.me/ns#">
11     <head>
12        <title>{% block full_title %}{% usemacro title %} :: {% usemacro site_name %}{% endblock %}</title>
13        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
14         {% compressed_css 'base' %}
15
16         <meta charset="UTF-8" />
17         <meta property='og:url' content='{% block "ogurl" %}{{ "/"|build_absolute_uri:request }}{% endblock %}' />
18         <meta property='og:title' content='{% block og_title %}{% usemacro title %}{% endblock %}' />
19         <meta property='og:site_name' content='{% usemacro site_name %}' />
20         <meta property='og:description' content='{% block og_description %}{% endblock %}' />
21         <meta property='og:type' content='{% block og_type %}website{% endblock %}' />
22         <meta property='og:image' content='{% block og_image %}http://edukacjamedialna.edu.pl/static/img/logo.png{% endblock %}' />
23         <meta property='og:locale' content='pl_PL' />
24         <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script></script><![endif]-->
25     </head>
26     <body id="{% block body-id %}body{% endblock %}">
27         <div id="header-wrapper">
28         <header class="main" style="position:relative;">
29             <!--img
30                 src="{% static "tlo.png" %}"
31                 style="position:absolute; opacity: 0.5; top:0; left: -83px; z-index:1000"
32                 -->
33             {% if request.user.is_authenticated %}
34                 <a href="{% url 'logout' subdomain=None %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">Wyloguj</a>
35             {% endif %}
36             <div id="header-top">
37             <a id="logo" href="/"><img src="{% static "img/logo.png" %}" alt="Edukacja medialna"/></a>
38             <div id="organizer">
39                 Projekt prowadzi:<br/>
40                 <a href="http://nowoczesnapolska.org.pl">
41                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
42                 </a>
43             </div>
44             <nav><ul>
45                 {% block top_navigation %}
46                 {% endblock %}
47             </ul></nav>
48             </div>
49
50             <div id="tagline">{% block tagline %}{% endblock %}</div>
51             <div id="search">
52                 <form action="">
53                     <input name="q" placeholder="szukaj" /><button><span>&rarr;</span></button>
54                 </form>
55             </div>
56             <div class="clr"></div>
57         </header>
58         </div>
59
60         <div id="content">{% block body %}{% endblock %}</div>
61
62         <footer class="main">
63             {# chunks? #}
64             <div class="footer-item">
65                 <p>
66                 Fundacja Nowoczesna Polska<br/>
67                 <br/>
68                 ul. Marszałkowska 84/92 lok. 125<br/>
69                 00-514 Warszawa<br/>
70                 tel/fax: +48 22 621 30 17<br/>
71                 e-mail: fundacja@nowoczesnapolska.org.pl
72                 </p>
73             </div>
74             <div class="footer-item">
75                 <p><br/><br/>
76                 KRS: 0000070056<br/>
77                 REGON: 017423865<br/>
78                 Nr konta: 59 1030 0019 0109 8530 0040 5685<br/>
79                 </p>
80             </div>
81             <div class="footer-item" style="margin-right:0;">
82                 <p>
83                 Webdesign Ortografika<br/>
84                 <br/>
85                 Jeśli nie oznaczono inaczej, wszystkie materiały na stronie są objęte wolną licencją
86                 <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.pl">Creative Commons Uznanie autorstwa
87                 – Na tych samych warunkach 3.0</a>.
88                 </p>
89             </div>
90             {% block sponsors %}
91             {% endblock %}
92             <div class="clr"></div>
93             <div class="footer-extra">{% block footer_extra %}{% endblock %}</div>
94         </footer>
95
96     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
97     {% compressed_js 'base' %}
98     {% block extra_script %}{% endblock %}
99     {{ piwik_tag|safe }}
100     </body>
101 </html>