Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
752 B
22 lines
752 B
5 years ago
|
{% load sitetree %}
|
||
|
<ul class="row-menu">
|
||
|
{% for item in sitetree_items %}
|
||
|
<div class="menu-item">
|
||
|
<li class="{% if item.has_children %}dropdown{% endif %} {% if item.is_current or item.in_current_branch %}active{% endif %}" >
|
||
|
|
||
|
<a href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}" {% if item.has_children %} class="dropdown-toggle" data-toggle="dropdown" {% endif %}>
|
||
|
{{ item.title_resolved }}
|
||
|
</a>
|
||
|
<div class="submenu">
|
||
|
{% if item.has_children %}
|
||
|
<div class="submenu active">
|
||
|
{% sitetree_children of item for menu template "submenu.html" %}
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
</li>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
|