snappymail/plugins/two-factor-auth/templates/PopupsTwoFactorAuthTest.html

19 lines
747 B
HTML
Raw Normal View History

<header>
<a class="close" href="#" data-bind="click: close">×</a>
<h3 data-i18n="PLUGIN_2FA/TITLE_TEST_CODE"></h3>
</header>
<div class="modal-body form-horizontal">
<div class="control-group">
<label data-i18n="PLUGIN_2FA/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>
<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>