commented on login/recovery/register labels

This commit is contained in:
daria 2023-08-25 15:56:25 +03:00
parent 3e62e47eef
commit 5bf4998be6
3 changed files with 7 additions and 7 deletions

View File

@ -17,7 +17,7 @@ define([
h('div.cp-login-instance', Msg._getKey('login_instance', [ Pages.Instance.name ])),
h('div.big-container', [
h('div.input-container', [
h('label.label', { for: 'name' }, Msg.login_username + ':'),
h('label.label', { for: 'name' }, Msg.login_username + ':'), // XXX label not visible
h('input.form-control#name', {
name: 'name',
type: 'text',
@ -30,7 +30,7 @@ define([
}),
]),
h('div.input-container', [
h('label.label', { for: 'password' }, Msg.login_password + ':'),
h('label.label', { for: 'password' }, Msg.login_password + ':'), // XXX label not visible
h('input.form-control#password', {
type: 'password',
'name': 'password',

View File

@ -29,7 +29,7 @@ define([
h('div.alert.alert-danger.wrong-cred.cp-hidden', Msg.login_noSuchUser),
h('div.big-container', [
h('div.input-container', [
h('label.label', {for: 'username'}, Msg.login_username + ':'),
h('label.label', {for: 'username'}, Msg.login_username + ':'), // XXX label not visible
h('input.form-control#username', {
type: 'text',
autocomplete: 'off',
@ -41,7 +41,7 @@ define([
}),
]),
h('div.input-container', [
h('label.label', {for: 'password'}, Msg.login_password + ':'),
h('label.label', {for: 'password'}, Msg.login_password + ':'), // XXX label not visible
h('input.form-control#password', {
type: 'password',
placeholder: Msg.login_password,
@ -53,7 +53,7 @@ define([
)
]),
h('div.cp-recovery-step.step2', {style: 'display: none;'}, [
h('label', Msg.recovery_mfa_secret),
h('label', Msg.recovery_mfa_secret), // XXX label not visible
h('input.form-control#mfarecovery', {
type: 'text',
autocomplete: 'off',

View File

@ -71,14 +71,14 @@ define([
}),
]),
h('div.input-container', [
h('label.register-label', { for: 'password' }, Msg.login_password + ':'),
h('label.register-label', { for: 'password' }, Msg.login_password + ':'), // XXX label not visible
h('input.form-control#password', {
type: 'password',
placeholder: Msg.login_password,
}),
]),
h('div.input-container', [
h('label.register-label', { for: 'password-confirm' }, Msg.login_confirm + ':'),
h('label.register-label', { for: 'password-confirm' }, Msg.login_confirm + ':'), // XXX label not visible
h('input.form-control#password-confirm', {
type: 'password',
placeholder: Msg.login_confirm,