1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-21 01:49:22 +02:00

[Web] rearrange login buttons

This commit is contained in:
FreddleSpl0it 2024-12-05 15:21:07 +01:00
parent a41bb55c83
commit bbddfc3eab
No known key found for this signature in database
GPG Key ID: 00E14E7634F4BEC5
20 changed files with 67 additions and 47 deletions

View File

@ -411,3 +411,25 @@ button[aria-expanded='true'] > .caret {
color: #fff !important;
text-decoration: none;
}
.hr-title {
display: flex;
align-items: center;
text-align: center;
margin: 20px 0;
}
.hr-title::before,
.hr-title::after {
content: "";
flex: 1;
border-bottom: 1px solid #ccc;
}
.hr-title:not(:empty)::before {
margin-right: 10px;
}
.hr-title:not(:empty)::after {
margin-left: 10px;
}

View File

@ -747,7 +747,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Přihlásit",
"mobileconfig_info": "Ke stažení profilového souboru se přihlaste jako uživatel schránky.",
"other_logins": "Přihlášení klíčem",
"other_logins": "nebo přihlásit s",
"password": "Heslo",
"username": "Uživatelské jméno",
"back_to_mailcow": "Zpět do mailcow",

View File

@ -604,7 +604,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Login",
"mobileconfig_info": "Log ind som postkassebruger for at downloade den anmodede Apple-forbindelsesprofil.",
"other_logins": "Nøgle login",
"other_logins": "eller log ind med",
"password": "Adgangskode",
"username": "Brugernavn"
},

View File

@ -772,7 +772,7 @@
"mobileconfig_info": "Bitte als Mailbox-Benutzer einloggen, um das Verbindungsprofil herunterzuladen.",
"new_password": "Neues Passwort",
"new_password_confirm": "Neues Passwort bestätigen",
"other_logins": "Key Login",
"other_logins": "oder anmelden mit",
"password": "Passwort",
"reset_password": "Passwort zurücksetzen",
"request_reset_password": "Passwortänderung anfordern",

View File

@ -235,7 +235,7 @@
"iam_redirect_url": "Redirect Url",
"iam_rest_flow": "Mailpassword Flow",
"iam_server_url": "Server Url",
"iam_sso": "SSO",
"iam_sso": "Single Sign-On",
"iam_sync_interval": "Sync / Import interval (min)",
"iam_test_connection": "Test Connection",
"iam_token_url": "Token endpoint",
@ -810,7 +810,7 @@
"mobileconfig_info": "Please login as mailbox user to download the requested Apple connection profile.",
"new_password": "New Password",
"new_password_confirm": "Confirm new password",
"other_logins": "Key login",
"other_logins": "or login with",
"password": "Password",
"reset_password": "Reset Password",
"request_reset_password": "Request password change",

View File

@ -695,7 +695,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Connexion",
"mobileconfig_info": "Veuillez vous connecter en tant qu’utilisateur de la boîte de réception pour télécharger le profil de connexion Apple demandé.",
"other_logins": "Clé d'authentification",
"other_logins": "ou se connecter avec",
"password": "Mot de passe",
"username": "Nom d'utilisateur",
"back_to_mailcow": "Revenir sur mailcow",

View File

@ -712,7 +712,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Login",
"mobileconfig_info": "Please login as mailbox user to download the requested Apple connection profile.",
"other_logins": "Key login",
"other_logins": "o accedi con",
"password": "Password",
"username": "Nome utente",
"request_reset_password": "Richiesta di modifica della password",

View File

@ -251,7 +251,7 @@
"login": {
"fido2_webauthn": "FIDO2/WebAuthn Prisijungimas",
"login": "Prisijungti",
"other_logins": "Prisijungimas raktu",
"other_logins": "ar prisijungti su",
"password": "Slaptažodis",
"username": "Naudotojo vardas",
"mobileconfig_info": "Prašome prisijungti kaip pašto dėžutės vartotojui, kad galėtumėte atsisiųsti pageidaujamą „Apple“ ryšio profilį."

View File

@ -333,7 +333,7 @@
"username": "Lietotājvārds",
"fido2_webauthn": "FIDO/WebAuthn pieteikšanās",
"mobileconfig_info": "Lūgums pieteikties kā pastkastes lietotājam, lai lejupielādētu pieprasīto Apple savienojuma profilu.",
"other_logins": "Pieteikšanās ar atslēgu"
"other_logins": "vai pieslēgties ar"
},
"mailbox": {
"action": "Rīcība",

View File

@ -663,7 +663,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Aanmelden",
"mobileconfig_info": "Log in als mailboxgebruiker om het Apple-verbindingsprofiel te downloaden.",
"other_logins": "Meld aan met key",
"other_logins": "of aanmelden met",
"password": "Wachtwoord",
"username": "Gebruikersnaam"
},

View File

@ -765,7 +765,7 @@
"mobileconfig_info": "Faça login como usuário da mailbox para baixar o perfil de conexão Apple solicitado.",
"new_password": "Nova senha",
"new_password_confirm": "Confirmar nova senha",
"other_logins": "Login com chave",
"other_logins": "ou faça login com",
"password": "Senha",
"reset_password": "Recuperar a senha",
"request_reset_password": "Solicitar troca de senha",

View File

@ -677,7 +677,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Autentificare",
"mobileconfig_info": "Autentificați-vă cu adresa de email pentru a descărca profilul de conexiune Apple.",
"other_logins": "Autentificare cu cheie",
"other_logins": "sau autentificare cu",
"password": "Parolă",
"username": "Nume de utilizator"
},

View File

@ -770,7 +770,7 @@
"mobileconfig_info": "Пожалуйста, войдите в систему как пользователь почтового аккаунта для загрузки профиля подключения Apple.",
"new_password": "Новый пароль",
"new_password_confirm": "Повторите новый пароль",
"other_logins": "Вход с помощью ключа",
"other_logins": "или войти с",
"password": "Пароль",
"request_reset_password": "Запросить восстановление пароля",
"reset_password": "Восстановление пароля",

View File

@ -707,7 +707,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Prihlásenie",
"mobileconfig_info": "Prosím, prihláste sa ako mailový používateľ pre stiahnutie požadovaného Apple profilu.",
"other_logins": "Prihlásenie kľúčom",
"other_logins": "alebo prihlásiť sa s",
"password": "Heslo",
"username": "Používateľské meno alebo email"
},

View File

@ -621,7 +621,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Logga in",
"mobileconfig_info": "Logga in som en användare av brevlåda för att ladda ner den begärda Apple-anslutningsprofilen.",
"other_logins": "Loggain med nyckel",
"other_logins": "eller logga in med",
"password": "Lösenord",
"username": "Användarnamn"
},

View File

@ -895,7 +895,7 @@
"login": "Giriş",
"password": "Şifre",
"username": "Kullanıcı Adı",
"other_logins": "Anahtar girişi"
"other_logins": "veya ile giriş yap"
},
"success": {
"bcc_saved": "BCC harita girişi kaydedildi",

View File

@ -722,7 +722,7 @@
"login": {
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "Увійти",
"other_logins": "Вхід за допомогою ключа",
"other_logins": "або увійти з",
"password": "Пароль",
"username": "Ім'я користувача",
"delayed": "Вхід був затриманий на %s секунд.",

View File

@ -738,7 +738,7 @@
"fido2_webauthn": "使用 FIDO2/WebAuthn Login 登录",
"login": "登录",
"mobileconfig_info": "请使用邮箱用户登录以下载 Apple 连接描述文件。",
"other_logins": "Key 登录",
"other_logins": "或通过以下方式登录",
"password": "密码",
"username": "用户名",
"forgot_password": "> 忘记密码?",

View File

@ -731,7 +731,7 @@
"fido2_webauthn": "FIDO2/WebAuthn Login",
"login": "登入",
"mobileconfig_info": "請使用信箱使用者登入以下載 Apple 連接描述檔案。",
"other_logins": "金鑰登入",
"other_logins": "或透過以下方式登入",
"password": "密碼",
"username": "使用者名稱",
"back_to_mailcow": "返回至mailcow",

View File

@ -41,16 +41,7 @@
</div>
</div>
<div class="d-flex justify-content-between mt-4" style="position: relative">
<div class="btn-group">
<button type="submit" class="btn btn-xs-lg btn-success" value="Login">{{ lang.login.login }}</button>
<button type="button" class="btn btn-xs-lg btn-success dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#" id="fido2-login"><i class="bi bi-shield-fill-check"></i> {{ lang.login.fido2_webauthn }}</a></li>
{% if has_iam_sso %}
<li><a class="dropdown-item" href="/?iam_sso=1"><i class="bi bi-cloud-arrow-up-fill"></i> {{ lang.admin.iam_sso }}</a></li>
{% endif %}
</ul>
</div>
{% if not oauth2_request %}
<div class="d-grid d-sm-block">
<button type="button" {% if available_languages|length == 1 %}disabled="true"{% endif %} class="btn btn-secondary ms-auto dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
@ -69,9 +60,16 @@
{% endif %}
</div>
</form>
<div class="mt-3 mb-4">
<div class="mt-3">
<a href="/reset-password">{{ lang.login.forgot_password }}</a>
</div>
<div class="hr-title mt-5"><strong>{{ lang.login.other_logins }}</strong></div>
<div class="d-flex flex-column align-items-center">
<a class="btn btn-xs-lg btn-secondary w-100" style="max-width: 400px;" href="#" id="fido2-login"><i class="bi bi-shield-fill-check"></i> {{ lang.login.fido2_webauthn }}</a>
{% if has_iam_sso %}
<a class="btn btn-xs-lg btn-secondary w-100 mt-2" style="max-width: 400px;" href="/?iam_sso=1"><i class="bi bi-cloud-arrow-up-fill"></i> {{ lang.admin.iam_sso }}</a>
{% endif %}
</div>
{% if login_delay %}
<p><div class="my-4 alert alert-info">{{ lang.login.delayed|format(login_delay) }}</b></div></p>
{% endif %}