annotate gpp/templates/base.html @ 493:bdcce55f137e

For #235, some minor news tweaks. The submitted by text is now a link to the author's profile. Only show 1 textarea to the user when submitting a new news story. The admin can paste into the 2nd one if needed.
author Brian Neal <bgneal@gmail.com>
date Sat, 22 Oct 2011 00:48:45 +0000
parents f0f3966ea44f
children 3800f3bcf4a8
rev   line source
gremmie@1 1 <?xml version="1.0" encoding="UTF-8"?>
gremmie@1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
gremmie@1 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
bgneal@484 4 <html xmlns="http://www.w3.org/1999/xhtml"
bgneal@484 5 xmlns:og="http://ogp.me/ns#"
bgneal@484 6 xmlns:fb="https://www.facebook.com/2008/fbml"
bgneal@484 7 xml:lang="en" lang="en">
bgneal@323 8 {% load url from future %}
gremmie@1 9 {% load shoutbox_tags %}
gremmie@1 10 {% load irc_tags %}
gremmie@1 11 {% load potd_tags %}
gremmie@1 12 {% load messages_tags %}
bgneal@12 13 {% load script_tags %}
bgneal@367 14 {% load poll_tags %}
bgneal@421 15 {% load core_tags %}
bgneal@43 16 {% load cache %}
gremmie@1 17 <head><title>SurfGuitar101.com | {% block title %}{% endblock %}</title>
gremmie@1 18 <meta http-equiv="Content-Type" content="text/html" />
gremmie@1 19 <meta http-equiv="Content-Language" content="en-US" />
gremmie@1 20 <meta name="robots" content="all" />
gremmie@1 21 <meta name="Author" content="Brian Neal" />
bgneal@402 22 <meta name="copyright" content="&copy; 2006 - 2011 Brian Neal" />
bgneal@484 23 {% block custom_meta %}{% endblock %}
bgneal@312 24 <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/screen.css" type="text/css" media="screen, projection" />
bgneal@312 25 <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/print.css" type="text/css" media="print" />
bgneal@58 26 <!--[if lt IE 8]>
bgneal@312 27 <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/ie.css" type="text/css" media="screen, projection" />
gremmie@1 28 <![endif]-->
bgneal@312 29 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/base.css" />
bgneal@312 30 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/shoutbox.css" />
bgneal@12 31 {% script_tags "jquery" %}
gremmie@1 32 {% block custom_head %}{% endblock %}
gremmie@1 33 {% block custom_css %}{% endblock %}
gremmie@1 34 {% block custom_js %}{% endblock %}
bgneal@312 35 <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.cycle.all.min.js"></script>
bgneal@312 36 <script type="text/javascript" src="{{ STATIC_URL }}js/shoutbox.js"></script>
bgneal@317 37 <link rel="shortcut icon" type="image/vnd.microsoft.com" href="{{ STATIC_URL }}favicon.ico" />
gremmie@1 38 </head>
bgneal@490 39 <body>{% block begin_body %}{% endblock %}
gremmie@1 40 <div id="page" class="container">
gremmie@1 41 <div id="header" class="span-24">
bgneal@312 42 <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 43 </div>
bgneal@195 44 <div id="header-nav" class="span-24">
bgneal@195 45 <ul>
bgneal@195 46 {% if user.is_authenticated %}
bgneal@310 47 <li>Welcome, <a href="{% url 'bio-me' %}">{{ user.username }}</a></li>
bgneal@310 48 <li><a href="{% url 'forums-index' %}">Forums</a></li>
bgneal@195 49 <li>{% unread_messages user %}</li>
bgneal@310 50 <li><a href="{% url 'haystack_search' %}">Search</a></li>
bgneal@310 51 <li><a href="{% url 'accounts-logout' %}">Logout</a></li>
bgneal@195 52 {% else %}
bgneal@310 53 <li><a href="{% url 'accounts-login' %}">Login</a></li>
bgneal@310 54 <li><a href="{% url 'accounts-register' %}">Register</a></li>
bgneal@195 55 {% endif %}
bgneal@195 56 </ul>
gremmie@1 57 </div>
gremmie@1 58
gremmie@1 59 <div id="content-secondary" class="span-4 append-1">
gremmie@1 60 <ul class="nav-left">
bgneal@310 61 <li><a href="{% url 'home' %}">Home</a></li>
bgneal@310 62 <li><a href="{% url 'news-index_page' %}">News</a></li>
bgneal@310 63 <li><a href="{% url 'news-submit' %}">Submit News</a></li>
bgneal@310 64 <li><a href="{% url 'gcalendar-index' %}">Calendar</a></li>
bgneal@310 65 <li><a href="{% url 'contact-form' %}">Contact</a></li>
bgneal@317 66 <li><a href="{% url 'donations-index' %}">Donations</a></li>
bgneal@310 67 <li><a href="{% url 'downloads-index' %}">Downloads</a></li>
bgneal@310 68 <li><a href="{% url 'forums-index' %}">Forums</a></li>
bgneal@310 69 <li><a href="{% url 'irc-main' %}">IRC</a></li>
bgneal@310 70 <li><a href="{% url 'bio-member_list' type='user' %}">Member List</a></li>
bgneal@310 71 <li><a href="{% url 'membermap-index' %}">Member Map</a></li>
bgneal@429 72 <li><a href="{% url 'messages-index' %}">Private Messages</a></li>
bgneal@310 73 <li><a href="{% url 'podcast-main' %}">Podcast</a></li>
bgneal@310 74 <li><a href="{% url 'polls-main' %}">Polls</a></li>
bgneal@310 75 <li><a href="{% url 'potd-view' %}">Photo of the Day</a></li>
bgneal@310 76 <li><a href="{% url 'weblinks-main' %}">Links</a></li>
bgneal@310 77 <li><a href="{% url 'haystack_search' %}">Search</a></li>
bgneal@366 78 <li><a href="/store/">Store</a></li>
bgneal@323 79 <li><a href="{% url 'ygroup-thread_index' %}">Yahoo Group</a></li>
gremmie@1 80 </ul>
bgneal@342 81 {% include 'core/social_block.html' %}
bgneal@43 82 {% cache 300 potd_block %}
bgneal@43 83 {% photo_of_the_day %}
bgneal@43 84 {% endcache %}
gremmie@1 85 {% shoutbox %}
bgneal@329 86 {% cache 60 irc_block %}
bgneal@329 87 {% irc_status %}
bgneal@329 88 {% endcache %}
bgneal@368 89 {% cache 3600 poll_block %}
bgneal@368 90 {% latest_poll_block %}
bgneal@368 91 {% endcache %}
bgneal@422 92 {% cache 3600 birthday_block %}
bgneal@421 93 {% birthday_block %}
bgneal@422 94 {% endcache %}
bgneal@357 95 {% include 'core/mp3comp_block.html' %}
gremmie@1 96 </div>
gremmie@1 97
gremmie@1 98 <div id="content-primary" class="span-19 last">
bgneal@477 99 <div>
bgneal@477 100 <a href="/news/story/675/">
bgneal@477 101 <img src="{{ STATIC_URL }}images/50YrsSG101Banner.jpg" alt="50 Years of Surf Music" /></a>
bgneal@477 102 </div>
gremmie@1 103 {% block content %}
gremmie@1 104 {% endblock %}
gremmie@1 105 </div>
gremmie@1 106
bgneal@195 107 <div id="footer" class="prepend-5 span-19">
bgneal@19 108 <p>
bgneal@310 109 <a href="{% url 'contact-form' %}">Contact Us</a> &bull;
bgneal@42 110 <a href="/about/">About Us</a> &bull;
bgneal@42 111 <a href="/policy/tos/">Terms of Service</a> &bull;
bgneal@42 112 <a href="/policy/privacy/">Privacy Policy</a> &bull;
bgneal@42 113 <a href="/colophon/">Colophon</a>
bgneal@42 114 </p>
bgneal@42 115 <p>
bgneal@332 116 SurfGuitar101.com &copy; 2004 - 2011 by Brian Neal.
bgneal@42 117 All comments and user contributed articles are property of the posters.
bgneal@42 118 </p>
bgneal@42 119 <p>Thanks to all the surf bands, past and present. And thanks to all the fans who care about and keep surf
bgneal@42 120 music alive.</p>
gremmie@1 121 </div>
gremmie@1 122
bgneal@490 123 </div>{% block end_body %}{% endblock %}
gremmie@1 124 </body>
gremmie@1 125 </html>