diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/bio/avatar.html	Mon Apr 06 02:43:12 2009 +0000
@@ -0,0 +1,23 @@
+{% extends 'bio/base.html' %}
+{% load avatar_tags %}
+{% block title %}Change My Avatar{% endblock %}
+{% block content %}
+<h2>Change My Avatar</h2>
+   <p>This is your current avatar:</p>
+   <p>{% avatar user %}</p>
+   <p>
+   To change your avatar, upload a file using the form, below. You may leave the
+   form blank to reset your avatar to the default.
+   </p>
+   <p>
+   Your file must be a recognizable graphic file, such as jpeg, gif, png, etc. 
+   The maximum size of an avatar is 100 x 100 pixels. If your uploaded file is larger than 
+   this it will be scaled down to 100 x 100 pixels. For best results, please ensure your
+   image is square.
+   </p>
+   <form enctype="multipart/form-data" method="POST" action=".">
+      {{ form.as_p }}
+      <input type="submit" value="Update Avatar" />
+      <input type="button" value="Cancel" onclick="history.back(); return true;" />
+   </form>
+{% endblock %}