design fixes for table view without list
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
- model_class = Section
|
||||
.page-header= title t('section.manage_tables.title', section: Section.model_name.human.downcase, title: @section.title)
|
||||
- content_for :row do
|
||||
ul.nav.nav-pills
|
||||
ul.nav.nav-tabs
|
||||
- for section in @section.supplier.sections
|
||||
li class=(section == @section ? 'active' : nil) = link_to section.title, [:suppliers, section]
|
||||
li class=(section == @section ? 'active' : nil) = link_to section.title, [:manage_tables, :suppliers, section]
|
||||
.span9
|
||||
.well.section-tables-container.section-tables-active
|
||||
- for table in @section.tables
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
.well
|
||||
table#products-table.table
|
||||
tbody
|
||||
table#active-order-table.table.table-striped.hide
|
||||
table#active-order-table.table.hide
|
||||
thead
|
||||
tr
|
||||
th Product
|
||||
th= Product.model_name.human
|
||||
th #
|
||||
th.currency Total
|
||||
th
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
.page-header
|
||||
.table-number= @table.number
|
||||
h4= t('user.show_products.title', products: Product.model_name.human_plural)
|
||||
table#products-table.table.table-striped.table-hover
|
||||
.well
|
||||
table#products-table.table.table-hover
|
||||
tbody
|
||||
table#active-order-table.table.table-striped.hide
|
||||
table#active-order-table.table.hide
|
||||
thead
|
||||
tr
|
||||
th Product
|
||||
th= Product.model_name.human
|
||||
th #
|
||||
th.currency Total
|
||||
th
|
||||
|
||||
Reference in New Issue
Block a user