Browse Source

Zmena fotky v header

remotes/origin/vyslbez12
Bc. Petr Pecha 9 years ago
parent
commit
5f8d79f0aa
  1. 2
      mamweb/templates/base.html
  2. 3
      mamweb/templates/flatpages/default.html
  3. 2
      seminar/templates/seminar/archiv/base.html
  4. 2
      seminar/templates/seminar/clanky/base.html
  5. 3
      seminar/templates/seminar/cojemam/organizatori.html
  6. 2
      seminar/templates/seminar/soustredeni/seznam_soustredeni.html
  7. 2
      seminar/templates/seminar/zadani/base.html

2
mamweb/templates/base.html

@ -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>

3
mamweb/templates/flatpages/default.html

@ -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
seminar/templates/seminar/archiv/base.html

@ -2,3 +2,5 @@
{% block menu_archiv %}selected{% endblock %} {% block menu_archiv %}selected{% endblock %}
{# zmena fotky #}{% block header %}archiv{% endblock %}

2
seminar/templates/seminar/clanky/base.html

@ -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 %}

3
seminar/templates/seminar/cojemam/organizatori.html

@ -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 %}

2
seminar/templates/seminar/soustredeni/seznam_soustredeni.html

@ -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
seminar/templates/seminar/zadani/base.html

@ -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…
Cancel
Save