snappymail/rainloop/v/0.0.0/app/templates/Views/User/SettingsChangePassword.html

48 lines
2.2 KiB
HTML
Raw Normal View History

2013-12-25 08:05:04 +08:00
<div class="b-settings-general g-ui-user-select-none">
2014-04-19 07:41:10 +08:00
<div class="form-horizontal long-label">
2013-12-15 06:42:32 +08:00
<div class="legend">
2015-03-21 04:23:41 +08:00
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LEGEND_CHANGE_PASSWORD"></span>
2013-12-15 06:42:32 +08:00
</div>
2014-04-19 07:41:10 +08:00
<div class="row">
<div class="span6">
<div class="control-group" data-bind="css: {'error': currentPassword.error}">
<label class="control-label">
2015-03-21 04:23:41 +08:00
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_CURRENT_PASSWORD"></span>
2014-04-19 07:41:10 +08:00
</label>
<div class="controls">
2014-04-29 23:31:49 +08:00
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
2014-08-19 18:33:59 +08:00
data-bind="textInput: currentPassword" />
2014-04-19 07:41:10 +08:00
</div>
</div>
<div class="control-group" data-bind="css: {'error': passwordMismatch}">
<label class="control-label">
2015-03-21 04:23:41 +08:00
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_NEW_PASSWORD"></span>
2014-04-19 07:41:10 +08:00
</label>
<div class="controls">
2014-04-29 23:31:49 +08:00
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
2014-08-19 18:33:59 +08:00
data-bind="textInput: newPassword" />
2014-04-19 07:41:10 +08:00
</div>
</div>
<div class="control-group" data-bind="css: {'error': passwordMismatch}">
<label class="control-label">
2015-03-21 04:23:41 +08:00
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/LABEL_REPEAT_PASSWORD"></span>
2014-04-19 07:41:10 +08:00
</label>
<div class="controls">
2014-04-29 23:31:49 +08:00
<input type="password" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
2014-08-19 18:33:59 +08:00
data-bind="textInput: newPassword2" />
2014-04-19 07:41:10 +08:00
</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>
&nbsp;&nbsp;
2015-03-21 04:23:41 +08:00
<span class="i18n" data-i18n="SETTINGS_CHANGE_PASSWORD/BUTTON_UPDATE_PASSWORD"></span>
2014-04-19 07:41:10 +08:00
</a>
</div>
</div>
2013-12-15 06:42:32 +08:00
</div>
2014-04-19 07:41:10 +08:00
<div class="span4 alert alert-error alert-null-left-margin" data-bind="visible: '' !== errorDescription(), text: errorDescription"></div>
2013-12-15 06:42:32 +08:00
</div>
</div>
2013-09-25 03:04:44 +08:00
</div>