mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-10 08:48:03 +08:00
32 lines
No EOL
1.3 KiB
HTML
32 lines
No EOL
1.3 KiB
HTML
<div class="b-settings-general">
|
|
<div class="form-horizontal">
|
|
<div class="legend">
|
|
<span class="i18n" data-i18n-text="SETTINGS_CHANGE_PASSWORD/LEGEND_CHANGE_PASSWORD"></span>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">
|
|
<span class="i18n" data-i18n-text="SETTINGS_CHANGE_PASSWORD/LABEL_CURRENT_PASSWORD"></span>
|
|
</label>
|
|
<div class="controls">
|
|
<input type="password" data-bind="value: currentPassword, valueUpdate: 'afterkeydown'" />
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<label class="control-label">
|
|
<span class="i18n" data-i18n-text="SETTINGS_CHANGE_PASSWORD/LABEL_NEW_PASSWORD"></span>
|
|
</label>
|
|
<div class="controls">
|
|
<input type="password" data-bind="value: newPassword, valueUpdate: 'afterkeydown'" />
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<a class="btn" data-bind="command: saveNewPasswordCommand, css: { 'btn-success': passwordUpdateSuccess, 'btn-danger': passwordUpdateError }">
|
|
<i data-bind="css: {'icon-spinner animated': changeProcess(), 'icon-key': !changeProcess(), 'icon-white': passwordUpdateSuccess() || passwordUpdateError() }"></i>
|
|
|
|
<span class="i18n" data-i18n-text="SETTINGS_CHANGE_PASSWORD/BUTTON_UPDATE_PASSWORD"></span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |