'jquery/colorbox/colorbox.css',
'css/forum.scss',
+ 'css/mil.scss'
),
'output_filename': 'compressed/base.css',
},
--- /dev/null
+header.header-mil {
+ background-color: #f47b3b; }
+ header.header-mil #organizer {
+ color: white;
+ float: none;
+ position: absolute;
+ top: 10px;
+ right: 12px; }
+ header.header-mil nav ul {
+ margin-top: 0; }
+ header.header-mil nav ul li {
+ vertical-align: text-bottom; }
+ header.header-mil nav a, header.header-mil nav a:hover {
+ color: white; }
+ header.header-mil nav a:before {
+ content: " ";
+ display: block;
+ margin-bottom: .8em;
+ width: 5.5em;
+ height: 4.25em;
+ text-align: center;
+ margin: auto;
+ margin-bottom: .8em; }
+ header.header-mil nav .menu-consultations:before {
+ background: url(../img/menu/mil/consultations.png) no-repeat 0 0;
+ background-size: 100%; }
+ header.header-mil nav .menu-takepart:before {
+ background: url(../img/menu/mil/takepart.png) no-repeat 0 0;
+ background-size: 100%; }
+ header.header-mil nav .menu-knowledgebase:before {
+ background: url(../img/menu/mil/knowledgebase.png) no-repeat 0 0;
+ background-size: 100%; }
+ header.header-mil nav .menu-kompetencje:before, header.header-mil nav .menu-kontakt:before {
+ width: 3.625em;
+ height: 2.8125em; }
+ header.header-mil nav .menu-kompetencje:before, header.header-mil nav .menu-kompetencje:hover:before {
+ background: url(../img/menu/mil/catalog.png) no-repeat 0 0;
+ background-size: 100%; }
+ header.header-mil nav .menu-kontakt:before, header.header-mil nav .menu-kontakt:hover:before {
+ background: url(../img/menu/mil/contact.png) no-repeat 0 0;
+ background-size: 100%; }
+ header.header-mil nav .lang-switcher-en:before {
+ background: url(../img/menu/mil/lang_en.png) no-repeat 0 0;
+ background-size: 100%; }
+ header.header-mil nav .lang-switcher-pl:before {
+ background: url(../img/menu/mil/lang_pl.png) no-repeat 0 0;
+ background-size: 100%; }
--- /dev/null
+@import "vars";
+
+header.header-mil {
+
+ background-color: #f47b3b;
+
+ #organizer {
+ color: white;
+ float: none;
+ position: absolute;
+ top: 10px;
+ right:12px;
+ }
+
+ nav {
+ ul {
+ margin-top: 0;
+ li {
+ vertical-align: text-bottom;
+ }
+ }
+
+ a,a:hover {
+ color: white;
+ }
+
+ a:before {
+ content: " ";
+ display: block;
+ margin-bottom: .8em;
+ width: 88*$px;
+ height: 68*$px;
+ text-align:center;
+ margin: auto;
+ margin-bottom: .8em;
+ }
+
+ .menu-consultations:before { background: url(../img/menu/mil/consultations.png) no-repeat 0 0; background-size: 100%;}
+ .menu-takepart:before { background: url(../img/menu/mil/takepart.png) no-repeat 0 0; background-size: 100%;}
+ .menu-knowledgebase:before { background: url(../img/menu/mil/knowledgebase.png) no-repeat 0 0; background-size: 100%;}
+
+ .menu-kompetencje:before, .menu-kontakt:before {
+ width: 58*$px;
+ height: 45*$px;
+ }
+
+ .menu-kompetencje:before, .menu-kompetencje:hover:before {
+ background: url(../img/menu/mil/catalog.png) no-repeat 0 0; background-size: 100%;
+ }
+ .menu-kontakt:before, .menu-kontakt:hover:before {
+ background: url(../img/menu/mil/contact.png) no-repeat 0 0; background-size: 100%;
+ }
+
+ .lang-switcher-en:before { background: url(../img/menu/mil/lang_en.png) no-repeat 0 0; background-size: 100%;}
+ .lang-switcher-pl:before { background: url(../img/menu/mil/lang_pl.png) no-repeat 0 0; background-size: 100%;}
+ }
+}
\ No newline at end of file
{% load i18n %}
+{% block header_class %}header-mil{% endblock %}
+
+{% block logo %}
+<img src="{% static "img/logo-mil.png" %}" alt="Edukacja medialna"/>
+{% endblock %}
+
{% block top_navigation %}
- <li><a class="menu-wspolpraca" href="{% url "mil_home" %}">{% trans 'Consultations' %}</a></li>
+ <li><a class="menu-consultations" href="{% url "mil_home" %}">{% trans 'Consultations' %}</a></li>
<li><a class="menu-kompetencje" href="{% url "curriculum" %}">{% trans 'Competencies' %}</a></li>
- <li><a class="menu-wspolpraca" href="{% url "comment_document_index" %}">{% trans 'Take Part' %}</a></li>
+ <li><a class="menu-takepart" href="{% url "comment_document_index" %}">{% trans 'Take Part' %}</a></li>
{% if request.LANGUAGE_CODE == 'pl' %}
- <li><a class="menu-lekcje" href="{% url 'home' subdomain=None %}">Materiały edukacyjne</a></li>
+ <li><a class="menu-knowledgebase" href="{% url 'home' subdomain=None %}">Baza wiedzy</a></li>
{% endif %}
<li><a class="menu-kontakt" href="{% url 'mil_contact' %}">{% trans 'Contact' %}</a></li>
<li>{% lang_switcher %}</li>
{% endblock %}
{% block organizer %}
- <span style="position:relative; left:70px;">
Projekt prowadzi:<br/>
<a href="http://nowoczesnapolska.org.pl">
- <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
- </a>
+ <img src="{% static "img/logo_fnp_white.png" %}" alt="Fundacja Nowoczesna Polska" />
+ </a><br/>
<a href="http://http://www.nina.gov.pl/">
- <img src="{% static "img/nina.jpg" %}" alt="Narodowy Instytut Audiowizualny" />
+ <img src="{% static "img/nina-white.png" %}" alt="Narodowy Instytut Audiowizualny" />
</a>
- </span>
{% endblock %}
\ No newline at end of file
</head>
<body id="{% block body-id %}body{% endblock %}">
<div id="header-wrapper">
- <header class="main" style="position:relative;">
+ <header class="main {% block header_class %}{% endblock %}" style="position:relative;">
<!--img
src="{% static "tlo.png" %}"
style="position:absolute; opacity: 0.5; top:0; left: -83px; z-index:1000"
<a href="{% url 'logout' subdomain=None %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">Wyloguj</a>
{% endif %}
<div id="header-top">
- <a id="logo" href="/"><img src="{% static "img/logo.png" %}" alt="Edukacja medialna"/></a>
+ <a id="logo" href="/">{% block logo %}<img src="{% static "img/logo.png" %}" alt="Edukacja medialna"/>{% endblock %}</a>
<div id="organizer">
{% block organizer %}
Projekt prowadzi:<br/>
django-jsonfield>=0.9,<0.10
django_cas>=2.1,<2.2
-fnpdjango<0.2
+fnpdjango>=0.1.13,<0.2
Feedparser