]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/header.html
deleting the test file
[osqa.git] / forum / skins / default / templates / header.html
1 <!-- template header.html -->
2 {% load extra_tags %}
3 {% load i18n %}
4         <div id="roof">
5                 <div id="navBar">
6                         <div id="top">
7                 {% if request.user.is_authenticated %}
8                     <a href="{% url users %}{{ request.user.id }}/{{ request.user.username }}/">{{ request.user.username }}</a> {% get_score_badge request.user %} 
9                     <a href="{% url logout %}">{% trans "logout" %}</a>
10                 {% else %}
11                     <a href="{% url auth_signin %}">{% trans "login" %}</a>
12                 {% endif %}
13                 <a href="{% url about %}">{% trans "about" %}</a>
14                 <a href="{% url faq %}">{% trans "faq" %}</a>
15                         </div>
16                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
17                           <tr>
18                                 <td width="23%">
19                                         <div id="logo">
20                                                 <a href="{% url index %}">
21                                                         <img src="{% media  "/media/images/logo.png" %}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
22                                                 </a>
23                                         </div>
24                 </td>
25                                 <td width="77%" valign="bottom">
26                 <div class="nav">
27                     <a id="nav_questions" href="{% url questions %}" >{% trans "questions" %}</a>
28                     <a id="nav_tags" href="{% url tags %}">{% trans "tags" %}</a>
29                     <a id="nav_users" href="{% url users %}">{% trans "users" %}</a>
30                     {% if settings.BOOKS_ON %}
31                     <a id="nav_books" href="{% url books %}">{% trans "books" %}</a>
32                     {% endif %}
33                     <a id="nav_badges" href="{% url badges %}">{% trans "badges" %}</a>
34                     <a id="nav_unanswered" href="{% url unanswered %}">{% trans "unanswered questions" %}</a>
35                     <div class="focus">
36                     <a id="nav_ask" href="{% url ask %}" class="special">{% trans "ask a question" %}</a>
37                     </div>
38                 </div>
39
40               </td>
41                           </tr>
42                         </table>
43                 </div>
44                 <div id="searchBar">
45                         <table width="100%" border="0" cellpadding="0" cellspacing="0" class="content">
46             <tr>
47                 <td align="center" valign="middle">
48                     <form action="{% url search %}" method="get">
49                         <div>
50                             <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
51                             <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
52                         </div>
53                         <div class="options">
54                             <input id="type-question" type="radio" value="question" name="t" 
55                                 checked="checked" /><label for="type-question">{% trans "questions" %}</label>
56                             <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
57                             <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
58                         </div>
59                     </form>
60                 </td>
61             </tr>
62                         </table>
63                 </div>
64         </div>
65 <!-- end template header.html -->