2021-11-18 23:44:53 +08:00
|
|
|
|
<header>
|
|
|
|
|
<a class="close" href="#" data-bind="command: cancelCommand">×</a>
|
|
|
|
|
<h3 data-i18n="POPUPS_TWO_FACTOR_TEST/TITLE_TEST_CODE"></h3>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="modal-body form-horizontal">
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<label data-i18n="POPUPS_TWO_FACTOR_TEST/LABEL_CODE"></label>
|
|
|
|
|
<input type="text" class="uiInput inputName"
|
|
|
|
|
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
|
data-bind="textInput: code, onEnter: testCodeCommand" />
|
2021-04-13 17:42:06 +08:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-11-18 23:44:53 +08:00
|
|
|
|
<footer>
|
|
|
|
|
<a class="btn" data-bind="command: testCodeCommand, css: { 'btn-success': true === codeStatus(), 'btn-danger': false === codeStatus() }">
|
|
|
|
|
<i data-bind="css: {'icon-ok': !testing(), 'icon-spinner': testing()}"></i>
|
|
|
|
|
<span data-i18n="GLOBAL/TEST"></span>
|
|
|
|
|
</a>
|
|
|
|
|
</footer>
|