<!-- template header.html -->
{% load extra_tags ui_registry i18n extra_filters markup %}
<div id="fixed-header">
    <div id="header" class="shadowed curved-bottom"> <!--Menù arancione-->
	    <div class="container">
            <ul class="links">
                <li><a id="nav_index" href="{% url index %}">{% trans "home" %}</a></li>
                {% loopregistry page_top_tabs %}{% spaceless %}
                    <li><a id="nav_{{ tab_name }}"{% ifequal tab tab_name %} class="on"{% endifequal %} href="{{ tab_url }}" >{{ tab_title }}</a></li>
                {% endspaceless %}{% endloopregistry %}
                <li><a id="nav_{{ tab_name }}" href="{% url ask %}" >{% trans "ask a question" %}</a></li>
            </ul>
            
            <div id="logo">
                <div id="ubuntu-it-sites">
                    <a id="" href="http://www.ubuntu-it.org">web</a>
                    <a href="http://wiki.ubuntu-it.org">wiki</a>
                    <a id="" href="http://forum.ubuntu-it.org">forum</a>
                    <a class="active" id="" href="http://chiedi.ubuntu-it.org">chiedi</a>
                    <a id="" href="http://cerca.ubuntu-it.org">cerca</a>
                    <a id="" href="http://planet.ubuntu-it.org">planet</a>
                </div>
			    <a href="/" title="Ubuntu - Chiedi alla comunità italiana">
                    <span>chiedi</span>ubuntu-it
                </a>
                <span>comunità italiana</span>
		    </div>
		    
		    <div class="buttons">
                <div id="accessibility" title="Maggiore focus ai contenuti" onclick="accessibility_toggle();"></div>
            </div>
        </div>
    </div>

    <div id="subheader">
        <div class="container">
            <div class="container-inside">
	            <div id="searchBar">
                    <form action="{% url search %}" method="get">
                        {% csrf_token %}
                        <div class="options" id="sub_header_options">
                            <select name="t">
                                <option value="question" selected>{% trans "questions" %}</option>
                                <option value="tag">{% trans "tags" %}</option>
                                <option value="user">{% trans "users" %}</option>
                            </select>
                        </div>
                        
                        <div id="sub_header_search">
                            <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
                            <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
                        </div>
                    </form>	
                </div>
                
                <div id="top">
		            {% loadregistry header_links %}{% endloadregistry %}
		        </div>
	        </div>
	    </div>
        
        <div class="clear"></div>
	    
	    {% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
            <div id="announcement">
                {{ settings.ANNOUNCEMENT_BAR|or_preview:request|static_content:settings.ANNOUNCEMENT_BAR_RENDER_MODE }}
            </div>
        {% endif %}
    </div>
</div>
<!-- end template header.html -->
