Mercurial > public > sg101
annotate gpp/templates/bio/avatar.html @ 144:49b713bca29d
Podcast: un-inlined the channel items from the channel. That would be too bulky and too much info on one admin screen.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2009 21:44:22 +0000 |
parents | 9a8801fa63d5 |
children | 6a5549c2efb5 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'bio/base.html' %} |
gremmie@1 | 2 {% load avatar_tags %} |
gremmie@1 | 3 {% block title %}Change My Avatar{% endblock %} |
gremmie@1 | 4 {% block content %} |
gremmie@1 | 5 <h2>Change My Avatar</h2> |
gremmie@1 | 6 <p>This is your current avatar:</p> |
gremmie@1 | 7 <p>{% avatar user %}</p> |
gremmie@1 | 8 <p> |
gremmie@1 | 9 To change your avatar, upload a file using the form, below. You may leave the |
gremmie@1 | 10 form blank to reset your avatar to the default. |
gremmie@1 | 11 </p> |
gremmie@1 | 12 <p> |
gremmie@1 | 13 Your file must be a recognizable graphic file, such as jpeg, gif, png, etc. |
gremmie@1 | 14 The maximum size of an avatar is 100 x 100 pixels. If your uploaded file is larger than |
gremmie@1 | 15 this it will be scaled down to 100 x 100 pixels. For best results, please ensure your |
gremmie@1 | 16 image is square. |
gremmie@1 | 17 </p> |
gremmie@1 | 18 <form enctype="multipart/form-data" method="POST" action="."> |
gremmie@1 | 19 {{ form.as_p }} |
gremmie@1 | 20 <input type="submit" value="Update Avatar" /> |
bgneal@4 | 21 <a href="{% url bio-me %}">Cancel</a> |
gremmie@1 | 22 </form> |
gremmie@1 | 23 {% endblock %} |