Tweaking styling on enterprise change form, and dashboard header row

This commit is contained in:
Rob Harrington
2016-09-07 11:13:48 +10:00
parent da55eb6d27
commit 261a574da9
3 changed files with 13 additions and 11 deletions

View File

@@ -50,7 +50,9 @@
-# At the end of your trial, there is a one-off $200 fee to fully activate your account. Then you will be billed for 2% of your actual transactions, capped at $50 a month (so if you dont sell anything you dont pay anything, but you never pay more than $50 a month).
- else
.shop_profile.option.one-third.column.alpha
.two.columns.alpha
 
.shop_profile.option.six.columns
%a.full-width.button.selector{ ng: { click: "sells='none'", class: "{selected: sells=='none'}" } }
.top
%h3 Profile Only
@@ -59,17 +61,17 @@
%p.description
People can find and contact you on the Open Food Network. Your enterprise will be visible on the map, and will be searchable in listings.
.full_hub.option.one-third.column
.full_hub.option.six.columns
%a.full-width.button.selector{ ng: { click: "sells='any'", class: "{selected: sells=='any'}" } }
.top
%h3 Hub Shop
%p Sell produce from others
.bottom
%monthly-pricing-description{ joiner: "newline" }
%p.description
Your enterprise is the backbone of your local food system. You aggregate produce from other enterprises and can sell it through your shop on the Open Food Network.
.two.columns.omega
 
.row
.sixteen.columns.alpha

View File

@@ -1 +1 @@
= button_link_to "User Guide", "http://www.openfoodnetwork.org/platform/user-guide/", :icon => 'icon-external-link', :id => 'user_guide_link', target: '_blank'
= button_link_to "User Guide", "http://www.openfoodnetwork.org/platform/user-guide/", :icon => 'icon-external-link', target: '_blank'

View File

@@ -1,11 +1,11 @@
- content_for :page_title do
%h1
= @enterprise.name
%span.small<
= "(#{enterprise_type_name(@enterprise)})"
= @enterprise.name
%span.small<
= "(#{enterprise_type_name(@enterprise)})"
- content_for :page_actions do
= render 'admin/shared/user_guide_link'
%li#user_guide_link
= render 'admin/shared/user_guide_link'
:javascript
function toggleType(){
@@ -17,7 +17,7 @@
}
$("#package_selection").slideToggle()
}
#package_button
%li#package_button
%button#toggle_type{ onClick: 'toggleType()' }
= t "change_package"
%i.icon-chevron-down