move towards mobile deployable app
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
.page-header= title t('user.history_list.title', list: List.model_name.human)
|
||||
dl.dl-horizontal
|
||||
dt= List.human_attribute_name(:created_at)
|
||||
dd= l @list.created_at, format: :short
|
||||
dd.list-created-at
|
||||
dt= Supplier.model_name.human
|
||||
dd= @list.supplier.name
|
||||
dd.supplier-name
|
||||
.well
|
||||
table#history-list-table.table
|
||||
thead
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
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, class: 'home-menu-link'
|
||||
= link_to 'L', user_active_list_path, class: 'home-list-link'
|
||||
= link_to 'P', user_list_products_path, class: [:hide, 'home-link', 'home-menu-link']
|
||||
= link_to 'L', user_active_list_path, class: [:hide, 'home-link', 'home-list-link']
|
||||
- content_for :footer do
|
||||
javascript:
|
||||
$(function(){
|
||||
Quser.home_loader();
|
||||
setInterval("Quser.home_loader()", 7500);
|
||||
});
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.page-header
|
||||
.table-number= @table.number
|
||||
.supplier-name= @table.supplier.name
|
||||
.table-number
|
||||
.supplier-name
|
||||
h4= t('user.show_products.title', products: Product.model_name.human_plural)
|
||||
.well
|
||||
table#products-table.table.table-hover
|
||||
|
||||
Reference in New Issue
Block a user