2014-04-06 03:48:22 +08:00
|
|
|
<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">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="text" class="uiInput inputName"
|
|
|
|
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-08-19 18:33:59 +08:00
|
|
|
data-bind="textInput: code, hasfocus: code.focused, onEnter: testCode" />
|
2014-04-06 03:48:22 +08:00
|
|
|
</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>
|