summaryrefslogtreecommitdiff
path: root/templates/changepw/change_other_m.html
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2011-05-27 15:09:44 +0200
committerJohan Lundberg <lundberg@nordu.net>2011-05-27 15:09:44 +0200
commita389359b74e842702fbb76ba31f2608c4a141c63 (patch)
treea5f6b84fe54b9d9f345a9b856c99718156756ca9 /templates/changepw/change_other_m.html
parent1fcfc08280991ac25afcf78723340279ac79594f (diff)
Added templates for mobile devices.
Diffstat (limited to 'templates/changepw/change_other_m.html')
-rw-r--r--templates/changepw/change_other_m.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/changepw/change_other_m.html b/templates/changepw/change_other_m.html
new file mode 100644
index 0000000..df30d9d
--- /dev/null
+++ b/templates/changepw/change_other_m.html
@@ -0,0 +1,41 @@
+{% extends "base_m.html" %}
+{% block js %}
+{% endblock %}
+{% block title %}Change other{% endblock %}
+
+{% block header %}<h1>Change other</h1>{% endblock %}
+
+{% block content %}
+<h2>Change other</h2>
+{% if return_value == None %}
+ <form action="{% url changeother %}" method="post" autocomplete="off">{% csrf_token %}
+ <table>
+ <tr>
+ <td class="formlabel">Some input:</td>
+ </tr>
+ <tr>
+ <td class="formfield">
+ <textarea name="change_input" cols="50" rows="10"></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td class="formbutton"><input type="submit" value="Submit" /></td>
+ </tr>
+ </table>
+ </form>
+{% else %}
+ {% if return_value == 0 %}
+ <p>Updated successfully.</p>
+ {% else %}
+ <p>Something went wrong. Please contact an administrator.</p>
+ <p>Return code: {{ return_value }}</p>
+ {% endif %}
+{% endif %}
+{% endblock %}
+
+{% block footer %}
+<a href="{% url index %}" data-role="button" data-icon="back">Back</a>
+<a href="{% url logout %}" rel="external" data-role="button" data-icon="delete">Log out</a>
+{% endblock %}
+
+