]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/header.html
More polished PAI for module html injection and added a couple more places to inject...
[osqa.git] / forum / skins / default / templates / header.html
1 <!-- template header.html -->
2 {% load extra_tags ui_registry i18n %}
3
4         <div id="roof">
5                 <div id="navBar">
6                         <div id="top">
7                             {% loadregistry header_links %}{% endloadregistry %}
8                         </div>
9                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
10                           <tr>
11                                 <td width="23%">
12                                         <div id="logo">
13                                                 <a href="{% url index %}">
14                                                         <img src="{{ settings.APP_LOGO }}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
15                                                 </a>
16                                         </div>
17                 </td>
18                                 <td width="77%" valign="bottom">
19                 <div class="nav">
20                     {% loopregistry page_top_tabs %}{% spaceless %}
21                         <a id="nav_{{ tab_name }}"{% ifequal tab tab_name %} class="on"{% endifequal %} href="{{ tab_url }}" >{{ tab_title }}</a>
22                     {% endspaceless %}{% endloopregistry %}
23                     <div class="focus">
24                     <a id="nav_ask" href="{% url ask %}" class="special">{% trans "ask a question" %}</a>
25                     </div>
26                 </div>
27
28               </td>
29                           </tr>
30                         </table>
31                 </div>
32                 <div id="searchBar">
33                         <table width="100%" border="0" cellpadding="0" cellspacing="0" class="content">
34             <tr>
35                 <td align="center" valign="middle">
36                     <form action="{% url search %}" method="get">
37                         <div>
38                             <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
39                             <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
40                         </div>
41                         <div class="options">
42                             <input id="type-question" type="radio" value="question" name="t" 
43                                 checked="checked" /><label for="type-question">{% trans "questions" %}</label>
44                             <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
45                             <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
46                         </div>
47                     </form>
48                 </td>
49             </tr>
50                         </table>
51                 </div>
52         </div>
53 <!-- end template header.html -->