mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-09 22:50:05 +00:00
Add menu link to the edit encryption password form
The menu link is in a new “Settings” dropdown. That is a good place to add a link to update the account password in the future. The “Settings” menu is placed next to the “Switch Account” dropdown. Issue: https://github.com/Luzifer/cloudkeys-go/issues/10
This commit is contained in:
parent
d08c29c083
commit
171df9ceda
2 changed files with 9 additions and 0 deletions
|
@ -13,6 +13,8 @@ class CloudKeys
|
|||
@fetchData()
|
||||
$('#newEntityLink').click =>
|
||||
@showForm()
|
||||
$('#editEncPWLink').click =>
|
||||
@showEditEncPWForm()
|
||||
|
||||
$('#passwordRequest').addClass('hide')
|
||||
|
||||
|
|
|
@ -25,6 +25,13 @@
|
|||
<li><a id="importLink">Import</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav pull-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Settings <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a id="editEncPWLink">Change Encryption Password</a></li>
|
||||
<!-- TODO: <li><a id="editAccPWLink">Change Account Password</a></li> -->
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Switch Account <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
|
|
Loading…
Reference in a new issue