69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
div layout="screen" layout-id="signin" id="signInScreen" class="screen secondary signin-common"
|
|
.content
|
|
.content-head
|
|
.content-icon= image_tag("content/icon_shopping_cart.png", {:height => 19, :width => 19})
|
|
h1 check out
|
|
= render "screen_navigation"
|
|
.content-body
|
|
.checkout-signin
|
|
.checkout-navigation-bar
|
|
|
|
.signin-form
|
|
= link_to image_tag("content/button_facebook_signin.png", {:width => 249, :height => 46}), '/auth/facebook', class: "signin-facebook"
|
|
|
|
br
|
|
br
|
|
br
|
|
strong.white Or sign in with JamKazam Account
|
|
br
|
|
br
|
|
|
|
= form_for(:session, url: signin_path('redirect-to' => '/client#/payment_config') + (request.query_string.blank? ? '' : '?' + request.query_string), html: {class:"signin-form #{'login-error' if @login_error}"}) do |f|
|
|
.email
|
|
= f.label :email, "Email Address:", class: 'inline'
|
|
= f.text_field :email, autofocus: true
|
|
|
|
.password
|
|
= f.label :password, "Password:", class: 'inline'
|
|
= f.password_field :password, autofocus: true, class: 'signin-password'
|
|
.login-error-msg Invalid login
|
|
|
|
br clear='all'
|
|
|
|
.actions align='center'
|
|
= link_to "SIGN IN", '#', class: 'button-orange signin-submit'
|
|
| or
|
|
'
|
|
a.show-signup-dialog href='#' Sign Up
|
|
br
|
|
br
|
|
small
|
|
a.forgot-password href='/request_reset_password' Forgot Password?
|
|
|
|
|
|
script type='text/template' id='template-checkout-navigation'
|
|
.checkout-navigation
|
|
.nav-signin
|
|
= "{% if (data.current == 1) { %}"
|
|
.nav-text.selected Sign In
|
|
= "{% } else { %}"
|
|
.nav-text Sign In
|
|
= "{% } %}"
|
|
.nav-arrow ->
|
|
.clearall
|
|
.nav-payment-info
|
|
= "{% if (data.current == 2) { %}"
|
|
.nav-text.selected Address & Payment
|
|
= "{% } else { %}"
|
|
.nav-text Address & Payment
|
|
= "{% } %}"
|
|
.nav-arrow ->
|
|
.clearall
|
|
.nav-signin
|
|
= "{% if (data.current == 3) { %}"
|
|
.nav-text.selected Place Order
|
|
= "{% } else { %}"
|
|
.nav-text Place Order
|
|
= "{% } %}"
|
|
.clearall
|