annotate gpp/templates/home.html @ 494:3800f3bcf4a8

Changed to HMTL5 in base template.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Nov 2011 15:54:53 +0000
parents f0f3966ea44f
children c4696a0cbd3f
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@484 9 {% load script_tags %}
bgneal@43 10 {% load cache %}
bgneal@19 11 {% block title %}Home{% endblock %}
bgneal@171 12 {% block custom_head %}
bgneal@310 13 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url 'feeds-news' %}" />
bgneal@171 14 {% endblock %}
bgneal@32 15 {% block custom_css %}
bgneal@312 16 <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/news.css" />
bgneal@32 17 {% endblock %}
bgneal@33 18 {% block custom_js %}
bgneal@275 19 <script type="text/javascript">
bgneal@275 20 $(document).ready(function() {
bgneal@275 21 $('#home-slideshow img:first').fadeIn(1000, function() {
bgneal@275 22 $('#home-slideshow').cycle({
bgneal@275 23 fx: 'fade',
bgneal@275 24 timeout: 5000,
bgneal@275 25 pause: 1,
bgneal@275 26 delay: 1000
bgneal@275 27 });
bgneal@275 28 });
bgneal@275 29 });
bgneal@275 30 </script>
bgneal@275 31 <style type="text/css">
bgneal@275 32 #home-slideshow img { display: none }
bgneal@275 33 </style>
bgneal@33 34 {% endblock %}
bgneal@490 35 {% block begin_body %}{% include 'core/social_sharing_begin.html' %}{% endblock %}
bgneal@19 36 {% block content %}
bgneal@19 37 <h2>Welcome to SurfGuitar101!</h2>
bgneal@33 38 <div class="span-9">
bgneal@275 39 <div id="home-slideshow">
bgneal@312 40 <img src="{{ STATIC_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" />
bgneal@312 41 <img src="{{ STATIC_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
bgneal@312 42 <img src="{{ STATIC_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
bgneal@312 43 <img src="{{ STATIC_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
bgneal@312 44 <img src="{{ STATIC_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
bgneal@33 45 </div>
bgneal@33 46 </div>
bgneal@33 47 <div class="span-10 last">
bgneal@317 48 <p>
bgneal@317 49 <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 50 </p>
bgneal@437 51 <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 52 </p>
bgneal@33 53 </div>
bgneal@337 54 <br clear="all" />
bgneal@54 55 {% cache 3600 home_bulletins %}
bgneal@54 56 {% current_bulletins %}
bgneal@54 57 {% endcache %}
bgneal@159 58 {% new_posts %}
bgneal@54 59 {% cache 3600 home_news %}
bgneal@54 60 {% current_news %}
bgneal@54 61 {% endcache %}
bgneal@54 62 {% cache 3600 home_new_stuff %}
bgneal@166 63 {% latest_poll %}
bgneal@23 64 <div class="span-9 append-1">
bgneal@20 65 {% latest_weblinks %}
bgneal@19 66 </div>
bgneal@23 67 <div class="span-9 last">
bgneal@23 68 {% latest_downloads %}
bgneal@19 69 </div>
bgneal@43 70 {% endcache %}
bgneal@19 71 {% endblock %}
bgneal@490 72 {% block end_body %}{% include 'core/social_sharing_end.html' %}{% endblock %}