diff options
Diffstat (limited to 'templates/modals.html')
-rw-r--r-- | templates/modals.html | 29 |
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">×</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">×</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 |