mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-11 01:07:39 +08:00
33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
|
<div class="popups">
|
||
|
<div class="modal hide b-two-factor-test-content g-ui-user-select-none" data-bind="modal: modalVisibility">
|
||
|
<div>
|
||
|
<div class="modal-header">
|
||
|
<button type="button" class="close" data-bind="command: cancelCommand">×</button>
|
||
|
<h3>
|
||
|
<span class="i18n" data-i18n-text="POPUPS_TWO_FACTOR_TEST/TITLE_TEST_CODE"></span>
|
||
|
</h3>
|
||
|
</div>
|
||
|
<div class="modal-body">
|
||
|
<div class="form-horizontal">
|
||
|
<br />
|
||
|
<div class="control-group">
|
||
|
<label class="control-label">
|
||
|
<span class="i18n" data-i18n-text="POPUPS_TWO_FACTOR_TEST/LABEL_CODE"></span>
|
||
|
</label>
|
||
|
<div class="controls">
|
||
|
<input class="uiInput inputName" type="text" data-bind="value: code, hasfocus: code.focused, valueUpdate: 'afterkeydown', onEnter: testCode" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<a class="btn" data-bind="command: testCode, css: { 'btn-success': true === code.status(), 'btn-danger': false === code.status() }">
|
||
|
<i data-bind="css: {'icon-ok': !testing(), 'icon-spinner animated': testing(), 'icon-white': true === code.status() || false === code.status() }"></i>
|
||
|
|
||
|
<span class="i18n" data-i18n-text="POPUPS_TWO_FACTOR_TEST/BUTTON_TEST"></span>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|