Mercurial > public > sg101
view gpp/templates/base.html @ 564:e5d3552d4ad0
The ajax login didn't work from the register page. I think this is because
there are two input boxes with the same ID in this situation. Renamed the
ajax login form's ID's to make them unique.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 13 Feb 2012 19:34:29 -0600 |
parents | b9a41956be23 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml" xml:lang="en" lang="en"> {% load url from future %} {% load shoutbox_tags %} {% load irc_tags %} {% load potd_tags %} {% load script_tags %} {% load poll_tags %} {% load core_tags %} {% load cache %} <head><title>SurfGuitar101.com | {% block title %}{% endblock %}</title> <meta http-equiv="Content-Type" content="text/html" /> <meta http-equiv="Content-Language" content="en-US" /> <meta name="robots" content="all" /> <meta name="Author" content="Brian Neal" /> <meta name="copyright" content="(C) Copyright 2006 - 2012 Brian Neal" /> {% block custom_meta %}{% endblock %} <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/screen.css" type="text/css" media="screen, projection" /> <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/print.css" type="text/css" media="print" /> <!--[if lt IE 8]> <link rel="stylesheet" href="{{ STATIC_URL }}css/blueprint/ie.css" type="text/css" media="screen, projection" /> <![endif]--> <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/base.css" /> <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/shoutbox.css" /> {% script_tags "jquery" %} {% block custom_head %}{% endblock %} {% block custom_css %}{% endblock %} {% block custom_js %}{% endblock %} <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.cycle.all.min.js"></script> <script type="text/javascript" src="{{ STATIC_URL }}js/shoutbox.js"></script> <link rel="shortcut icon" type="image/vnd.microsoft.com" href="{{ STATIC_URL }}favicon.ico" /> {% if not user.is_authenticated %} {% script_tags "jquery-ui" %} <script type="text/javascript">var csrf_token = "{{ csrf_token }}";</script> <script type="text/javascript" src="{{ STATIC_URL }}js/ajax_login.js"></script> {% endif %} </head> <body>{% block begin_body %}{% endblock %} <div id="page" class="container"> <div id="header" class="span-24"> <p><a href="/" title="SG101 Home"><img src="{{ STATIC_URL }}themes/kds/sgLogo.png" alt="SurfGuitar101.com Logo" width="446" height="103" /></a></p> </div> <div id="header-nav" class="span-24"> {% include "navbar.html" %} </div> <div id="content-secondary" class="span-4 append-1"> <ul class="nav-left"> <li><a href="{% url 'home' %}">Home</a></li> <li><a href="{% url 'news-index_page' %}">News</a></li> <li><a href="{% url 'news-submit' %}">Submit News</a></li> <li><a href="{% url 'gcalendar-index' %}">Calendar</a></li> <li><a href="{% url 'contact-form' %}">Contact</a></li> <li><a href="{% url 'contests-index' %}">Contests</a></li> <li><a href="{% url 'donations-index' %}">Donations</a></li> <li><a href="{% url 'downloads-index' %}">Downloads</a></li> <li><a href="{% url 'forums-index' %}">Forums</a></li> <li><a href="{% url 'irc-main' %}">IRC</a></li> <li><a href="{% url 'bio-member_list' type='user' %}">Member List</a></li> <li><a href="{% url 'membermap-index' %}">Member Map</a></li> <li><a href="{% url 'messages-index' %}">Private Messages</a></li> <li><a href="{% url 'podcast-main' %}">Podcast</a></li> <li><a href="{% url 'polls-main' %}">Polls</a></li> <li><a href="{% url 'potd-view' %}">Photo of the Day</a></li> <li><a href="{% url 'weblinks-main' %}">Links</a></li> <li><a href="{% url 'haystack_search' %}">Search</a></li> <li><a href="/store/">Store</a></li> <li><a href="{% url 'ygroup-thread_index' %}">Yahoo Group</a></li> </ul> {% include 'core/social_block.html' %} {% cache 300 potd_block %} {% photo_of_the_day %} {% endcache %} {% shoutbox %} {% cache 60 irc_block %} {% irc_status %} {% endcache %} {% cache 300 rfb_block %} {% include 'core/rfb_block.html' %} {% endcache %} {% cache 3600 poll_block %} {% latest_poll_block %} {% endcache %} {% cache 3600 birthday_block %} {% birthday_block %} {% endcache %} {% include 'core/mp3comp_block.html' %} </div> <div id="content-primary" class="span-19 last"> <div> <a href="/news/story/675/"> <img src="{{ STATIC_URL }}images/50YrsSG101Banner.jpg" alt="50 Years of Surf Music" /></a> </div> {% block content %} {% endblock %} </div> <div id="footer" class="prepend-5 span-19"> <p> <a href="{% url 'contact-form' %}">Contact Us</a> • <a href="/about/">About Us</a> • <a href="/policy/tos/">Terms of Service</a> • <a href="/policy/privacy/">Privacy Policy</a> • <a href="/colophon/">Colophon</a> </p> <p> SurfGuitar101.com © 2004 - 2012 by Brian Neal. All comments and user contributed articles are property of the posters. </p> <p>Thanks to all the surf bands, past and present. And thanks to all the fans who care about and keep surf music alive.</p> </div> </div> {% if not user.is_authenticated %} {% include "accounts/ajax_login_form.html" %} {% endif %} {% block end_body %}{% endblock %} </body> </html>