move towards mobile deployable app

This commit is contained in:
2012-09-18 14:17:54 +02:00
parent 7730e6de3c
commit 914406f13e
10 changed files with 85 additions and 36 deletions
+2 -2
View File
@@ -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
+8 -3
View File
@@ -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