summaryrefslogtreecommitdiffstats
path: root/templates/profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/profile.html')
-rw-r--r--templates/profile.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/profile.html b/templates/profile.html
new file mode 100644
index 0000000..59ecc6c
--- /dev/null
+++ b/templates/profile.html
@@ -0,0 +1,35 @@
+{% extends "base.html" %}
+{% block title %}Profile{% endblock %}
+{% block content %}
+<h1>Your profile</h1>
+<form action="profile" method="post" class="cmxform">
+ <p style="font-size: small; padding-bottom: 5px;">
+ Please complete the form below if you want to change your password.
+ </p>
+ <fieldset>
+ <ol>
+ <li>
+ <label for="login">login</label>
+ <input class="nomodify" type="text" name="login" readonly="readonly" value="{{ session.login }}"/>
+ </li>
+ <li>
+ <label for="email">email</label>
+ <input class="nomodify" type="text" name="email" readonly="readonly" value="{{ email }}"/>
+ </li>
+ <li>
+ <label for="old_pw">old password</label>
+ <input type="password" name="old_pw" />
+ </li>
+ <li>
+ <label for="new_pw1">new password</label>
+ <input type="password" name="new_pw1" />
+ </li>
+ <li>
+ <label for="new_pw2">retype new password</label>
+ <input type="password" name="new_pw2" />
+ </li>
+ </ol>
+ </fieldset>
+ <p><input type="submit" value="Submit" /></p>
+</form>
+{% endblock %}