move to evented mustache system
This commit is contained in:
@@ -16,11 +16,12 @@
|
||||
tr
|
||||
td colspan=2 = slider_image
|
||||
tfoot
|
||||
script#active-list-orders-template[type="text/html"]= render 'active_list_orders.mustache'
|
||||
script#active-list-order-template[type="text/html"]= render 'active_list_order.mustache'
|
||||
script#active-list-orders-footer-template[type="text/html"]= render 'active_list_orders_footer.mustache'
|
||||
- content_for :footer do
|
||||
javascript:
|
||||
jQuery(function(){
|
||||
Quser.load_active_list();
|
||||
setInterval( "Quser.load_active_list()", 7500);
|
||||
Quser.watch_events();
|
||||
//setInterval( "Quser.load_active_list()", 7500);
|
||||
})
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
dl.dl-horizontal
|
||||
dt= List.human_attribute_name(:created_at)
|
||||
dd.list-created-at
|
||||
dt= List.human_attribute_name(:closed_at)
|
||||
dd.list-closed-at
|
||||
dt= Supplier.model_name.human
|
||||
dd.supplier-name
|
||||
.well
|
||||
table#history-list-table.table
|
||||
table#history-list-table.table.list-table
|
||||
thead
|
||||
tr
|
||||
th= Order.model_name.human
|
||||
@@ -14,7 +16,7 @@ dl.dl-horizontal
|
||||
tr
|
||||
td colspan=2 = slider_image
|
||||
tfoot
|
||||
script#active-list-orders-template[type="text/html"]= render 'active_list_orders.mustache'
|
||||
script#active-list-order-template[type="text/html"]= render 'active_list_order.mustache'
|
||||
script#active-list-orders-footer-template[type="text/html"]= render 'active_list_orders_footer.mustache'
|
||||
- content_for :footer do
|
||||
javascript:
|
||||
|
||||
@@ -20,7 +20,7 @@ script#active-order-template[type="text/html"]= render 'active_order.mustache'
|
||||
jQuery(function(){
|
||||
Quser.handle_active_list(function(){
|
||||
Quser.load_active_list_products();
|
||||
setInterval('Quser.handle_active_list()', 7500);
|
||||
Quser.watch_events();
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user