Many supplier features and style upgrades and fixes
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
= top_bar title: 'active_list.title' do
|
||||
.pull-right
|
||||
.supplier-info-row
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.counter.supplier-orders-placed-count
|
||||
.counter.supplier-orders-in-process-count
|
||||
.action-buttons
|
||||
= link_to content_tag(:span, t('helpers.links.place_order')), user_list_products_path, class: ['user-top-button'], id: 'place-order-on-list'
|
||||
span#list-needs-payment-button.user-top-button
|
||||
span
|
||||
span#list-needs-help-button.user-top-button
|
||||
span
|
||||
.well
|
||||
table#active-list-table.table
|
||||
thead
|
||||
tr
|
||||
th data-t="models.order" = Order.model_name.human
|
||||
th.currency data-t="attributes.product.price" = Product.human_attribute_name(:price)
|
||||
tbody
|
||||
tr
|
||||
td colspan=2 = slider_image
|
||||
tfoot
|
||||
tr
|
||||
td
|
||||
td.currency
|
||||
strong.list-total-amount
|
||||
script#active-list-order-template[type="text/html"]= mustache_template 'active_list_order'
|
||||
- content_for :footer do
|
||||
javascript:
|
||||
jQuery(function(){
|
||||
Quser.load_active_list();
|
||||
Quser.watch_events();
|
||||
//setInterval( "Quser.load_active_list()", 7500);
|
||||
})
|
||||
@@ -1,31 +0,0 @@
|
||||
= top_bar title: 'history_list.title' do
|
||||
.pull-right
|
||||
.table-number
|
||||
.supplier-name
|
||||
table.table.table-condensed
|
||||
tbody
|
||||
tr
|
||||
td.key data-t="attributes.list.created_at" = List.human_attribute_name(:created_at)
|
||||
td.value.list-created-at
|
||||
tr
|
||||
td.key data-t="attributes.list.closed_at" = List.human_attribute_name(:closed_at)
|
||||
td.value.list-closed-at
|
||||
tr
|
||||
td.key data-t="models.supplier" = Supplier.model_name.human
|
||||
td.value.supplier-name
|
||||
.well
|
||||
table#history-list-table.table.list-table
|
||||
thead
|
||||
tr
|
||||
th data-t="models.order" = Order.model_name.human
|
||||
th.currency data-t="attributes.product.price" = Product.human_attribute_name(:price)
|
||||
tbody
|
||||
tr
|
||||
td colspan=2 = slider_image
|
||||
tfoot
|
||||
tr
|
||||
td
|
||||
td.currency
|
||||
strong.list-total-amount
|
||||
script#active-list-order-template[type="text/html"]= render 'active_list_order.mustache'
|
||||
- onload_javascript "Quser.load_history_list()"
|
||||
@@ -1,10 +0,0 @@
|
||||
.page-header
|
||||
h4 data-t="join_request.requestor.title" = t('user.join_occupied_table.title')
|
||||
.form-actions
|
||||
= link_to t('user.join_occupied_table.back'), user_root_path, class: :btn, data: {t: 'join_request.requestor.go_back'}
|
||||
'
|
||||
button.btn.btn-primary.show-menu-button onclick="Quser.show_table_products()" data-t='join_request.requestor.show_the_products'= t('user.join_occupied_table.show_the_products')
|
||||
'
|
||||
button.btn.btn-warning.join-table-button onClick="Quser.join_occupied_table()" data-t='join_request.requestor.join_this_table'= t('user.join_occupied_table.join_this_table')
|
||||
#join-occupied-table-progress-container
|
||||
- onload_javascript 'Quser.watch_events()'
|
||||
@@ -1,6 +0,0 @@
|
||||
= top_bar title: 'list_history.title' do
|
||||
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()"
|
||||
@@ -1,18 +0,0 @@
|
||||
= top_bar title: 'show_products.title' do
|
||||
.pull-right
|
||||
.supplier-info-row
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.counter.supplier-orders-placed-count
|
||||
.counter.supplier-orders-in-process-count
|
||||
.well
|
||||
table#products-table.table.table-hover
|
||||
tbody
|
||||
tr
|
||||
td= slider_image
|
||||
#active-order-container
|
||||
script#products-category-template[type="text/html"]= mustache_template 'products_category'
|
||||
script#products-category-for-order-template[type="text/html"]= mustache_template 'products_category_for_order'
|
||||
script#active-order-template[type="text/html"]= mustache_template 'active_order'
|
||||
- onload_javascript 'Quser.load_table_products()'
|
||||
Reference in New Issue
Block a user