-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from LizaHCarter/UX2
Ux2
- Loading branch information
Showing
12 changed files
with
261 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(function(){ | ||
'use strict'; | ||
|
||
$(document).ready(function(){ | ||
$('body').css('display', 'none'); | ||
$('body').fadeIn(3000); | ||
}); | ||
|
||
})(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
extends ../shared/template | ||
block content | ||
.homePage(style='background-image: url("/img/wine_seller.png");') | ||
body | ||
.homePage | ||
#goRegister: a(href= '/register') Register | ||
#goLogin: a(href='/login') Login | ||
.slogan . <br/> Bid.<br/>       Trade.<br/>                 Drink... | ||
|
||
|
||
block scripts | ||
script(src='/js/user/home.js') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,32 @@ | ||
extends ../shared/template | ||
block content | ||
h2 Edit Profile | ||
.row | ||
.col-xs-6 | ||
form(role='form', method='post', action='/profile') | ||
input(type='hidden', name='_method', value='put') | ||
.form-group | ||
label(for='name') Name | ||
input.form-control#name(type='text', name='name', value=user.name, autofocus=true) | ||
.form-group | ||
label(for='email') Email | ||
input.form-control#email(type='email', name='email', value=user.email) | ||
.form-group | ||
label(for='phone') Phone | ||
input.form-control#phone(type='tel', name='phone', value=user.phone) | ||
.form-group | ||
label(for='photo') Photo | ||
input.form-control#photo(type='text', name='photo', value=user.photo) | ||
.form-group | ||
label(for='bio') Bio | ||
input.form-control#bio(type='text', name='bio', value=user.bio) | ||
.form-group | ||
label(for='favorite') Favorite Wine | ||
input.form-control#favorite(type='text', name='favorite', value=user.favorite) | ||
body#editProfile | ||
.row | ||
.col-xs-12.col-md-4 | ||
form(role='form', method='post', action='/profile') | ||
input(type='hidden', name='_method', value='put') | ||
.form-group | ||
label(for='name')#labels | ||
input.form-control#name(type='text', name='name', value=user.name, autofocus=true) | ||
.form-group | ||
label(for='email') Email | ||
input.form-control#email(type='email', name='email', value=user.email) | ||
.form-group | ||
label(for='phone') Phone | ||
input.form-control#phone(type='tel', name='phone', value=user.phone) | ||
.form-group | ||
label(for='photo') Photo | ||
input.form-control#photo(type='text', name='photo', value=user.photo) | ||
.form-group | ||
label(for='bio') Bio | ||
input.form-control#bio(type='text', name='bio', value=user.bio) | ||
.form-group | ||
label(for='favorite') Favorite Wine | ||
input.form-control.textBox#favorite(type='text', name='favorite', value=user.favorite) | ||
|
||
button.btn.btn-primary(type='submit') Update Profile | ||
.col-xs-6 | ||
button.btn.btn-primary(type='submit') Update Profile | ||
|
||
.row | ||
.col-xs-12.col-md-12 | ||
|
||
block scripts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
extends ../shared/template | ||
block content | ||
h2 Login | ||
.row | ||
.col-xs-6 | ||
form(role='form', method='post', action='/login') | ||
.form-group | ||
label(for='email') Email | ||
input.form-control#email(type='email', name='email', autofocus=true) | ||
.form-group | ||
label(for='password') Password | ||
input.form-control#password(type='password', name='password') | ||
button.btn.btn-success(type='submit') Submit | ||
.col-xs-6 | ||
body.backgroundImage | ||
div.register | ||
div.content-main | ||
.row | ||
.col-xs-12.col-md-3 | ||
h2.register Login | ||
form.regLog(role='form', method='post', action='/login') | ||
.form-group | ||
label(for='email') | ||
input.form-control.input-bar#email(type='email', name='email', autofocus=true, placeholder= 'Email') | ||
.form-group | ||
label(for='password') | ||
input.form-control.input-bar#password(type='password', name='password', placeholder= 'Password') | ||
button.btn(type='submit') Submit | ||
.cheers Cheers! | ||
.row | ||
.col-xs-12.col-md-3 | ||
|
||
block scripts | ||
block scripts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
extends ../shared/template | ||
block content | ||
h2 Register | ||
.row | ||
.col-xs-6 | ||
form(role='form', method='post', action='/register') | ||
.form-group | ||
label(for='name') Name | ||
input.form-control#name(type='text', name='name', autofocus=true) | ||
.form-group | ||
label(for='photo') Photo | ||
input.form-control#photo(type='text', name='photo', placeholder='http://example.com/pic.jpg') | ||
.form-group | ||
label(for='email') Email | ||
input.form-control#email(type='email', name='email') | ||
.form-group | ||
label(for='phone') Phone | ||
input.form-control#phone(type='text', name='phone', placeholder='xxx-xxx-xxxx') | ||
.form-group | ||
label(for='password') Password | ||
input.form-control#password(type='password', name='password') | ||
button.btn.btn-primary(type='submit') Submit | ||
.col-xs-6 | ||
body.backgroundImage | ||
div.register | ||
div.content-main | ||
.row | ||
.col-xs-12.col-md-3 | ||
h2.register Register | ||
form.regLog(role='form', method='post', action='/register') | ||
.form-group | ||
label(for='name') | ||
input.form-control.input-bar#name(type='text', name='name', placeholder='User Name', autofocus=true) | ||
.form-group | ||
label(for='photo') | ||
input.form-control.input-bar#photo(type='text', name='photo', placeholder='Picture URL') | ||
.form-group | ||
label(for='phone') | ||
input.form-control.input-bar#phone(type='text', name='phone', placeholder='xxx-xxx-xxxx') | ||
.form-group | ||
label(for='email') | ||
input.form-control.input-bar#email(type='email', name='email', placeholder ='Email') | ||
.form-group | ||
label(for='password') | ||
input.form-control.input-bar#password(type='password', name='password', placeholder='Password') | ||
button.btn(type='submit') Submit | ||
.row | ||
.col-xs-12 | ||
|
||
block scripts | ||
block scripts | ||
script(src='/js/user/new-register.js') | ||
|
Oops, something went wrong.