view gpp/templates/downloads/navigation.html @ 368:b76af55aafe4

For #176; cache the output of the latest poll block template tag.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Mar 2011 21:00:00 +0000
parents 88b2b9cb8c1f
children 41411066b16d
line wrap: on
line source
{% load url from future %}
<div class="app-logo">
<img src="{{ STATIC_URL }}icons/downloads-logo.jpg" alt="Downloads Logo" title="Downloads" />
</div>
<ul class="app-menu">
    <li><a href="{% url 'downloads-index' %}">Categories</a></li>
    <li><a href="{% url 'downloads-new' %}">New</a></li>
    <li><a href="{% url 'downloads-popular' %}">Popular</a></li>
    <li><a href="{% url 'downloads-rating' %}">Highest Rated</a></li>
    <li><a href="{% url 'downloads-add' %}">Add</a></li>
</ul>
<center>
   <form action="{% url 'downloads-random' %}" method="post">{% csrf_token %}
      <input type="submit" title="Download a file at random" value="Surprise Me!" />
   </form>
</center>