annotate gpp/templates/home.html @ 475:772ce9385b85

Putting the 50 years of surf music banner on the base template so all pages get it.
author Brian Neal <bgneal@gmail.com>
date Tue, 06 Sep 2011 22:40:34 +0000
parents 501dfb88035d
children bbbc357ac5f3
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@317 46 <p>
bgneal@317 47 <strong>Welcome to the all new SurfGuitar101.com!</strong> We've rewritten the site software and have a new design! We hope you like the new site and features; please leave feedback in our forums.
bgneal@317 48 </p>
bgneal@437 49 <p>Since February 26, 2006, SurfGuitar101.com has been the premier home on the web for friends and fans of the world-wide phenomenon known as surf music! Created in Southern California in the early 1960's, surf music is very much alive today and has spread around the globe. Join us in our forums to discuss surf music, past and present. Meet new friends and discover new bands. Want to play surf music? We have lots of forums devoted to playing, performing, and writing surf music. We have lots of discussions on gear: guitars, amps, and drums. Check out our podcasts and hear some really great tunes! Finally, we feature news and articles on the surf scene, and you'll always know where you can catch some live surf music!
bgneal@19 50 </p>
bgneal@33 51 </div>
bgneal@337 52 <br clear="all" />
bgneal@54 53 {% cache 3600 home_bulletins %}
bgneal@54 54 {% current_bulletins %}
bgneal@54 55 {% endcache %}
bgneal@159 56 {% new_posts %}
bgneal@54 57 {% cache 3600 home_news %}
bgneal@54 58 {% current_news %}
bgneal@54 59 {% endcache %}
bgneal@54 60 {% cache 3600 home_new_stuff %}
bgneal@166 61 {% latest_poll %}
bgneal@23 62 <div class="span-9 append-1">
bgneal@20 63 {% latest_weblinks %}
bgneal@19 64 </div>
bgneal@23 65 <div class="span-9 last">
bgneal@23 66 {% latest_downloads %}
bgneal@19 67 </div>
bgneal@43 68 {% endcache %}
bgneal@19 69 {% endblock %}