annotate gpp/templates/base.html @ 312:88b2b9cb8c1f

Fixing #142; cut over to the django.contrib.staticfiles app.
author Brian Neal <bgneal@gmail.com>
date Thu, 27 Jan 2011 02:56:10 +0000
parents daa2916f5b34
children 2934a867c2ef
rev   line source
bgneal@310 1 {% load url from future %}
gremmie@1 2 <?xml version="1.0" encoding="UTF-8"?>
gremmie@1 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
gremmie@1 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
gremmie@1 5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
gremmie@1 6 {% load shoutbox_tags %}
gremmie@1 7 {% load irc_tags %}
gremmie@1 8 {% load potd_tags %}
gremmie@1 9 {% load messages_tags %}
bgneal@12 10 {% load script_tags %}
bgneal@43 11 {% load cache %}
gremmie@1 12 <head><title>SurfGuitar101.com | {% block title %}{% endblock %}</title>
gremmie@1 13 <meta http-equiv="Content-Type" content="text/html" />
gremmie@1 14 <meta http-equiv="Content-Language" content="en-US" />
gremmie@1 15 <meta name="robots" content="all" />
gremmie@1 16 <meta name="Author" content="Brian Neal" />
gremmie@1 17 <meta name="copyright" content="&copy; 2009 Brian Neal" />
bgneal@312 18 <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/screen.css" type="text/css" media="screen, projection" />
bgneal@312 19 <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/print.css" type="text/css" media="print" />
bgneal@58 20 <!--[if lt IE 8]>
bgneal@312 21 <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/ie.css" type="text/css" media="screen, projection" />
gremmie@1 22 <![endif]-->
bgneal@312 23 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/base.css" />
bgneal@312 24 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/shoutbox.css" />
bgneal@12 25 {% script_tags "jquery" %}
gremmie@1 26 {% block custom_head %}{% endblock %}
gremmie@1 27 {% block custom_css %}{% endblock %}
gremmie@1 28 {% block custom_js %}{% endblock %}
bgneal@312 29 <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.cycle.all.min.js"></script>
bgneal@312 30 <script type="text/javascript" src="{{ STATIC_URL }}js/shoutbox.js"></script>
bgneal@312 31 <!-- <link rel="shortcut icon" type="image/vnd.microsoft.com" href="{{ STATIC_URL }}images/favicon.ico" /> -->
gremmie@1 32 </head>
gremmie@1 33 <body>
gremmie@1 34 <div id="page" class="container">
gremmie@1 35 <div id="header" class="span-24">
bgneal@312 36 <p><a href="/" title="SG101 Home"><img src="{{ STATIC_URL }}themes/kds/sgLogo.png" alt="SurfGuitar101.com Logo" width="446" height="103" /></a></p>
bgneal@195 37 </div>
bgneal@195 38 <div id="header-nav" class="span-24">
bgneal@195 39 <ul>
bgneal@195 40 {% if user.is_authenticated %}
bgneal@310 41 <li>Welcome, <a href="{% url 'bio-me' %}">{{ user.username }}</a></li>
bgneal@310 42 <li><a href="{% url 'forums-index' %}">Forums</a></li>
bgneal@195 43 <li>{% unread_messages user %}</li>
bgneal@310 44 <li><a href="{% url 'haystack_search' %}">Search</a></li>
bgneal@310 45 <li><a href="{% url 'accounts-logout' %}">Logout</a></li>
bgneal@195 46 {% else %}
bgneal@310 47 <li><a href="{% url 'accounts-login' %}">Login</a></li>
bgneal@310 48 <li><a href="{% url 'accounts-register' %}">Register</a></li>
bgneal@195 49 {% endif %}
bgneal@195 50 </ul>
gremmie@1 51 </div>
gremmie@1 52
gremmie@1 53 <div id="content-secondary" class="span-4 append-1">
gremmie@1 54 <ul class="nav-left">
bgneal@310 55 <li><a href="{% url 'home' %}">Home</a></li>
bgneal@310 56 <li><a href="{% url 'news-index_page' %}">News</a></li>
bgneal@310 57 <li><a href="{% url 'news-submit' %}">Submit News</a></li>
bgneal@310 58 <li><a href="{% url 'gcalendar-index' %}">Calendar</a></li>
bgneal@310 59 <li><a href="{% url 'contact-form' %}">Contact</a></li>
bgneal@310 60 {# <li><a href="{% url 'donations-index' %}">Donations</a></li> #}
bgneal@310 61 <li><a href="{% url 'downloads-index' %}">Downloads</a></li>
bgneal@310 62 <li><a href="{% url 'forums-index' %}">Forums</a></li>
bgneal@310 63 <li><a href="{% url 'irc-main' %}">IRC</a></li>
bgneal@310 64 <li><a href="{% url 'bio-member_list' type='user' %}">Member List</a></li>
bgneal@310 65 <li><a href="{% url 'membermap-index' %}">Member Map</a></li>
bgneal@310 66 <li><a href="{% url 'messages-inbox' %}">Private Messages</a></li>
bgneal@310 67 <li><a href="{% url 'podcast-main' %}">Podcast</a></li>
bgneal@310 68 <li><a href="{% url 'polls-main' %}">Polls</a></li>
bgneal@310 69 <li><a href="{% url 'potd-view' %}">Photo of the Day</a></li>
bgneal@310 70 <li><a href="{% url 'weblinks-main' %}">Links</a></li>
bgneal@310 71 <li><a href="{% url 'haystack_search' %}">Search</a></li>
gremmie@1 72 </ul>
bgneal@43 73 {% cache 300 potd_block %}
bgneal@43 74 {% photo_of_the_day %}
bgneal@43 75 {% endcache %}
gremmie@1 76 {% shoutbox %}
gremmie@1 77 {% irc_status %}
gremmie@1 78 </div>
gremmie@1 79
gremmie@1 80 <div id="content-primary" class="span-19 last">
gremmie@1 81 {% block content %}
gremmie@1 82 {% endblock %}
gremmie@1 83 </div>
gremmie@1 84
bgneal@195 85 <div id="footer" class="prepend-5 span-19">
bgneal@19 86 <p>
bgneal@310 87 <a href="{% url 'contact-form' %}">Contact Us</a> &bull;
bgneal@42 88 <a href="/about/">About Us</a> &bull;
bgneal@42 89 <a href="/policy/tos/">Terms of Service</a> &bull;
bgneal@42 90 <a href="/policy/privacy/">Privacy Policy</a> &bull;
bgneal@42 91 <a href="/colophon/">Colophon</a>
bgneal@42 92 </p>
bgneal@42 93 <p>
bgneal@195 94 SurfGuitar101.com &copy; 2010 by Brian Neal.
bgneal@42 95 All comments and user contributed articles are property of the posters.
bgneal@42 96 </p>
bgneal@42 97 <p>Thanks to all the surf bands, past and present. And thanks to all the fans who care about and keep surf
bgneal@42 98 music alive.</p>
gremmie@1 99 </div>
gremmie@1 100
gremmie@1 101 </div>
gremmie@1 102 </body>
gremmie@1 103 </html>