~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/navigation.html

  • Committer: franku
  • Date: 2016-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
   vim:ft=htmldjango
3
3
{% endcomment %}
4
4
 
5
 
{% load wl_extras %}
 
5
 
6
6
 
7
7
<script type="text/javascript">
8
8
        /* Enable dropdown menus on touch devices */
9
9
        $(document).ready(function(){
10
 
                $(".menu li").on("touchstart", function() {
 
10
                $(".menu li").live("touchstart", function() {
11
11
                        $(this).next("ul").css("display", "block");
12
12
                });
13
13
        });
43
43
                </ul>
44
44
        </li>
45
45
        <li><a href="{% url 'pybb_index' %}">Forums</a>
46
 
                        {% forum_navigation %}
 
46
                <ul>
 
47
                        <li><a href="{% url 'pybb_forum' 1 %}">Technical Help</a></li>
 
48
                        <li><a href="{% url 'pybb_forum' 2 %}">Game Suggestions</a></li>
 
49
                        <li><a href="{% url 'pybb_forum' 3 %}">Playing Widelands</a></li>
 
50
                        <li><a href="{% url 'pybb_forum' 4 %}">Editor Forum</a></li>
 
51
                        <li><a href="{% url 'pybb_forum' 5 %}">[Deutsch] - Spielerforum</a></li>
 
52
                        <li><a href="{% url 'pybb_forum' 6 %}">[Español] - Foro de jugadores</a></li>
 
53
                        <li><a href="{% url 'pybb_forum' 7 %}">[Français] - Forum de joueurs</a></li>
 
54
                        <li><a href="{% url 'pybb_forum' 13 %}">[English] - Player Forum</a></li>
 
55
                        <li><a href="{% url 'pybb_forum' 9 %}">Graphic Development</a></li>
 
56
                        <li><a href="{% url 'pybb_forum' 10 %}">Sound &amp; Music Development</a></li>
 
57
                        <li><a href="{% url 'pybb_forum' 11 %}">Homepage</a></li>
 
58
                        <li><a href="{% url 'pybb_forum' 12 %}">Translations &amp; Internationalization</a></li>
 
59
                </ul>
47
60
        </li>
48
61
        <li><a href="{% url 'webchat_index' %}">Chat</a></li>
49
62
        <li><a href="{% url 'wiki_article' "Development" %}">Development</a>
50
63
                <ul>
51
64
                        <li><a href="{% url 'wiki_article' "Contribute" %}">Contribute</a></li>
52
65
                        <li><a href="{% url 'developers' %}">Widelands Development Team</a></li>
53
 
                        <li><a href="/documentation/index.html" target="_blank">Documentation</a></li>
 
66
                        <li><a href="/docs/wl/" target="_blank">Documentation</a></li>
54
67
                        <li><a href="https://bugs.launchpad.net/widelands" target="_blank">Widelands Bugtracker</a></li>
55
68
                        <li><a href="https://bugs.launchpad.net/widelands-website" target="_blank">Website Bugtracker</a></li>
56
69
                </ul>
59
72
<div class="searchBox posRight">
60
73
        <form method="post" action="/search/">
61
74
                <div class="searchBoxInner">
62
 
                        <span class="fake_selector">
63
 
                        <select name="section" id="selector" title="Search in">
64
 
                                <option>Forum</option>
65
 
                                <option>Wiki</option>
66
 
                                <option>Encyclopedia</option>
67
 
                                <option>News</option>
68
 
                                <option>Maps</option>
69
 
                                <option>All</option>
70
 
                        </select>
71
 
                        <input id="id_nav_search" type="text" name="q" class="searchField" placeholder="Search Forum" size="15" maxlength="200" />
 
75
                        <input id="id_nav_search" type="text" name="search" class="searchField placeholder" placeholder="Search..." maxlength="200" />
 
76
                        <input id="id_nav_incl_wiki" type="hidden" name="incl_wiki" value="1" />
 
77
                        <input id="id_nav_incl_news" type="hidden" name="incl_news" value="1" />
 
78
                        <input id="id_nav_incl_maps" type="hidden" name="incl_maps" value="1" />
 
79
                        <input id="id_nav_incl_help" type="hidden" name="incl_help" value="1" />
 
80
                        <input id="id_nav_incl_forum" type="hidden" name="incl_forum" value="1" />
72
81
                        {% csrf_token %}
73
 
                        </span>
74
82
                </div>
75
83
        </form>
76
84
</div>