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,25 +1,26 @@
|
||||
.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
|
||||
tbody
|
||||
table#active-order-table.table.table-striped.hide
|
||||
thead
|
||||
tr
|
||||
th Product
|
||||
th #
|
||||
th.currency Total
|
||||
th
|
||||
tbody
|
||||
tfoot
|
||||
tr
|
||||
td colspan=2
|
||||
button class="btn btn-primary" onClick="Quser.order_selected_products({table_id: '#{@table.id}'})" Bestellen
|
||||
|
|
||||
button class="btn btn btn-warning" onClick="Quser.clear_selected_products()" Clear
|
||||
td.currency
|
||||
strong#active-order-total
|
||||
td
|
||||
.well
|
||||
table#products-table.table.table-hover
|
||||
tbody
|
||||
table#active-order-table.table.hide
|
||||
thead
|
||||
tr
|
||||
th= Product.model_name.human
|
||||
th #
|
||||
th.currency Total
|
||||
th
|
||||
tbody
|
||||
tfoot
|
||||
tr
|
||||
td colspan=2
|
||||
button class="btn btn-primary" onClick="Quser.order_selected_products({table_id: '#{@table.id}'})" Bestellen
|
||||
|
|
||||
button class="btn btn btn-warning" onClick="Quser.clear_selected_products()" Clear
|
||||
td.currency
|
||||
strong#active-order-total
|
||||
td
|
||||
- content_for :footer do
|
||||
javascript:
|
||||
jQuery(function(){
|
||||
|
||||
Reference in New Issue
Block a user