1 <!-- template header.html -->
2 {% load extra_tags ui_registry i18n extra_filters %}
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">
30 <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
31 <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
34 <input id="type-question" type="radio" value="question" name="t"
35 checked="checked" /><label for="type-question">{% trans "questions" %}</label>
36 <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
37 <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
42 {% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
43 <div id="announcement">
44 {{ settings.ANNOUNCEMENT_BAR|or_preview:request|static_content:settings.ANNOUNCEMENT_BAR_RENDER_MODE }}
48 <!-- end template header.html -->