diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/weblinks/base.html	Mon Apr 06 02:43:12 2009 +0000
@@ -0,0 +1,29 @@
+{% extends 'base.html' %}
+{% block custom_css %}
+<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/weblinks.css" />
+{% block weblinks_css %}{% endblock %}
+{% endblock %}
+{% block content %}
+<h2>Web Links</h2>
+
+<div class="weblinks-search">
+<form action="{% url weblinks-search page=1 %}" method="post">
+   <p>{{ search_form.text }} <input type="submit" value="Search" /></p>
+</form>
+</div>
+
+<ul class="app-menu">
+<li><a href="{% url weblinks.views.link_index %}">Categories</a></li>
+<li><a href="{% url weblinks.views.new_links %}">New</a></li>
+<li><a href="{% url weblinks.views.popular_links %}">Popular</a></li>
+<li><a href="{% url weblinks.views.random_link %}" target="_blank">Random</a></li>
+{% if user.is_authenticated %}
+<li><a href="{% url weblinks.views.add_link %}">Add</a></li>
+{% endif %}
+</ul>
+
+<div class="weblinks-content">
+   {% block weblinks_content %}
+   {% endblock %}
+</div>
+{% endblock %}