Bugfix: two-factor-auth plugin wrong layout for v2.9

This commit is contained in:
djmaze 2021-11-18 16:44:53 +01:00
parent fee6ed2e0e
commit 863c1d0151

View file

@ -1,29 +1,18 @@
<div class="modal fade b-two-factor-test-content g-ui-user-select-none" data-bind="modal: modalVisibility"> <header>
<div> <a class="close" href="#" data-bind="command: cancelCommand">×</a>
<div class="modal-header"> <h3 data-i18n="POPUPS_TWO_FACTOR_TEST/TITLE_TEST_CODE"></h3>
<button type="button" class="close" data-bind="command: cancelCommand">×</button> </header>
<h3 data-i18n="POPUPS_TWO_FACTOR_TEST/TITLE_TEST_CODE"></h3> <div class="modal-body form-horizontal">
</div> <div class="control-group">
<div class="modal-body"> <label data-i18n="POPUPS_TWO_FACTOR_TEST/LABEL_CODE"></label>
<div class="form-horizontal"> <input type="text" class="uiInput inputName"
<br /> autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
<div class="control-group"> data-bind="textInput: code, onEnter: testCodeCommand" />
<label class="control-label">
<span data-i18n="POPUPS_TWO_FACTOR_TEST/LABEL_CODE"></span>
</label>
<div class="controls">
<input type="text" class="uiInput inputName"
autofocus="" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
data-bind="textInput: code, onEnter: testCodeCommand" />
</div>
</div>
</div>
</div>
<div class="modal-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>
</div>
</div> </div>
</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>