Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/nine_rtksync/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"auth.logged_out": "You have signed out successfully.",
"auth.login_failed": "Wrong user or password.",
"auth.login_intro": "Sign in to see the panel.",
"auth.login_title": "Dashboard Access",
"auth.logout": "Sign out",
"auth.min_chars": "Minimum of 4 characters.",
"auth.new_password": "New password",
Expand Down
1 change: 1 addition & 0 deletions src/nine_rtksync/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"auth.logged_out": "Sesión cerrada con éxito.",
"auth.login_failed": "Usuario o contraseña incorrectos.",
"auth.login_intro": "Entre para ver el panel.",
"auth.login_title": "Acceso al panel",
"auth.logout": "Salir",
"auth.min_chars": "Mínimo de 4 caracteres.",
"auth.new_password": "Nueva contraseña",
Expand Down
1 change: 1 addition & 0 deletions src/nine_rtksync/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"auth.logged_out": "Sessão encerrada com sucesso.",
"auth.login_failed": "Usuário ou senha incorretos.",
"auth.login_intro": "Entre para ver o painel.",
"auth.login_title": "Acesso ao painel",
"auth.logout": "Sair",
"auth.min_chars": "Mínimo de 4 caracteres.",
"auth.new_password": "Nova senha",
Expand Down
7 changes: 3 additions & 4 deletions src/nine_rtksync/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -610,13 +610,12 @@ def render_login_page(
<main class="card shadow-sm" style="max-width:26rem;width:100%">
<div class="card-body p-4">
<div class="d-flex align-items-center gap-3 mb-3">
<span class="brand-mark"><i class="bi {ICONE_DO_PRODUTO}" aria-hidden="true"></i></span>
<span class="brand-mark"><i class="bi bi-key-fill" aria-hidden="true"></i></span>
<div>
<h2 class="h5 mb-0 fw-bold">{NOME_DO_PRODUTO}</h2>
<span class="text-secondary small font-monospace">{NOME_DO_GATEWAY}</span>
<h2 class="h5 mb-0 fw-bold">{esc(translate("auth.login_title", lang))}</h2>
<span class="text-secondary small">{esc(translate("auth.login_intro", lang))}</span>
</div>
</div>
<p class="text-secondary small mb-3">{esc(translate("auth.login_intro", lang))}</p>
{info_html}
{aviso}
{form_html}
Expand Down
Loading