annotate gpp/templates/downloads/navigation.html @ 194:6a5549c2efb5
Implement #62, add support for CSRF protection.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sat, 03 Apr 2010 20:00:56 +0000 |
parents |
db40c2754580 |
children |
2022c0409296 |
rev |
line source |
bgneal@26
|
1 <div class="app-logo">
|
bgneal@26
|
2 <img src="{{ MEDIA_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" />
|
bgneal@26
|
3 </div>
|
bgneal@194
|
4 <form id="downloads-search" action="{% url downloads-search page=1 %}" method="post">{% csrf_token %}
|
gremmie@1
|
5 <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
|
gremmie@1
|
6 </form>
|
gremmie@1
|
7 <ul class="app-menu">
|
gremmie@1
|
8 <li><a href="{% url downloads-index %}">Categories</a></li>
|
gremmie@1
|
9 <li><a href="{% url downloads-new %}">New</a></li>
|
gremmie@1
|
10 <li><a href="{% url downloads-popular %}">Popular</a></li>
|
gremmie@1
|
11 <li><a href="{% url downloads-rating %}">Highest Rated</a></li>
|
gremmie@1
|
12 <li><a href="{% url downloads-random %}">Random</a></li>
|
gremmie@1
|
13 <li><a href="{% url downloads-add %}">Add</a></li>
|
gremmie@1
|
14 </ul>
|