mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-08 14:10:05 +00:00
Add form to edit the encryption password
The form uses layout of the form for editing passwords not the search box. It’s required that the user enters it’s current encryption password and the new password twice. Issue: https://github.com/Luzifer/cloudkeys-go/issues/10
This commit is contained in:
parent
65ac3d3ca6
commit
f1ee8fb42b
1 changed files with 32 additions and 0 deletions
|
@ -132,6 +132,38 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="editEncPWDialog" class="modal fade">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Change Encryption Password</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form role="form">
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="editEncPW_current_password">Current Password</label>
|
||||
<input type="password" class="form-control" id="editEncPW_current_password" placeholder="Enter Current Password">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="editEncPW_password">Password</label>
|
||||
<input type="password" class="form-control" id="editEncPW_password" placeholder="Enter Password">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="editEncPW_repeat_password">Repeat Password</label>
|
||||
<input type="password" class="form-control" id="editEncPW_repeat_password" placeholder="Repeat Password">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="formEncPWClose" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button type="button" class="btn btn-primary">Save changes</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/aes.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.2/rollups/sha1.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
|
||||
|
|
Loading…
Reference in a new issue