mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
34 lines
1.8 KiB
HTML
34 lines
1.8 KiB
HTML
<div class="alert" data-bind="hidden: !submitError()">
|
||
<a href="#" class="close" data-bind="click: function () { submitError('') }">×</a>
|
||
<span data-bind="text: submitError"></span>
|
||
</div>
|
||
<form action="#/" data-bind="submit: submitForm, css: {'errorAnimated': formError, 'submitting': submitRequest()}">
|
||
<div class="controls" data-bind="css: {'error': loginError}">
|
||
<span class="fontastic">👤</span>
|
||
<input name="Login" required="" type="text" class="input-block-level"
|
||
autofocus="" autocomplete="username" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||
data-bind="textInput: login, disable: submitRequest"
|
||
data-i18n="[placeholder]LOGIN/LABEL_LOGIN">
|
||
</div>
|
||
<div class="controls" data-bind="css: {'error': passwordError}">
|
||
<span class="fontastic">🔑</span>
|
||
<input name="Password" required="" type="password" class="input-block-level"
|
||
autocomplete="current-password" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||
data-bind="textInput: password, disable: submitRequest"
|
||
data-i18n="[placeholder]LOGIN/LABEL_PASSWORD">
|
||
</div>
|
||
<div class="controls">
|
||
<span class="fontastic">⏱</span>
|
||
<input name="TOTP" type="text" pattern="[0-9]*" inputmode="numeric" class="input-block-level"
|
||
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||
data-bind="textInput: totp, disable: submitRequest"
|
||
data-i18n="[placeholder]LOGIN/LABEL_TOTP">
|
||
<button class="fontastic" data-bind="command: submitCommand" data-i18n="[title]LOGIN/BUTTON_LOGIN">❯</button>
|
||
</div>
|
||
<div id="plugin-Login-BottomControlGroup"></div>
|
||
<div class="controls" data-bind="hidden: hideSubmitButton">
|
||
<button class="btn btn-large btn-block"
|
||
data-bind="command: submitCommand"
|
||
data-i18n="LOGIN/BUTTON_LOGIN"></button>
|
||
</div>
|
||
</form>
|