mirror of
https://github.com/moparisthebest/mail
synced 2024-11-15 21:55:04 -05:00
33 lines
1.4 KiB
HTML
33 lines
1.4 KiB
HTML
<div class="lightbox-body" ng-controller="SetPassphraseCtrl">
|
|
<header>
|
|
<h2>Set passphrase</h2>
|
|
<button class="close" wo-touch="state.setPassphrase.toggle(false)" data-action="lightbox-close"></button>
|
|
</header>
|
|
|
|
<div class="content">
|
|
<div class="dialog view-set-passphrase">
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td><label>Current passphrase</label></td>
|
|
<td><input class="input-text" type="password" ng-model="oldPassphrase" ng-change="checkPassphraseQuality()" tabindex="1" focus-me="true"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>New passphrase</label></td>
|
|
<td><input class="input-text" type="password" ng-model="newPassphrase" ng-change="checkPassphraseQuality()" tabindex="2"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><label>Confirm passphrase</label></td>
|
|
<td><input class="input-text" type="password" ng-model="confirmation" ng-class="{'input-text-error': (confirmation || newPassphrase) && confirmation !== newPassphrase}" tabindex="3"></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div class="control">
|
|
<button wo-touch="setPassphrase()" class="btn" ng-disabled="(confirmation || newPassphrase) && confirmation !== newPassphrase" tabindex="4">Set passphrase</button>
|
|
</div>
|
|
|
|
</div><!-- /.view-set-passphrase -->
|
|
</div><!-- /.content -->
|
|
</div><!-- /.lightbox-body --> |