<!-- 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_ask" href="{% url ask %}" class="special">{% 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://chat.ubuntu-it.org">chat</a>
                    <a id="" href="http://cerca.ubuntu-it.org">cerca</a>
                    <a id="" href="http://planet.ubuntu-it.org">planet</a>
                </div>
                    <span class="suffix">chiedi</span><span class="title">ubuntu-it</span>
                    <span class="description">comunit&agrave; 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" />
                            <button name="Submit" class="searchBtn" ></button>
                        </div>
                    </form>	
                </div>
                
                <div id="top">
		            {% loadregistry header_links %}{% endloadregistry %}
		        </div>
	        </div>
	    </div>
        
        <div class="clear"></div>
	    
    </div>
</div>
<!-- end template header.html -->
