annotate gpp/templates/admin/base_site.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 023132c90021
children
rev   line source
gremmie@1 1 {% extends "admin/base.html" %}
gremmie@1 2 {% load i18n %}
bgneal@141 3 {% load custom_admin_tags %}
bgneal@141 4
bgneal@141 5 {% block extrastyle %}
bgneal@141 6 <style type="text/css">
bgneal@141 7 #dashboard-list {
bgneal@141 8 margin-left: 10px;
bgneal@141 9 padding: 0;
bgneal@141 10 }
bgneal@141 11 #dashboard-list li {
bgneal@141 12 float: left;
bgneal@141 13 list-style: square inside none;
bgneal@141 14 margin-right: 10px;
bgneal@141 15 margin-bottom: 4px;
bgneal@141 16 }
bgneal@141 17 </style>
bgneal@141 18 {% endblock %}
gremmie@1 19
bgneal@139 20 {% block title %}{{ title }} | {% trans 'SG101 Site Admin' %}{% endblock %}
gremmie@1 21
gremmie@1 22 {% block branding %}
bgneal@139 23 <h1 id="site-name">{% trans 'SurfGuitar101.com Site Administration' %}</h1>
gremmie@1 24 {% endblock %}
gremmie@1 25
bgneal@145 26 {% block nav-global %}{% admin_dashboard user %}{% endblock %}