1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!-- template header.html -->
{% load extra_tags ui_registry i18n extra_filters markup %}
<div id="header" class="shadowed curved-bottom">
<div id="roof">
<ul id="nav">
{% 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>
</div>
<div class="clear"></div>
<div id="sub_header">
<div id="searchBar">
<form action="{% url search %}" method="get">
{% csrf_token %}
<div class="options" id="sub_header_options">
<!--Metodo dei radio button
<input id="type-question" type="radio" value="question" name="t"
checked="checked" /><label for="type-question">{% trans "questions" %}</label>
<input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
<input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
-->
<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 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 %}
<!-- end template header.html -->