made the labels invisible on the login page #1163

This commit is contained in:
daria 2023-08-14 12:58:53 +03:00
parent 254aef8db9
commit d86bef72bf
2 changed files with 3 additions and 25 deletions

View File

@ -7,8 +7,6 @@ define([
], function (h, UI, Msg, Pages, Config) {
return function () {
document.title = Msg.login_login;
Msg.type_username = "Type your username"; // XXX also on register.js
Msg.type_password = "Type your password"; // XXX also on register.js
return [h('div#cp-main', [
Pages.infopageTopbar(),
h('div.container.cp-container', [
@ -27,7 +25,7 @@ define([
autocorrect: 'off',
autocapitalize: 'off',
spellcheck: false,
placeholder: Msg.type_username,
placeholder: Msg.login_username,
autofocus: true,
}),
]),
@ -36,7 +34,7 @@ define([
h('input.form-control#password', {
type: 'password',
'name': 'password',
placeholder: Msg.type_password,
placeholder: Msg.login_password,
}),
]),
]),

View File

@ -53,27 +53,7 @@
}
}
.label{
flex-basis:20%;
}
@media(max-width:1050px){
.label{
flex-basis:25%;
}
}
@media(max-width:420px){
.label{
flex-basis:40%;
}
}
@media(max-width:350px){
.label{
flex-basis:45%;
}
}
@media(max-width:300px){
.label{
flex-basis:60%;
}
display:none;
}
}