40a4df3767
* Simple form input fields now use TakeFlight styling * Styles the form widgets as per the styles in our CSS * Styling of TextArea now matches the remaining input types * Adds is_last modifier to navigation dropdown * Adds admin for talk, tutorial, and miniconf proposals * Adds an RSS feed * Adds a link to the RSS page * Unbreaks the old news index page * Adds never_cache to the login page, removes the never cache middleware from the settings
22 lines
840 B
HTML
22 lines
840 B
HTML
{% load sitetree %}
|
|
<nav role="navigation" id="LOL" class="l-header--links">
|
|
{% for item in sitetree_items %}
|
|
<li class="l-header--nav">
|
|
<a
|
|
href="{% if item.has_children %}#{% else %}{% sitetree_url for item %}{% endif %}"
|
|
{% if item.has_children %}
|
|
class="l-header--nav dropdown-toggle {% if item.is_current or item.in_current_branch %}active{% endif %}" data-toggle="dropdown"
|
|
{% else %}
|
|
class="l-header--nav {% if item.is_current or item.in_current_branch %}active{% endif %}"
|
|
{% endif %}>
|
|
{{ item.title_resolved }}
|
|
</a>
|
|
|
|
{% if item.has_children %}
|
|
{% with is_last=forloop.last %}
|
|
{% sitetree_children of item for menu template "sitetree_header_dropdown.html" %}
|
|
{% endwith %}
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</nav>
|