view gpp/templates/home.html @ 197:2baadae33f2e

Got autocomplete working for the member search. Updated django and ran into a bug where url tags with comma separated kwargs starting consuming tons of CPU throughput. The work-around is to cut over to using spaces between arguments. This is now allowed to be consistent with other tags. Did some query optimization for the news app.
author Brian Neal <bgneal@gmail.com>
date Sat, 10 Apr 2010 04:32:24 +0000
parents b7ac381996e8
children 29679b0b98ad
line wrap: on
line source
{% extends 'base.html' %}
{% load bulletin_tags %}
{% load news_tags %}
{% load weblinks_tags %}
{% load downloads_tags %}
{% load poll_tags %}
{% load forum_tags %}
{% load cache %}
{% block title %}Home{% endblock %}
{% 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="{{ MEDIA_URL }}css/news.css" />
{% endblock %}
{% block custom_js %}
<script type="text/javascript" src="{{ MEDIA_URL }}js/slideshow.js"></script>
{% endblock %}
{% block content %}
<h2>Welcome to SurfGuitar101!</h2>
<div class="span-9">
   <div id="slideshow">
   <img src="{{ MEDIA_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" class="active" />
   <img src="{{ MEDIA_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
   <img src="{{ MEDIA_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
   <img src="{{ MEDIA_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
   <img src="{{ MEDIA_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
   </div>
</div>
<div class="span-10 last">
<p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>. 
All major functionality is here except for the forums (which are still in development). 
The purpose of this test site is to test the new site software, to get feedback from the user base, and 
to develop a better theme (colors, logos, layout, etc.) for the site. All bugs and feature requests are being tracked at 
<a href="http://code.surfguitar101.com">code.surfguitar101.com</a>. Existing SG101 members are encouraged
to sign up here and give the new site a test drive. Any and all feedback is appreciated! Thank you for
helping to make this site be the best home on the web for fans and friends of surf music!
</p>
</div>
<p>Remember that this is a test site, and not everything is going to work. Nothing here is
permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features. 
Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
lots of help for this aspect, as I'm more of a coder than a designer.</p>
{% cache 3600 home_bulletins %}
   {% current_bulletins %}
{% endcache %}
{% new_posts %}
{% cache 3600 home_news %}
   {% current_news %}
{% endcache %}
{% cache 3600 home_new_stuff %}
{% latest_poll %}
<div class="span-9 append-1">
   {% latest_weblinks %} 
</div>
<div class="span-9 last">
   {% latest_downloads %} 
</div>
{% endcache %}
{% endblock %}