annotate gpp/templates/home.html @ 265:1ba2c6bf6eb7

Closing #98. Animated GIFs were losing their transparency and animated properties when saved as avatars. Reworked the avatar save process to only run the avatar through PIL if it is too big. This preserves the original uploaded file if it is within the desired size settings. This may still mangle big animated gifs. If this becomes a problem, then maybe look into calling the PIL Image.resize() method directly. Moved the PIL image specific functions from bio.forms to a new module: core.image for better reusability in the future.
author Brian Neal <bgneal@gmail.com>
date Fri, 24 Sep 2010 02:12:09 +0000
parents 29679b0b98ad
children 2b14840cb882
rev   line source
bgneal@19 1 {% extends 'base.html' %}
bgneal@28 2 {% load bulletin_tags %}
bgneal@32 3 {% load news_tags %}
bgneal@20 4 {% load weblinks_tags %}
bgneal@23 5 {% load downloads_tags %}
bgneal@166 6 {% load poll_tags %}
bgneal@159 7 {% load forum_tags %}
bgneal@43 8 {% load cache %}
bgneal@19 9 {% block title %}Home{% endblock %}
bgneal@171 10 {% block custom_head %}
bgneal@176 11 <link rel="alternate" type="application/rss+xml" title="SurfGuitar101 News" href="{% url feeds-news %}" />
bgneal@171 12 {% endblock %}
bgneal@32 13 {% block custom_css %}
bgneal@32 14 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" />
bgneal@32 15 {% endblock %}
bgneal@33 16 {% block custom_js %}
bgneal@33 17 <script type="text/javascript" src="{{ MEDIA_URL }}js/slideshow.js"></script>
bgneal@33 18 {% endblock %}
bgneal@19 19 {% block content %}
bgneal@19 20 <h2>Welcome to SurfGuitar101!</h2>
bgneal@33 21 <div class="span-9">
bgneal@33 22 <div id="slideshow">
bgneal@33 23 <img src="{{ MEDIA_URL }}slideshow/image-1.jpg" alt="Slideshow Image 1" class="active" />
bgneal@33 24 <img src="{{ MEDIA_URL }}slideshow/image-2.jpg" alt="Slideshow Image 2" />
bgneal@33 25 <img src="{{ MEDIA_URL }}slideshow/image-3.jpg" alt="Slideshow Image 3" />
bgneal@33 26 <img src="{{ MEDIA_URL }}slideshow/image-4.jpg" alt="Slideshow Image 4" />
bgneal@33 27 <img src="{{ MEDIA_URL }}slideshow/image-5.jpg" alt="Slideshow Image 5" />
bgneal@33 28 </div>
bgneal@33 29 </div>
bgneal@33 30 <div class="span-10 last">
bgneal@19 31 <p>You are looking at a test version of the new SurfGuitar101 website, dubbed <strong>SG101 2.0</strong>.
bgneal@19 32 The purpose of this test site is to test the new site software, to get feedback from the user base, and
bgneal@19 33 to develop a better theme (colors, logos, layout, etc.) for the site. All bugs and feature requests are being tracked at
bgneal@19 34 <a href="http://code.surfguitar101.com">code.surfguitar101.com</a>. Existing SG101 members are encouraged
bgneal@19 35 to sign up here and give the new site a test drive. Any and all feedback is appreciated! Thank you for
bgneal@19 36 helping to make this site be the best home on the web for fans and friends of surf music!
bgneal@19 37 </p>
bgneal@33 38 </div>
bgneal@19 39 <p>Remember that this is a test site, and not everything is going to work. Nothing here is
bgneal@19 40 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features.
bgneal@250 41 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 42 as I'm more of a coder than a designer.</p>
bgneal@54 43 {% cache 3600 home_bulletins %}
bgneal@54 44 {% current_bulletins %}
bgneal@54 45 {% endcache %}
bgneal@159 46 {% new_posts %}
bgneal@54 47 {% cache 3600 home_news %}
bgneal@54 48 {% current_news %}
bgneal@54 49 {% endcache %}
bgneal@54 50 {% cache 3600 home_new_stuff %}
bgneal@166 51 {% latest_poll %}
bgneal@23 52 <div class="span-9 append-1">
bgneal@20 53 {% latest_weblinks %}
bgneal@19 54 </div>
bgneal@23 55 <div class="span-9 last">
bgneal@23 56 {% latest_downloads %}
bgneal@19 57 </div>
bgneal@43 58 {% endcache %}
bgneal@19 59 {% endblock %}