summaryrefslogtreecommitdiff
path: root/templates/password
diff options
context:
space:
mode:
authorttt2017-05-13 00:29:47 +0530
committerttt2017-05-13 00:29:47 +0530
commitabf599be33b383a6a5baf9493093b2126a622ac8 (patch)
tree4c5ab6e0d935d5e65fabcf0258e4a00dd20a5afa /templates/password
downloadSBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.gz
SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.bz2
SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.zip
added all server files
Diffstat (limited to 'templates/password')
-rw-r--r--templates/password/edit.html25
-rw-r--r--templates/password/new.html19
2 files changed, 44 insertions, 0 deletions
diff --git a/templates/password/edit.html b/templates/password/edit.html
new file mode 100644
index 0000000..487b552
--- /dev/null
+++ b/templates/password/edit.html
@@ -0,0 +1,25 @@
+{% extends "layout.html" %}
+
+{% block content %}
+<div class="container">
+ <div class="row">
+ <div class="span11">
+ <h2>Change Password</h2>
+ <br>
+ <form action="{% url 'sbhs_server.password.views.update' token %}" method="POST">
+ {% csrf_token %}
+ <label for="email">Email</label>
+ <input type="email" name="email" id="email" required>
+ <br>
+ <label for="password">Password</label>
+ <input type="password" name="password" id="password" required>
+ <br>
+ <label for="confirm">Confirm password</label>
+ <input type="password" name="confirm" id="confirm" required>
+ <br>
+ <input type="submit" class="btn btn-primary" value="Change password">
+ </form>
+ </div>
+ </div>
+</div>
+{% endblock %} \ No newline at end of file
diff --git a/templates/password/new.html b/templates/password/new.html
new file mode 100644
index 0000000..e45e24f
--- /dev/null
+++ b/templates/password/new.html
@@ -0,0 +1,19 @@
+{% extends "layout.html" %}
+
+{% block content %}
+<div class="container">
+ <div class="row">
+ <div class="span11">
+ <h2>Change Password</h2>
+ <br>
+ <form action="{% url 'sbhs_server.password.views.email' %}" method="POST">
+ {% csrf_token %}
+ <label for="email">Email</label>
+ <input type="email" name="email" id="email" required>
+ <br>
+ <input type="submit" class="btn btn-primary" value="Send password change link">
+ </form>
+ </div>
+ </div>
+</div>
+{% endblock %} \ No newline at end of file