Made form elements large

This commit is contained in:
Key Networks 2018-01-09 17:25:23 +08:00
parent fc22e63efa
commit 23ef1a02c3
4 changed files with 16 additions and 13 deletions

1
src/etc/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
passwd

View File

@ -1,2 +1,2 @@
*
!.gitignore
fullchain.pem
privkey.pem

View File

@ -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

View File

@ -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