summaryrefslogtreecommitdiff
path: root/templates/modals.html
diff options
context:
space:
mode:
authorttt2017-05-13 00:29:47 +0530
committerttt2017-05-13 00:29:47 +0530
commit4336f5f06f61de30ae3fa54650fce63a9d5ef5be (patch)
tree23b4ee9b8e8f24bf732acf2f7ad22ed50cdd5670 /templates/modals.html
downloadSBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.gz
SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.tar.bz2
SBHS-2018-Rpi-4336f5f06f61de30ae3fa54650fce63a9d5ef5be.zip
added all server files
Diffstat (limited to 'templates/modals.html')
-rw-r--r--templates/modals.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/modals.html b/templates/modals.html
new file mode 100644
index 0000000..9d0f280
--- /dev/null
+++ b/templates/modals.html
@@ -0,0 +1,29 @@
+{% if user.is_authenticated %}
+<div class="modal hide fade" id="passwordModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
+ <h3>Change Password</h3>
+ </div>
+ <div class="modal-body">
+ <p>Please click following button to send password change link to your email address.</p>
+ </div>
+ <div class="modal-footer">
+ <a data-dismiss="modal" aria-hidden="true" class="btn">Close</a>
+ <a href="{% url 'sbhs_server.password.views.new' %}" class="btn btn-primary">Send password change link</a>
+ </div>
+</div>
+
+
+<div class="modal hide fade" id="machineModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
+ <h3>Machine change</h3>
+ </div>
+ <div class="modal-body">
+ <p>Please send an email to rupakrokade@iitb.ac.in stating the reasons why machine change is required.</p>
+ </div>
+ <div class="modal-footer">
+ <a data-dismiss="modal" aria-hidden="true" class="btn">Close</a>
+ </div>
+</div>
+{% endif %} \ No newline at end of file