mainly payment, some forms

This commit is contained in:
Torsten Ruger 2016-11-07 17:02:55 +02:00
parent 4ea89b24ce
commit e3448455a6
8 changed files with 144 additions and 107 deletions

View File

@ -25,13 +25,31 @@ $marign: 60px
h1
margin-bottom: $marign
.spacer-big
clear: both
margin-top: 80px
.spacer-big
clear: both
margin-top: 80px
&::before
content: "\00a0"
.space-30
margin-bottom: 30px
.space-20
margin-bottom: 20px
.space-30 .space-20 .spacer-big
&::after
content: "\00a0"
img
@include img-fluid
h1 , h2 , h3
font-family: "Raleway", "ProximaNova", Arial, Helvetica, sans-serif
font-weight: 600
h4 , h5 , h6
font-family: "Raleway", "ProximaNova", Arial, Helvetica, sans-serif
font-weight: 300
.parallax
height: 500px
background-attachment: fixed

View File

@ -8,4 +8,4 @@
= f.password_field :password, autofocus: true, autocomplete: 'off', class: 'form-control'
= f.label :password_confirmation, 'Confirm new password'
= f.password_field :password_confirmation, autocomplete: 'off', class: 'form-control'
= f.submit 'Change my Password', :class => 'button right'
= f.submit 'Change my Password', :class => 'btn btn-success'

View File

@ -6,4 +6,4 @@
.form-group
= f.label :email
= f.email_field :email, :autofocus => true, class: 'form-control'
= f.submit 'Reset Password', :class => 'button right'
= f.submit 'Reset Password', :class => 'btn btn-success'

View File

@ -14,5 +14,4 @@
By pressing 'Start' i agree to the
=link_to "privacy policy" , page_path(:privacy) , target: :blank
and accept the processing of my personal data accordingly
%br
= f.submit 'Start', :class => 'button right'
= f.submit 'Start', :class => 'btn btn-success'

View File

@ -27,8 +27,8 @@
.form-group
= f.label :current_password
= f.password_field :current_password, class: 'form-control'
= f.submit 'Update', :class => 'button right'
= f.submit 'Update', :class => 'btn btn-success'
.authform
%h3 Cancel Account
%p Unhappy? We'll be sad to see you go.
= button_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete, :class => 'button right'
= button_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete, :class => 'btn btn-success'

View File

@ -2,6 +2,8 @@
- description! "Apply to Web Dev Camp, and 8 week course to learn web programming"
.section
.container
.spacer-big
 
.row
.col-lg-6.col-md-6.col-sm-6
.heading-title

View File

@ -1,16 +1,24 @@
.authform
= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form'}) do |f|
%h3 Sign in
= devise_error_messages!
.form-group
- if devise_mapping.registerable?
= link_to 'Sign up', new_registration_path(resource_name), class: 'right'
= f.label :email
= f.email_field :email, :autofocus => true, class: 'form-control'
.form-group
- if devise_mapping.recoverable?
= link_to "Forgot password?", new_password_path(resource_name), class: 'right'
= f.label :password
= f.password_field :password, class: 'form-control'
= f.submit 'Sign in', :class => 'button right'
= link_to 'Resend confirmation', new_user_confirmation_path
.section
.container
.spacer-big
 
.authform
= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form'}) do |f|
%h3 Sign in
= devise_error_messages!
.form-group
= f.label :email
- if devise_mapping.registerable?
(
= link_to 'Sign up', new_registration_path(resource_name), class: 'right'
if you haven't yet )
= f.email_field :email, :autofocus => true, class: 'form-control'
.form-group
= f.label :password
- if devise_mapping.recoverable?
(
= link_to "Forgot password?", new_password_path(resource_name), class: 'right'
)
= f.password_field :password, class: 'form-control'
= f.submit 'Sign in', :class => 'btn btn-success'
= link_to 'Resend confirmation', new_user_confirmation_path

View File

@ -2,86 +2,96 @@
- description! "Payment plans, pricing"
.section
.container
%header.centered.margin-bottom-20
%h1 Payment Plans
%p.centered
Web Dev camp offers different payment plans for the course, with different degrees of
flexibility.
%br
All plans include
%b accommodation
and
%b full board.
.col-md-4.col-sm-4
.price-clean
%h4
%sup €
2100
%em /module
%h5 Standard
%hr/
%p
%b 100% Prepayment
%br
%b No Cancellation
%hr/
Student must pay first module to accept placement on the course. Final payment is due
before the course starts.
.row
.spacer-big
.row
%header.centered
%h1 Payment Plans
%p.centered
Web Dev camp offers different payment plans for the course, with different degrees of
flexibility.
%br
Cancellation is only possible if there is a serious reason
%sup *
%br
%sup *
%small
%small
%em injury, disease, death of relative
%hr/
%h5
%sup €
8400
%em / course
.col-md-4.col-sm-4
.price-clean.price-clean
%h4
%sup €
2400
%em /module
%h5 Flex
%hr/
%p
%b 100% Prepayment
%br
%b Easy Cancellation
%hr/
Payment rules as for the standard plan apply.
%br
Cancellation is possible at any time and any outstanding whole modules will be refunded.
No reason need be given, the student is free to choose to stop anytime.
%hr/
%h5
%sup €
9600
%em / course
.col-md-4.col-sm-4
.price-clean
%h4
%sup €
2700
%em /module
%h5 Super Flex
%hr/
%p
%b 1 module prepayment.
%br
%b Easy Cancellation
%hr/
Payment for each module is due before the module starts.
%br
Cancellation is implicit when the next module is not paid.
As with the flex plan, the student may stop anytime.
%hr
%h5
%sup €
10800
%em / course
All plans include
%b accommodation
and
%b full board.
.row
.space-30
.card-deck-wrapper
.card-deck
.card
.card-header
%h4.card-title.centered Standard
.card-block
%h4.card-text
%sup €
2100
%em /module
%ul.list-group.list-group-flush
%li.list-group-item
%b 100% Prepayment
%br
%b No Cancellation
%li.list-group-item
Student must pay first module to accept placement on the course. Final payment is due
before the course starts.
%li.list-group-item
Cancellation is only possible if there is a serious reason
%sup *
%br
%sup *
%small
%small
%em injury, disease, death of relative
.card-footer.centered
%h4
%sup €
8400
%em / course
.card
.card-header
%h4.card-title.centered Flex
.card-block
%h4.card-text
%sup €
2400
%em /module
%ul.list-group.list-group-flush
%li.list-group-item
%b 100% Prepayment
%br
%b Easy Cancellation
%li.list-group-item
Payment rules as for the standard plan apply.
%li.list-group-item
Cancellation is possible at any time and any outstanding whole modules will be refunded.
No reason need be given, the student is free to choose to stop anytime.
.card-footer.centered
%h4
%sup €
9600
%em / course
.card
.card-header
%h4.card-title.centered Super Flex
.card-block
%h4.card-text
%sup €
2700
%em /module
%ul.list-group.list-group-flush
%li.list-group-item
%b 1 module prepayment.
%br
%b Easy Cancellation
%li.list-group-item
Payment for each module is due before the module starts.
%li.list-group-item
Cancellation is implicit when the next module is not paid.
%br
As with the flex plan, the student may stop anytime.
.card-footer.centered
%h4
%sup €
10800
%em / course