Fix in admin view
[edumed.git] / edumed / templates / base_super.html
index a0dccf2..8f2886b 100644 (file)
@@ -25,7 +25,7 @@
     </head>
     <body id="{% block body-id %}body{% endblock %}">
         <div id="header-wrapper">
     </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"
             <!--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 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">
             <div id="organizer">
+                {% block organizer %}
                 Projekt prowadzi:<br/>
                 <a href="http://nowoczesnapolska.org.pl">
                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
                 </a>
                 Projekt prowadzi:<br/>
                 <a href="http://nowoczesnapolska.org.pl">
                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
                 </a>
+                {% endblock %}
             </div>
             <nav><ul>
                 {% block top_navigation %}
             </div>
             <nav><ul>
                 {% block top_navigation %}
@@ -94,7 +96,6 @@
         </footer>
 
     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
         </footer>
 
     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
-    {% compressed_js 'base' %}
     {% block extra_script %}{% endblock %}
     {{ piwik_tag|safe }}
     </body>
     {% block extra_script %}{% endblock %}
     {{ piwik_tag|safe }}
     </body>