annotate gpp/templates/weblinks/base.html @ 11:cc8eb028def1

Update jquery-ui and theme version that is hosted on google. In preparation for having jquery on every page (?), make it so that the autocomplete plug is using the 'global' jquery, and not the one that came with it. It seems to work okay with jquery 1.3.2.
author Brian Neal <bgneal@gmail.com>
date Tue, 14 Apr 2009 02:35:35 +0000
parents dbd703f7d63a
children 884839ddbfde
rev   line source
gremmie@1 1 {% extends 'base.html' %}
gremmie@1 2 {% block custom_css %}
gremmie@1 3 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/weblinks.css" />
gremmie@1 4 {% block weblinks_css %}{% endblock %}
gremmie@1 5 {% endblock %}
gremmie@1 6 {% block content %}
gremmie@1 7 <h2>Web Links</h2>
gremmie@1 8
gremmie@1 9 <div class="weblinks-search">
gremmie@1 10 <form action="{% url weblinks-search page=1 %}" method="post">
gremmie@1 11 <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
gremmie@1 12 </form>
gremmie@1 13 </div>
gremmie@1 14
gremmie@1 15 <ul class="app-menu">
gremmie@1 16 <li><a href="{% url weblinks.views.link_index %}">Categories</a></li>
gremmie@1 17 <li><a href="{% url weblinks.views.new_links %}">New</a></li>
gremmie@1 18 <li><a href="{% url weblinks.views.popular_links %}">Popular</a></li>
gremmie@1 19 <li><a href="{% url weblinks.views.random_link %}" target="_blank">Random</a></li>
gremmie@1 20 {% if user.is_authenticated %}
gremmie@1 21 <li><a href="{% url weblinks.views.add_link %}">Add</a></li>
gremmie@1 22 {% endif %}
gremmie@1 23 </ul>
gremmie@1 24
gremmie@1 25 <div class="weblinks-content">
gremmie@1 26 {% block weblinks_content %}
gremmie@1 27 {% endblock %}
gremmie@1 28 </div>
gremmie@1 29 {% endblock %}