comparison gpp/templates/bio/avatar.html @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children 9a8801fa63d5
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 {% extends 'bio/base.html' %}
2 {% load avatar_tags %}
3 {% block title %}Change My Avatar{% endblock %}
4 {% block content %}
5 <h2>Change My Avatar</h2>
6 <p>This is your current avatar:</p>
7 <p>{% avatar user %}</p>
8 <p>
9 To change your avatar, upload a file using the form, below. You may leave the
10 form blank to reset your avatar to the default.
11 </p>
12 <p>
13 Your file must be a recognizable graphic file, such as jpeg, gif, png, etc.
14 The maximum size of an avatar is 100 x 100 pixels. If your uploaded file is larger than
15 this it will be scaled down to 100 x 100 pixels. For best results, please ensure your
16 image is square.
17 </p>
18 <form enctype="multipart/form-data" method="POST" action=".">
19 {{ form.as_p }}
20 <input type="submit" value="Update Avatar" />
21 <input type="button" value="Cancel" onclick="history.back(); return true;" />
22 </form>
23 {% endblock %}