Zmena fotky v header
This commit is contained in:
parent
31ff3d2b58
commit
5f8d79f0aa
7 changed files with 15 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-md-12'>
|
<div class='col-md-12'>
|
||||||
<a href='/'>
|
<a href='/'>
|
||||||
<div id="header">
|
<div id="header" class="{% block header %}{% endblock %}">
|
||||||
<img class="logo" src="{% static 'images/logo.png' %}" />
|
<img class="logo" src="{% static 'images/logo.png' %}" />
|
||||||
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -96,4 +96,7 @@
|
||||||
{% block menu_clanky %}{% if "/clanky/" in flatpage.url %}selected{% endif %}{% endblock %}
|
{% block menu_clanky %}{% if "/clanky/" in flatpage.url %}selected{% endif %}{% endblock %}
|
||||||
{% block menu_archiv %}{% if "/archiv/" in flatpage.url %}selected{% endif %}{% endblock %}
|
{% block menu_archiv %}{% if "/archiv/" in flatpage.url %}selected{% endif %}{% endblock %}
|
||||||
|
|
||||||
|
{# zmena titulniho obrazku #}
|
||||||
|
{% block header %}{% if "/co-je-MaM/" in flatpage.url %}cojemam{% elif "/soustredeni/" in flatpage.url %}soustredeni{% elif "/zadani/" in flatpage.url %}zadani{% elif "/clanky/" in flatpage.url %}clanky{% elif "/archiv/" in flatpage.url %}archiv{% else %}odeslat{% endif %}{% endblock header %}
|
||||||
|
|
||||||
{# TODO zvirazneni submenu #}
|
{# TODO zvirazneni submenu #}
|
||||||
|
|
|
@ -2,3 +2,5 @@
|
||||||
|
|
||||||
{% block menu_archiv %}selected{% endblock %}
|
{% block menu_archiv %}selected{% endblock %}
|
||||||
|
|
||||||
|
{# zmena fotky #}{% block header %}archiv{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
{% block menu_clanky %}selected{% endblock %}
|
{% block menu_clanky %}selected{% endblock %}
|
||||||
|
|
||||||
|
{# zmena fotky #}{% block header %}clanky{% endblock %}
|
||||||
|
|
||||||
{% block submenu %}
|
{% block submenu %}
|
||||||
{% include "seminar/clanky/submenu.html" %}
|
{% include "seminar/clanky/submenu.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock%}{% endblock%}
|
{% endblock%}{% endblock%}
|
||||||
|
|
||||||
|
{# podbarveni menu a submenu #}
|
||||||
{% block menu_uvod %}selected{% endblock %}
|
{% block menu_uvod %}selected{% endblock %}
|
||||||
{% block submenu %}
|
{% block submenu %}
|
||||||
{% with "org" as selected %}
|
{% with "org" as selected %}
|
||||||
|
@ -14,6 +15,8 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{# zmena fotky #}{% block header %}cojemam{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div>
|
<div>
|
||||||
{% if not aktivni %}
|
{% if not aktivni %}
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
{% endblock submenu %}
|
{% endblock submenu %}
|
||||||
|
|
||||||
|
{# zmena fotky #}{% block header %}soustredeni{% endblock %}
|
||||||
|
|
||||||
{% block content %}{% if user.is_authenticated %}{# PRACUJE SE STRANKA #}
|
{% block content %}{% if user.is_authenticated %}{# PRACUJE SE STRANKA #}
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
{% block menu_zadani %}selected{% endblock %}
|
{% block menu_zadani %}selected{% endblock %}
|
||||||
|
|
||||||
|
{# zmena fotky #}{% block header %}zadani{% endblock %}
|
||||||
|
|
||||||
{% block submenu %}
|
{% block submenu %}
|
||||||
{% include 'seminar/zadani/submenu.html' %}
|
{% include 'seminar/zadani/submenu.html' %}
|
||||||
{% endblock submenu %}
|
{% endblock submenu %}
|
||||||
|
|
Loading…
Reference in a new issue