annotate gpp/templates/home.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@19 1 {% extends 'base.html' %}
bgneal@310 2 {% load url from future %}
bgneal@28 3 {% load bulletin_tags %}
bgneal@32 4 {% load news_tags %}
bgneal@20 5 {% load weblinks_tags %}
bgneal@23 6 {% load downloads_tags %}
bgneal@166 7 {% load poll_tags %}
bgneal@159 8 {% load forum_tags %}
bgneal@43 9 {% load cache %}
bgneal@19 10 {% block title %}Home{% endblock %}
bgneal@171 11 {% block custom_head %}
bgneal@310 12 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
bgneal@171 13 {% endblock %}
bgneal@32 14 {% block custom_css %}
bgneal@312 15 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />
bgneal@32 16 {% endblock %}
bgneal@33 17 {% block custom_js %}
bgneal@275 18 <script type="text/javascript">
bgneal@275 19 $(document).ready(function() {
bgneal@275 20 $('#home-slideshow img:first').fadeIn(1000, function() {
bgneal@275 21 $('#home-slideshow').cycle({
bgneal@275 22 fx: 'fade',
bgneal@275 23 timeout: 5000,
bgneal@275 24 pause: 1,
bgneal@275 25 delay: 1000
bgneal@275 26 });
bgneal@275 27 });
bgneal@275 28 });
bgneal@275 29 </script>
bgneal@275 30 <style type="text/css">
bgneal@275 31 #home-slideshow img { display: none }
bgneal@275 32 </style>
bgneal@33 33 {% endblock %}
bgneal@19 34 {% block content %}
bgneal@19 35 <h2>Welcome to SurfGuitar101!</h2>
bgneal@33 36 <div class="span-9">
bgneal@275 37 <div id="home-slideshow">
bgneal@312 38 <img src="{{ STATIC_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" />
bgneal@312 39 <img src="{{ STATIC_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
bgneal@312 40 <img src="{{ STATIC_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
bgneal@312 41 <img src="{{ STATIC_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
bgneal@312 42 <img src="{{ STATIC_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
bgneal@33 43 </div>
bgneal@33 44 </div>
bgneal@33 45 <div class="span-10 last">
bgneal@19 46 <p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>.
bgneal@19 47 The purpose of this test site is to test the new site software, to get feedback from the user base, and
bgneal@19 48 to develop a better theme (colors, logos, layout, etc.) for the site. All bugs and feature requests are being tracked at
bgneal@19 49 <a href="http://code.surfguitar101.com">code.surfguitar101.com</a>. Existing SG101 members are encouraged
bgneal@19 50 to sign up here and give the new site a test drive. Any and all feedback is appreciated! Thank you for
bgneal@19 51 helping to make this site be the best home on the web for fans and friends of surf music!
bgneal@19 52 </p>
bgneal@33 53 </div>
bgneal@19 54 <p>Remember that this is a test site, and not everything is going to work. Nothing here is
bgneal@19 55 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features.
bgneal@250 56 Also, I hope that the look and feel of this site can be improved! I'll need lots of help for this aspect,
bgneal@250 57 as I'm more of a coder than a designer.</p>
bgneal@54 58 {% cache 3600 home_bulletins %}
bgneal@54 59 {% current_bulletins %}
bgneal@54 60 {% endcache %}
bgneal@159 61 {% new_posts %}
bgneal@54 62 {% cache 3600 home_news %}
bgneal@54 63 {% current_news %}
bgneal@54 64 {% endcache %}
bgneal@54 65 {% cache 3600 home_new_stuff %}
bgneal@166 66 {% latest_poll %}
bgneal@23 67 <div class="span-9 append-1">
bgneal@20 68 {% latest_weblinks %}
bgneal@19 69 </div>
bgneal@23 70 <div class="span-9 last">
bgneal@23 71 {% latest_downloads %}
bgneal@19 72 </div>
bgneal@43 73 {% endcache %}
bgneal@19 74 {% endblock %}