datatracker/ietf/templates/doc/document_top.html
Ole Laursen a589115ff4 Summary: Reindent all HTML files to follow the previous convention (no
tabs) and kill the scripts block in favour of just using a js block with
a script tag (which is easier to understand for context-sensitive
modes such as web-mode in Emacs). Also fix a couple of details, e.g.
missing semicolons in JS snippets.
 - Legacy-Id: 9096
2015-02-17 18:01:04 +00:00

12 lines
430 B
HTML

{% load ietf_filters %}
<h1>{{ doc.title }}<br><small>{{ name }}</small></h1>
<ul class="nav nav-tabs" role="tablist">
{% for name, t, url, active, tooltip in tabs %}
<li {% if tooltip %}title="{{tooltip}}"{% endif %} class="{% if t == selected %}active {% endif %}{% if not active %}disabled {% endif %}">
<a {% if active %}href="{{ url }}"{% endif %}>{{ name|capfirst_allcaps }}</a>
</li>
{% endfor %}
</ul>