change styling towards design rj
This commit is contained in:
@@ -25,7 +25,7 @@ html lang="en"
|
||||
activateRotation: function(){}
|
||||
});
|
||||
|
||||
body
|
||||
body class=action_name
|
||||
.navbar.navbar-fixed-top
|
||||
.navbar-inner
|
||||
.container
|
||||
|
||||
@@ -20,5 +20,6 @@
|
||||
= link_to t("helpers.links.destroy"), [:suppliers, product_category], method: :delete, data: {confirm: are_you_sure? }, class: 'btn btn-mini btn-danger'
|
||||
- else
|
||||
= no_content_given model_class
|
||||
= link_to t("helpers.links.new"), new_suppliers_product_category_path, class: 'btn btn-primary'
|
||||
.form-actions
|
||||
= link_to t("helpers.links.new"), new_suppliers_product_category_path, class: 'btn btn-primary'
|
||||
|
||||
|
||||
@@ -38,6 +38,6 @@
|
||||
active_section_container.css('width', active_section_container.width()); // break fluid layout
|
||||
active_section_container.css('height', #{@section.height/@section.width}*active_section_container.width());
|
||||
active_section_container.find('.section-table').each(function(){
|
||||
Qsupplier.position_table_in_active_section(active_section_container, $(this));
|
||||
Qsupplier.position_table_in_active_section(active_section_container, $(this), true);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
ul.nav.nav-tabs.nav-stacked
|
||||
li
|
||||
button.btn.btn-primary onClick="QMobile.scanQr()" = t('user.home.scan_qr')
|
||||
- if list_open?
|
||||
li= link_to t('user.home.show_active_list_products'), user_list_products_path
|
||||
li= link_to t('user.home.show_active_list'), user_active_list_path
|
||||
.home-panel
|
||||
.home-header = image_tag 'logo.png', width: '150', height: '140'
|
||||
.home-center
|
||||
a href="#" onClick="QMobile.scanQr()" = image_tag 'scan-logo.png'
|
||||
.home-footer
|
||||
.home-footer-content
|
||||
- if list_open?
|
||||
= link_to 'P', user_list_products_path
|
||||
= link_to 'L', user_active_list_path
|
||||
|
||||
Reference in New Issue
Block a user