Mercurial > public > sg101
comparison gpp/templates/weblinks/base.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 884839ddbfde |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% extends 'base.html' %} | |
2 {% block custom_css %} | |
3 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/weblinks.css" /> | |
4 {% block weblinks_css %}{% endblock %} | |
5 {% endblock %} | |
6 {% block content %} | |
7 <h2>Web Links</h2> | |
8 | |
9 <div class="weblinks-search"> | |
10 <form action="{% url weblinks-search page=1 %}" method="post"> | |
11 <p>{{ search_form.text }} <input type="submit" value="Search" /></p> | |
12 </form> | |
13 </div> | |
14 | |
15 <ul class="app-menu"> | |
16 <li><a href="{% url weblinks.views.link_index %}">Categories</a></li> | |
17 <li><a href="{% url weblinks.views.new_links %}">New</a></li> | |
18 <li><a href="{% url weblinks.views.popular_links %}">Popular</a></li> | |
19 <li><a href="{% url weblinks.views.random_link %}" target="_blank">Random</a></li> | |
20 {% if user.is_authenticated %} | |
21 <li><a href="{% url weblinks.views.add_link %}">Add</a></li> | |
22 {% endif %} | |
23 </ul> | |
24 | |
25 <div class="weblinks-content"> | |
26 {% block weblinks_content %} | |
27 {% endblock %} | |
28 </div> | |
29 {% endblock %} |