annotate gpp/templates/home.html @ 567:0a8e6a9ccf53

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