From 23ef1a02c3beed397eec950a8ca21c825a8df720 Mon Sep 17 00:00:00 2001 From: Key Networks <34238649+key-networks@users.noreply.github.com> Date: Tue, 9 Jan 2018 17:25:23 +0800 Subject: [PATCH] Made form elements large --- src/etc/.gitignore | 1 + src/etc/tls/.gitignore | 4 ++-- src/views/login.pug | 11 ++++++----- src/views/password.pug | 13 +++++++------ 4 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 src/etc/.gitignore diff --git a/src/etc/.gitignore b/src/etc/.gitignore new file mode 100644 index 0000000..3789595 --- /dev/null +++ b/src/etc/.gitignore @@ -0,0 +1 @@ +passwd diff --git a/src/etc/tls/.gitignore b/src/etc/tls/.gitignore index d6b7ef3..bf96714 100644 --- a/src/etc/tls/.gitignore +++ b/src/etc/tls/.gitignore @@ -1,2 +1,2 @@ -* -!.gitignore +fullchain.pem +privkey.pem diff --git a/src/views/login.pug b/src/views/login.pug index 8ef6671..ea501cd 100644 --- a/src/views/login.pug +++ b/src/views/login.pug @@ -26,7 +26,7 @@ block login_content .input-group span.input-group-addon i.glyphicon.glyphicon-user - input#username.form-control(type='text' name='username' placeholder='Enter your username') + input#username.form-control.input-lg(type='text' name='username' placeholder='Enter your username') .form-group.row .col-sm-2 @@ -35,10 +35,11 @@ block login_content .input-group span.input-group-addon i.glyphicon.glyphicon-lock - input#password.form-control(type='password' name='password' placeholder='Enter your password') + input#password.form-control.input-lg(type='password' name='password' placeholder='Enter your password') .form-group.row - .col-sm-12 - button.btn.btn-primary(type='submit') Login + .col-sm-2 + .col-sm-10 + button.btn.btn-primary.btn-lg(type='submit') Login = ' ' - a.btn.btn-default(href='/' name='cancel' role='button') Cancel + a.btn.btn-default.btn-lg(href='/' name='cancel' role='button') Cancel diff --git a/src/views/password.pug b/src/views/password.pug index cca4098..53710d7 100644 --- a/src/views/password.pug +++ b/src/views/password.pug @@ -20,7 +20,7 @@ block users_content .input-group span.input-group-addon i.glyphicon.glyphicon-user - input#username.form-control(type='text' name='username' placeholder='Enter username' value=user.name readonly=readonly) + input#username.form-control.input-lg(type='text' name='username' placeholder='Enter username' value=user.name readonly=readonly) .form-group.row .col-sm-2 @@ -29,7 +29,7 @@ block users_content .input-group span.input-group-addon i.glyphicon.glyphicon-lock - input#password1.form-control(type='password' name='password1' placeholder='Enter new password' value=(undefined===user.password1? '' : user.password1)) + input#password1.form-control.input-lg(type='password' name='password1' placeholder='Enter new password' value=(undefined===user.password1? '' : user.password1)) .form-group.row .col-sm-2 @@ -38,7 +38,7 @@ block users_content .input-group span.input-group-addon i.glyphicon.glyphicon-lock - input#password2.form-control(type='password' name='password2' placeholder='Re-enter password' value=(undefined===user.password2? '' : user.password2)) + input#password2.form-control.input-lg(type='password' name='password2' placeholder='Re-enter password' value=(undefined===user.password2? '' : user.password2)) .form-group.row .col-sm-2 @@ -47,10 +47,11 @@ block users_content input#pass_set(type='checkbox' name='pass_set' value='check') .form-group.row - .col-sm-12 - button.btn.btn-primary(type='submit') Set password + .col-sm-2 + .col-sm-10 + button.btn.btn-primary.btn-lg(type='submit') Set password = ' ' - a.btn.btn-default(href='/users' name='cancel' role='button') Cancel + a.btn.btn-default.btn-lg(href='/users' name='cancel' role='button') Cancel if errors .form-group.row