]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/css3/templates/header.html
small fix in css
[osqa.git] / forum / skins / css3 / templates / header.html
1 <!-- template header.html -->\r
2 {% load extra_tags %}\r
3 {% load i18n %}\r
4 {% load user_tags %}\r
5         <div id="roof">\r
6                 <div id="navBar">\r
7                         <div id="top">\r
8                 {% if request.user.is_authenticated %}\r
9                     {% if request.user.is_superuser %}\r
10                         <a href="{% url admin_index %}">{% trans "administration" %}</a>\r
11                     {% endif %}\r
12                     {% user_signature_small_full request.user %}\r
13                     <a href="{% url logout %}">{% trans "logout" %}</a>\r
14                 {% else %}\r
15                     <a href="{% url auth_signin %}">{% trans "login" %}</a>\r
16                 {% endif %}\r
17                 <a href="{% url about %}">{% trans "about" %}</a>\r
18                 <a href="{% url faq %}">{% trans "faq" %}</a>\r
19                         </div>\r
20                         <table width="100%" border="0" cellspacing="0" cellpadding="0">\r
21                           <tr>\r
22                                 <td width="23%">\r
23                                         <div id="logo">\r
24                                                 <a href="{% url index %}">\r
25                                                         <img src="{{ settings.APP_LOGO }}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>\r
26                                                 </a>\r
27                                         </div>\r
28                 </td>\r
29                                 <td width="77%" valign="bottom">\r
30                 <div class="nav">\r
31                     <a id="nav_questions" href="{% url questions %}" >{% trans "questions" %}</a>\r
32                     <a id="nav_tags" href="{% url tags %}">{% trans "tags" %}</a>\r
33                     <a id="nav_users" href="{% url users %}">{% trans "users" %}</a>\r
34                     {% if settings.BOOKS_ON %}\r
35                     <a id="nav_books" href="{% url books %}">{% trans "books" %}</a>\r
36                     {% endif %}\r
37                     <a id="nav_badges" href="{% url badges %}">{% trans "badges" %}</a>\r
38                     <a id="nav_unanswered" href="{% url unanswered %}">{% trans "unanswered questions" %}</a>\r
39                     <div class="focus">\r
40                     <a id="nav_ask" href="{% url search %}" class="special">{% trans "advanced search" %}</a>\r
41                     </div>\r
42                 </div>\r
43 \r
44               </td>\r
45                           </tr>\r
46                         </table>\r
47                 </div>\r
48                 <div id="searchBar">\r
49             <form action="{% url ask %}" method="post">\r
50                 <div id="ask_teaser">Your question:</div>\r
51                 <div id="ask_input">\r
52                     <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />\r
53                     <input type="submit" value="{% trans "GO" %}" name="go" id="go_btn" />\r
54                 </div>\r
55             </form>\r
56                 </div>\r
57         </div>\r
58 <!-- end template header.html -->\r