This commit is contained in:
2013-01-08 10:15:28 +01:00
parent 63cb3593ed
commit e36263b153
13 changed files with 35 additions and 16 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ html lang="en"
var $asset_path = '/assets/';
var Qstorage = localStorage;
#{Rails.env.production? ? '' : "data_host = 'http://qwaiter.dev';"}
//var data_host = 'http://localhost:3000';
var data_host = 'http://localhost:3000';
QMobile || (QMobile = {
scanQr: function(){window.location = '/select_qrcode'},
activateRotation: function(){},
+2 -3
View File
@@ -4,12 +4,11 @@
a href="#" onClick="QMobile.scanQr()" = image_tag 'scan-logo.png'
.home-footer
.home-footer-content
= link_to content_tag(:span, 'P'), user_list_products_path, class: [:hide, 'home-link', 'home-menu-link']
= link_to content_tag(:span, 'L'), user_active_list_path, class: [:hide, 'home-link', 'home-list-link']
= link_to content_tag(:span, 'P'), user_list_products_path, class: ['home-link', 'home-menu-link']
= link_to content_tag(:span, 'L'), user_active_list_path, class: ['home-link', 'home-list-link']
- content_for :footer do
javascript:
$(function(){
Quser.watch_events();
Quser.home_loader();
//setInterval("Quser.home_loader()", 7500);
});
+1
View File
@@ -2,4 +2,5 @@
span
nav.pagination
ul#list-history-container
script#list-history-template[type="text/html"]= mustache_template 'list-history'
- onload_javascript "Qstorage.page = 1; Quser.load_list_history()"
+5 -1
View File
@@ -3,11 +3,15 @@
.table-number
.supplier-name
.action-buttons
= link_to content_tag(:span, t('helpers.links.show_active_list'), list: List.model_name.human), user_active_list_path, class: ['user-top-button'], id: 'show-active-list'
= link_to user_active_list_path, class: ['user-top-button'], id: 'show-active-list' do
span= t('helpers.links.show_active_list', list: List.model_name.human)
span#list-needs-payment-button.user-top-button
span
span#list-needs-help-button.user-top-button
span
span
.well
table#products-table.table
tbody