Mercurial > public > sg101
diff gpp/templates/news/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 | b1766b1bda45 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/news/base.html Mon Apr 06 02:43:12 2009 +0000 @@ -0,0 +1,27 @@ +{% extends 'base.html' %} +{% block custom_head %} +<link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url feeds-news url="news" %}" /> +{% endblock %} +{% block custom_css %} +<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> +{% block news_css %}{% endblock %} +{% endblock %} +{% block content %} +<h2>SurfGuitar101 News & Articles</h2> +{% if search_form %} +<div class="news-search"> +<form action="{% url news-search_page page=1 %}" method="post"> + <p>{{ search_form.text }} {{ search_form.category }} <input type="submit" value="Search" /></p> +</form> +</div> +{% endif %} +<ul class="app-menu"> +<li><a href="{% url news-index_page page=1 %}">News Main</a></li> +<li><a href="{% url news-archive_index %}">Archive</a></li> +<li><a href="{% url news.views.category_index %}">Categories</a></li> +<li><a href="{% url news-tag_index %}">Tags</a></li> +<li><a href="{% url news.views.submit %}">Submit News</a></li> +</ul> +{% block news_content %} +{% endblock %} +{% endblock %}