Ember temp commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
td.list-status
|
||||
if view.content.needs_help
|
||||
span.list-needs-help-indicator ?
|
||||
if view.content.needs_payment
|
||||
span.list-needs-payment-indicator €
|
||||
td.numeric.table_number {{view.content.table_number}}
|
||||
td.section_title {{view.content.section_title}}
|
||||
td.currency.total_list_amount {{currency total_amount}}
|
||||
td.actions
|
||||
if view.content.needs_help
|
||||
button.btn.btn-info{ action markListAsHelped view.content.id} {{t 'list.is_helped_button'}}
|
||||
button.btn.btn-warning{ action closeList view.content.id} {{t 'list.close_list' }}
|
||||
a.btn href="/supplier/lists/{{unbound view.content.id}}"
|
||||
span.icon-list
|
||||
@@ -0,0 +1,8 @@
|
||||
td {{view.content.display}}
|
||||
td.numeric.table_number {{view.content.table_number}}
|
||||
td.section_title {{view.content.section_title}}
|
||||
td.currency {{currency total_amount}}
|
||||
td.actions
|
||||
/*<button id="order-in-process-button-{{id}}" class="btn btn-success {{^can_process}}hide{{/can_process}}" onclick="Qsupplier.mark_order_in_process('{{id}}')" data-t="order.being_processed"></button>*/
|
||||
/*<button class="btn btn-inverse" onclick="Qsupplier.mark_order_delivered('{{id}}')" data-t="order.being_served"></button>*/
|
||||
' Actions
|
||||
@@ -0,0 +1 @@
|
||||
{{outlet}}
|
||||
@@ -0,0 +1,28 @@
|
||||
.page-header
|
||||
h3 {{t 'active_lists.title'}}
|
||||
.well
|
||||
table.active-lists-table.table
|
||||
thead
|
||||
tr
|
||||
th.status-icons
|
||||
th.numeric {{t 'table_number'}}
|
||||
th {{t 'models.section'}}
|
||||
th.currency {{t 'active_lists.price'}}
|
||||
th.actions
|
||||
tbody
|
||||
each list in controller.active_lists
|
||||
' {{view 'Qsupplier.App.ActiveListView' contentBinding=list}}
|
||||
.page-header
|
||||
h3 {{t 'active_orders.title' }}
|
||||
.well
|
||||
table.active-orders-table.table
|
||||
thead
|
||||
tr
|
||||
th {{t 'models.order'}}
|
||||
th.numeric {{t 'table_number'}}
|
||||
th {{t 'models.section'}}
|
||||
th.currency {{t 'active_orders.price'}}
|
||||
th.actions
|
||||
tbody
|
||||
each order in controller.active_orders
|
||||
' {{view 'Qsupplier.App.ActiveOrderView' contentBinding=order}}
|
||||
@@ -0,0 +1,26 @@
|
||||
.section-manage-tables.pull-right
|
||||
if editmode
|
||||
.btn-group
|
||||
a.btn.dropdown-toggle data-toggle="dropdown" href="#"
|
||||
span Action
|
||||
span.caret
|
||||
ul.dropdown-menu
|
||||
li
|
||||
a{action addTables} {{t 'section.add_tables.button_label'}}
|
||||
li
|
||||
a{action arrangeTables} {{t 'section.arrange_tables.modal.title'}}
|
||||
li
|
||||
a href="{{route 'qr_codes_suppliers_tables_path' section_id=id}}" {{t 'tables.qr_codes.link'}}
|
||||
li
|
||||
a href="{{route 'suppliers_section_path' id}}" data-method="delete" data-confirm="{{t 'helpers.links.are_you_sure' bare=true}}" {{t 'helpers.links.destroy'}}
|
||||
view Ember.TextField valueBinding="title"
|
||||
view Ember.TextField valueBinding="width" classNames="dimension"
|
||||
span x
|
||||
view Ember.TextField valueBinding="height" classNames="dimension"
|
||||
a.btn.btn-mini{ action finishEditable}
|
||||
span.icon-ok
|
||||
else
|
||||
a.btn.btn-mini{ action makeEditable }
|
||||
span.icon-pencil
|
||||
each table in tables
|
||||
view 'Qsupplier.App.SectionTableView' contentBinding="table"
|
||||
@@ -0,0 +1,6 @@
|
||||
<ul class="nav nav-tabs">
|
||||
{{#each section in controller}}
|
||||
{{#link-to "section" section tagName="li" href=false}}{{view 'Qsupplier.App.SectionTabHeaderView' contentBinding="section"}}{{/link-to}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{outlet}}
|
||||
@@ -0,0 +1,5 @@
|
||||
.table-number {{table.number}}
|
||||
.status-icons
|
||||
span.needs_payment.icon-flag
|
||||
span.needs_help.icon-bell
|
||||
span.active_order.icon-glass
|
||||
Reference in New Issue
Block a user