diff --git a/customize.dist/pages/login.js b/customize.dist/pages/login.js index b850f976a..798c18f07 100644 --- a/customize.dist/pages/login.js +++ b/customize.dist/pages/login.js @@ -7,6 +7,8 @@ define([ ], function (h, UI, Msg, Pages, Config) { return function () { document.title = Msg.login_login; + Msg.type_username = "Type your username"; // XXX + Msg.type_password = "Type your password"; // XXX return [h('div#cp-main', [ Pages.infopageTopbar(), h('div.container.cp-container', [ @@ -25,7 +27,7 @@ define([ autocorrect: 'off', autocapitalize: 'off', spellcheck: false, - placeholder: Msg.login_username, + placeholder: Msg.type_username, autofocus: true, }), ]), @@ -34,16 +36,16 @@ define([ h('input.form-control#password', { type: 'password', 'name': 'password', - placeholder: Msg.login_password, + placeholder: Msg.type_password, }), ]), - ]), // <-- Added closing bracket here + ]), h('div.checkbox-container', [ UI.createCheckbox('import-recent', Msg.register_importRecent), ]), h('div.extra', [ - (Config.restrictRegistration ? - undefined : + (Config.restrictRegistration? + undefined: h('button#register.cp-secondary', Msg.login_register) ), h('button.login', Msg.login_login) diff --git a/customize.dist/src/less2/include/infopages.less b/customize.dist/src/less2/include/infopages.less index 33b74f46a..3edbd6c08 100644 --- a/customize.dist/src/less2/include/infopages.less +++ b/customize.dist/src/less2/include/infopages.less @@ -150,6 +150,14 @@ body.html { .big-container{ width: 100%; } + .input-container{ + display:flex; + flex-direction: row; + align-items:center; + } + .label{ + flex-basis:20%; + } } } footer {