Pickdate and some better general foundation styling
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
td.list-status
|
||||
td.status-icons
|
||||
if view.content.needs_help
|
||||
span.icon.needs-help
|
||||
if view.content.needs_payment
|
||||
@@ -11,9 +11,9 @@ td.actions
|
||||
if view.content.needs_help
|
||||
button.mark_list_as_helped{ action markListAsHelped view.content.id}
|
||||
span.fa-stack
|
||||
i.fa.fa-bell.fa-stack-1x
|
||||
/i.fa.fa-bell.fa-stack-1x
|
||||
i.fa.fa-ban.fa-stack-2x.revoke
|
||||
span.button-text=t 'list.is_helped_button'
|
||||
/span.button-text=t 'list.is_helped_button'
|
||||
button.close_list{ action closeList view.content.id}
|
||||
span.fa.fa-times.fa-2x
|
||||
span.button-text=t 'list.close_list'
|
||||
|
||||
@@ -7,13 +7,13 @@ td.section_title {{view.content.section.title}}
|
||||
td.currency {{currency view.content.total }}
|
||||
td.actions
|
||||
if view.content.placed
|
||||
button{ action markOrderActive view.content.id}
|
||||
button.mark_order_active{ action markOrderActive view.content.id}
|
||||
span.fa.fa-check.fa-2x
|
||||
span.button-text=t 'order.being_processed'
|
||||
button.hide.mark-order-active{ action markOrderActive view.content.id}
|
||||
span.button-icon
|
||||
span.button-text=t 'order.being_processed'
|
||||
button{ action markOrderDelivered view.content.id}
|
||||
button.mark_order_delivered{ action markOrderDelivered view.content.id}
|
||||
span.fa-shifted-stack
|
||||
i.fa.fa-check.fa-2x
|
||||
i.fa.fa-check.fa-2x
|
||||
|
||||
@@ -125,3 +125,8 @@ $ ->
|
||||
else
|
||||
menu.show().animate left: 0
|
||||
toggle.animate left: 222 - 30, -> $(@).addClass('open')
|
||||
|
||||
# Hide alert boxes on click
|
||||
$(document).on 'click', '.general-alerts .alert-box', -> $(@).slideUp()
|
||||
|
||||
$(document).on 'click', '.supplier-is-closed', -> $(@).slideUp()
|
||||
|
||||
@@ -47,6 +47,10 @@ root.Qsupplier=
|
||||
else if e.event == 'order_being_delivered'
|
||||
$('.order-row-'+e.data.id).remove()
|
||||
$('.section-table-list-'+e.data.list_id).removeClass('active_order')
|
||||
else if e.event == 'orders_in_process_count'
|
||||
$('.supplier-orders-in-process-count').text e.data.count
|
||||
else if e.event == 'orders_placed_count'
|
||||
$('.supplier-orders-placed-count').text e.data.count
|
||||
else if e.event == 'list_changed_table'
|
||||
Qsupplier.App && Qsupplier.App.List.updateOrAdd(e.data.list)
|
||||
|
||||
@@ -69,7 +73,6 @@ root.Qsupplier=
|
||||
#to_table.addClass('needs_payment') if list.needs_payment()
|
||||
#to_table.addClass('active_order') if list.has_active_orders()
|
||||
#from_table.removeClass('occupied needs_help needs_payment active_order section-table-list-'+list.id())
|
||||
console.log(e)
|
||||
false
|
||||
move_table_to_active_section: (table_id)->
|
||||
table_container = $('#section-table-'+table_id)
|
||||
|
||||
Reference in New Issue
Block a user