Browsing and showing comment documents
[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 sponsor_tags %}
6 {% load subdomainurls %}
7
8 {% macro title %}{% block title %}{% endblock %}{% endmacro %}
9 {% macro site_name %}Edukacja medialna{% endmacro %}
10
11 <html prefix="og: http://ogp.me/ns#">
12     <head>
13        <title>{% block full_title %}{% usemacro title %} :: {% usemacro site_name %}{% endblock %}</title>
14        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
15         {% compressed_css 'base' %}
16
17         <meta charset="UTF-8" />
18         <meta property='og:url' content='{% block "ogurl" %}{{ "/"|build_absolute_uri:request }}{% endblock %}' />
19         <meta property='og:title' content='{% block og_title %}{% usemacro title %}{% endblock %}' />
20         <meta property='og:site_name' content='{% usemacro site_name %}' />
21         <meta property='og:description' content='{% block og_description %}{% endblock %}' />
22         <meta property='og:type' content='{% block og_type %}website{% endblock %}' />
23         <meta property='og:image' content='{% block og_image %}http://edukacjamedialna.edu.pl/static/img/logo.png{% endblock %}' />
24         <meta property='og:locale' content='pl_PL' />
25         <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script></script><![endif]-->
26     </head>
27     <body id="{% block body-id %}body{% endblock %}">
28         <div id="header-wrapper">
29         <header class="main" style="position:relative;">
30             <!--img
31                 src="{% static "tlo.png" %}"
32                 style="position:absolute; opacity: 0.5; top:0; left: -83px; z-index:1000"
33                 -->
34             {% if request.user.is_authenticated %}
35                 <a href="{% url 'logout' subdomain=None %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">Wyloguj</a>
36             {% endif %}
37             <div id="header-top">
38             <a id="logo" href="/"><img src="{% static "img/logo.png" %}" alt="Edukacja medialna"/></a>
39             <div id="organizer">
40                 Projekt prowadzi:<br/>
41                 <a href="http://nowoczesnapolska.org.pl">
42                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
43                 </a>
44             </div>
45             <nav><ul>
46                 {% block top_navigation %}
47                 {% endblock %}
48             </ul></nav>
49             </div>
50
51             <div id="tagline">{% block tagline %}{% endblock %}</div>
52             <div id="search">
53                 <form action="">
54                     <input name="q" placeholder="szukaj" /><button><span>&rarr;</span></button>
55                 </form>
56             </div>
57             <div class="clr"></div>
58         </header>
59         </div>
60
61         <div id="content">{% block body %}{% endblock %}</div>
62
63         <footer class="main">
64             {# chunks? #}
65             <div class="footer-item">
66                 <p>
67                 Fundacja Nowoczesna Polska<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
73                 </p>
74             </div>
75             <div class="footer-item">
76                 <p><br/><br/>
77                 KRS: 0000070056<br/>
78                 REGON: 017423865<br/>
79                 Nr konta: 59 1030 0019 0109 8530 0040 5685<br/>
80                 </p>
81             </div>
82             <div class="footer-item" style="margin-right:0;">
83                 <p>
84                 Webdesign Ortografika<br/>
85                 <br/>
86                 Jeśli nie oznaczono inaczej, wszystkie materiały na stronie są objęte wolną licencją
87                 <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.pl">Creative Commons Uznanie autorstwa
88                 – Na tych samych warunkach 3.0</a>.
89                 </p>
90             </div>
91             {% sponsor_page "footer" %}
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>