forked from sahat/hackathon-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgurus.jade
More file actions
53 lines (49 loc) · 1.7 KB
/
gurus.jade
File metadata and controls
53 lines (49 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
extends layout
block content
script(src='/js/main.js?v=#{cacheBuster}')
if user
.purchaseBox
i.fa.fa-check
strong Success!
| You can log wishes now
else
.notLoginBox(style="display:none")
.col-sm-8.col-sm-offset-2
form(method='POST')
legend Sign In
.form-group
.btn-group.btn-group-justified
a.btn.btn-facebook(href='/auth/facebook')
i.fa.fa-facebook
| Facebook
a.btn.btn-twitter(href='/auth/twitter')
i.fa.fa-twitter
| Twitter
a.btn.btn-google-plus(href='/auth/google')
i.fa.fa-google-plus
| Google
.form-group
label.control-label(for='email') Email
input.form-control(type='text', name='email', id='email', placeholder='Email', autofocus=true)
.form-group
label.control-label(for='username') Password
input.form-control(type='password', name='password', id='password', placeholder='Password')
.form-group
button.btn.btn-primary(type='submit')
i.fa.fa-unlock-alt
| Login
br
br
.wishPad(style="display:none;")
.form-group
label.control-label(for='wishMsg') Enter your wish
input.form-control(type='text', name='wishMsg', id='wishMsg', placeholder='Enter your wish here', autofocus=true)
.form-group
if user
button.btn.btn-primary.wishSubmitReal(type='submit')
| Submit
else
button.btn.btn-primary.wishSubmitFake(type='submit')
| Submit
.wishTip
#dataTable