1 <!-- template header.html -->
2 {% load extra_tags ui_registry i18n extra_filters markup %}
7 <a href="{% url index %}">
8 <img src="{{ settings.APP_LOGO }}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
13 {% loadregistry header_links %}{% endloadregistry %}
17 {% loopregistry page_top_tabs %}{% spaceless %}
18 <a id="nav_{{ tab_name }}"{% ifequal tab tab_name %} class="on"{% endifequal %} href="{{ tab_url }}" >{{ tab_title }}</a>
19 {% endspaceless %}{% endloopregistry %}
20 <a id="nav_ask" href="{% url ask %}" class="special">{% trans "ask a question" %}</a>
24 <div class="clear"></div>
27 <form action="{% url search %}" method="get">
29 <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
30 <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
33 <input id="type-question" type="radio" value="question" name="t"
34 checked="checked" /><label for="type-question">{% trans "questions" %}</label>
35 <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
36 <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
41 {% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
42 <div id="announcement">
43 {{ settings.ANNOUNCEMENT_BAR|or_preview:request|markdown:"settingsparser" }}
47 <!-- end template header.html -->