Supplier side menu enhancements
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
//= require_self
|
||||
|
||||
var Qstorage = localStorage;
|
||||
|
||||
$.extend($translations.en, <%= I18n.t('supplier', locale: :en).to_json %>);
|
||||
$.extend($translations.nl, <%= I18n.t('supplier', locale: :nl).to_json %>);
|
||||
|
||||
|
||||
@@ -7,10 +7,16 @@ aside.side-menu
|
||||
width: 222px
|
||||
height: 100%
|
||||
z-index: 50
|
||||
h3
|
||||
color: white
|
||||
margin-bottom: 3px
|
||||
> ul
|
||||
list-style: none
|
||||
a
|
||||
color: white
|
||||
.title
|
||||
border-bottom: 1px solid #aaa
|
||||
margin-bottom: 4px
|
||||
.supplier-close-shop
|
||||
+alert($bg: $alert-color, $radius: true)
|
||||
padding: 3px
|
||||
|
||||
@@ -24,15 +24,14 @@ header.top-menu
|
||||
span.supplier-orders-in-process-count-icon
|
||||
aside.side-menu
|
||||
ul
|
||||
li
|
||||
label Menu
|
||||
li.title: h3 Menu
|
||||
- if current_supplier.open?
|
||||
li
|
||||
= form_tag supplier_mark_as_closed_path do
|
||||
a.supplier-close-shop href="javascript:void(0)" onclick="$(this).parents('form').submit()"
|
||||
span data-t="supplier.close_for_orders"
|
||||
li= link_to 'Settings', supplier_settings_path, class: 'supplier-settings-link'
|
||||
li= link_to 'Logout', destroy_supplier_session_path, method: :delete, class: 'supplier-sign-out-link'
|
||||
li= link_to content_tag(:span, '', data: {t: 'supplier.settings'}), supplier_settings_path, class: 'supplier-settings-link'
|
||||
li= link_to content_tag(:span, '', data: {t: 'supplier.sign_out'}), destroy_supplier_session_path, method: :delete, class: 'supplier-sign-out-link'
|
||||
/.navbar.navbar-fixed-top.navbar-inverse
|
||||
.navbar-inner
|
||||
.container
|
||||
|
||||
Reference in New Issue
Block a user