view gpp/templates/news/base.html @ 322:c3d3d7114749

Fix #148; Django now requires AJAX posts to present the CSRF token. Added code suggested by Django docs to shoutbox.js. Since shoutbox.js is on every page, it should cover all cases.
author Brian Neal <bgneal@gmail.com>
date Sat, 12 Feb 2011 21:37:17 +0000
parents 88b2b9cb8c1f
children
line wrap: on
line source
{% extends 'base.html' %}
{% load url from future %}
{% block custom_head %}
<link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
{% endblock %}
{% block custom_css %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />
{% block news_css %}{% endblock %}
{% endblock %}
{% block content %}
<h2>SurfGuitar101 News &amp; Articles <a href="{% url 'feeds-news' %}"><img src="{{ STATIC_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2>

<ul class="app-menu">
<li><a href="{% url 'news-index_page' %}">News Main</a></li>
<li><a href="{% url 'news-archive_index' %}">Archive</a></li>
<li><a href="{% url 'news-category_index' %}">Categories</a></li>
<li><a href="{% url 'news-tag_index' %}">Tags</a></li>
<li><a href="{% url 'news-submit' %}">Submit News</a></li>
</ul>
{% block news_content %}
{% endblock %}
{% endblock %}