X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/07096ee18c78a330205e0f0a656dee1378ceb8c2..ae0a3448a93e75e8a6d30dfeafb050ed3b5190b4:/edumed/templates/base.html?ds=inline diff --git a/edumed/templates/base.html b/edumed/templates/base.html index dd92cb4..6f1341d 100644 --- a/edumed/templates/base.html +++ b/edumed/templates/base.html @@ -1,97 +1,27 @@ -<!DOCTYPE html> -{% load url from future %} -{% load i18n static %} -{% load fnp_common fnp_share fnp_lang macros %} -{% load compressed static %} +{% extends "base_super.html" %} {% load sponsor_tags %} +{% load compressed %} -{% macro title %}{% block title %}{% endblock %}{% endmacro %} -{% macro site_name %}Edukacja medialna{% endmacro %} -<html prefix="og: http://ogp.me/ns#"> - <head> - <title>{% block full_title %}{% usemacro title %} :: {% usemacro site_name %}{% endblock %}</title> - <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" /> - {% compressed_css 'base' %} +{% block tagline %}Scenariusze zajÄÄ, Äwiczenia, materiaÅy{% endblock %} - <meta charset="UTF-8" /> - <meta property='og:url' content='{% block "ogurl" %}{{ "/"|build_absolute_uri:request }}{% endblock %}' /> - <meta property='og:title' content='{% block og_title %}{% usemacro title %}{% endblock %}' /> - <meta property='og:site_name' content='{% usemacro site_name %}' /> - <meta property='og:description' content='{% block og_description %}{% endblock %}' /> - <meta property='og:type' content='{% block og_type %}website{% endblock %}' /> - <meta property='og:image' content='{% block og_image %}{% endblock %}' /> - <meta property='og:locale' content='pl_PL' /> - </head> - <body id="{% block body-id %}body{% endblock %}"> +{% block top_navigation %} + <li><a class="menu-lekcje" href="{% url "catalogue_lessons" %}">Lekcje</a></li> + <li><a class="menu-kompetencje" href="{% url "curriculum" %}">Kompetencje</a></li> + <li><a class="menu-olimpiada" href="https://olimpiadacyfrowa.pl">Olimpiada</a></li> + <li><a class="menu-trener" href="{% url "info" "dlatrenera/" %}">Dla trenera</a></li> + <li><a class="menu-kurs" href="http://kurs.edukacjamedialna.edu.pl">Dla ucznia</a></li> + <li><a class="menu-o-nas" href="{% url "info" "o-nas/" %}">O projekcie</a></li> +{% endblock %} - <div id="header-wrapper"> - <header class="main" style="position:relative;"> - <!--img - src="{% static "tlo.png" %}" - style="position:absolute; opacity: 0.5; top:0; left: -83px; z-index:1000" - --> - <div id="header-top"> - <a id="logo" href="/"><img src="{% static "img/logo.png" %}" alt="Edukacja medialna"/></a> - <a id="organizer" href="http://nowoczesnapolska.org.pl"> - <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" /></a> - <nav><ul> - <li><a class="menu-lekcje" href="{% url "catalogue_lessons" %}">Lekcje</a></li> - <li><a class="menu-kompetencje" href="{% url "curriculum" %}">Kompetencje</a></li> - <li><a class="menu-wspolpraca" href="{% url "info" "wspolpraca/" %}">WspóÅpraca</a></li> - <li><a class="menu-szkolenia" href="{% url "info" "szkolenia/" %}">Szkolenia</a></li> - <li><a class="menu-wesprzyj" href="{% url "info" "wesprzyj/" %}">Wesprzyj nas</a></li> - <li><a class="menu-o-nas" href="{% url "info" "o-nas/" %}">O nas</a></li> - <li><a class="menu-kontakt" href="{% url "info" "kontakt/" %}">Kontakt</a></li> - </ul></nav> - </div> +{% block sponsors %} + {% sponsor_page "footer" %} +{% endblock %} - <div id="tagline">Scenariusze zajÄÄ, Äwiczenia, materiaÅy</div> - <div id="search"> - <form action=""> - <input name="q" placeholder="szukaj" /><button><span>→</span></button> - </form> - </div> - <div class="clr"></div> - </header> - </div> - - <div id="content">{% block body %}{% endblock %}</div> - - <footer class="main"> - {# chunks? #} - <div class="footer-item"> - <p> - Fundacja Nowoczesna Polska<br/> - <br/> - ul. MarszaÅkowska 84/92 lok. 125<br/> - 00-514 Warszawa<br/> - tel/fax: +48 22 621 30 17<br/> - e-mail: fundacja@nowoczesnapolska.org.pl - </p> - </div> - <div class="footer-item"> - <p><br/><br/> - KRS: 0000070056<br/> - REGON: 017423865<br/> - Nr konta: 59 1030 0019 0109 8530 0040 5685<br/> - </p> - </div> - <div class="footer-item" style="margin-right:0;"> - <p> - Webdesign Ortografika<br/> - <br/> - JeÅli nie oznaczono inaczej, wszystkie materiaÅy na stronie sÄ objÄte wolnÄ licencjÄ - <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.pl">Creative Commons Uznanie autorstwa - â Na tych samych warunkach 3.0</a>. - </p> - </div> - {% sponsor_page "footer" %} - <div class="clr"></div> - </footer> - - <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> +{% block extra_script %} {% compressed_js 'base' %} - {{ piwik_tag|safe }} - </body> -</html> +{% endblock %} + +{% block copyrights %} + <p>Ikonki w menu: <a href="http://www.flaticon.com/authors/freepik">Designed by Freepik and distributed by Flaticon</a></p> +{% endblock %} \ No newline at end of file