mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37:03 +03:00
due to issues with browser plugins like LastPass which place buttons on the right. And added a TOTP icon
46 lines
2.2 KiB
HTML
46 lines
2.2 KiB
HTML
<div class="descWrapper" data-bind="visible: '' !== loadingDesc, text: loadingDesc"></div>
|
||
<div class="alert" data-bind="hidden: !submitError()" hidden="">
|
||
<button type="button" class="close" data-bind="click: function () { submitError('') }">×</button>
|
||
<span data-bind="text: submitError"></span>
|
||
<p data-bind="visible: '' !== submitErrorAddidional(), text: submitErrorAddidional"></p>
|
||
</div>
|
||
<form action="#/"
|
||
data-bind="submit: submitForm, css: {'errorAnimated': formError, 'submitting': submitRequest()}">
|
||
<div class="controls" data-bind="css: {'error': emailError}">
|
||
<span class="fontastic">✉</span>
|
||
<input name="Email" required="" type="text" class="input-block-level" pattern="[^@\s]+(@[^\s]+)?" inputmode="email"
|
||
autofocus="" autocomplete="email" autocorrect="off" autocapitalize="off" spellcheck="false"
|
||
data-bind="textInput: email, disable: submitRequest"
|
||
data-i18n="[placeholder]GLOBAL/EMAIL" />
|
||
</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]GLOBAL/PASSWORD" />
|
||
<button class="fontastic" data-bind="command: submitCommand, visible: '' !== password()" data-i18n="[title]LOGIN/BUTTON_SIGN_IN">❯</button>
|
||
</div>
|
||
<div id="plugin-Login-BottomControlGroup"></div>
|
||
<div class="controls" data-bind="hidden: hideSubmitButton">
|
||
<button class="btn btn-large btn-block buttonLogin"
|
||
data-bind="command: submitCommand"
|
||
data-i18n="LOGIN/BUTTON_SIGN_IN"></button>
|
||
</div>
|
||
<div style="display: flex">
|
||
<div class="signMeLabel" data-bind="visible: signMeVisibility, component: {
|
||
name: 'CheckboxSimple',
|
||
params: {
|
||
label: 'LOGIN/LABEL_SIGN_ME',
|
||
value: signMe
|
||
}
|
||
}"></div>
|
||
<div class="language-buttons">
|
||
<a href="#" tabindex="-1" class="language-button fontastic"
|
||
data-bind="visible: allowLanguagesOnLogin, click: selectLanguage, css: { 'icon-spinner' : langRequest }"
|
||
data-i18n="[title]POPUPS_LANGUAGES/TITLE_LANGUAGES">
|
||
🌍
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</form>
|