Permalink
Browse files

Update Jade and fix warnings

  • Loading branch information...
bkimminich committed Nov 7, 2018
1 parent 13c37e4 commit 27d22fd8a29e4d1ceb852b82092c66260ed3dece
Showing with 11 additions and 11 deletions.
  1. +1 −1 package.json
  2. +10 −10 views/userProfile.jade
@@ -79,7 +79,7 @@
"html-entities": "~1.2",
"is-docker": "~1.1.0",
"is-heroku": "~2.0.0",
"jade": "0.16.0",
"jade": "~1.11.0",
"js-yaml": "~3.12",
"jsonwebtoken": "~8.3",
"jssha": "~2.3",
@@ -22,31 +22,31 @@ html(lang='en')
h3 User Profile
.row(style='margin-top:10%;')
.col-sm-5
img.img-rounded(src='assets/public/images/uploads/'+profileImage, alt='Cinque Terre', width='304', height='236')
img.img-rounded(src='assets/public/images/uploads/' + profileImage, alt='Cinque Terre', width='304', height='236')
p(style='padding-left:25%;margin-top:8%;') _username_
form(action='/profile/image/file' , style='margin-top:10%;',method='post',enctype='multipart/form-data')
form(action='/profile/image/file' , style='margin-top:10%;', method='post', enctype='multipart/form-data')
.form-group
input(type='file', accept='image/*',name='file')
input(type='file', accept='image/*', name='file')
button.btn.btn-default(type='submit') Upload Picture
p(style='margin-top:5%;') ------------ or ------------
form(action='/profile/image/url' , style='margin-top:5%;',method='post')
form(action='/profile/image/url' , style='margin-top:5%;', method='post')
.form-group
label(for='url') Gravatar Url:
input#url.form-control(type='text',name='imageUrl',placeholder='e.g. https://www.gravatar.com/avatar/_emailHash_')
button(id='submitUrl').btn.btn-default(type='submit') Link Gravatar
input#url.form-control(type='text', name='imageUrl', placeholder='e.g. https://www.gravatar.com/avatar/_emailHash_')
button(id='submitUrl', type='submit').btn.btn-default Link Gravatar
p(style='margin-bottom:10%;')
.col-sm-7
form(action='/profile',method='post')
form(action='/profile', method='post')
.form-group
label(for='username') Username:
input#username.form-control(type='text',name='username',placeholder='Enter Username',value='#{username}')
input#username.form-control(type='text', name='username', placeholder='Enter Username', value='#{username}')
.form-group
label(for='email') Email:
input#email.form-control(type='email',name='email',value='#{email}',readonly=true)
button(id='submit').btn.btn-default(type='submit') Set Username
input#email.form-control(type='email', name='email', value='#{email}', readonly=true)
button(id='submit', type='submit').btn.btn-default Set Username

0 comments on commit 27d22fd

Please sign in to comment.