Make loading on BOM look more like BPE

This commit is contained in:
Rob H
2014-08-08 12:36:30 +10:00
parent e6f7f26a95
commit 3b9cd3f46a
4 changed files with 23 additions and 21 deletions

View File

@@ -140,6 +140,24 @@ table#listing_enterprise_groups {
}
}
#no_results {
font-weight:bold;
color: #DA5354;
}
#loading {
text-align: center;
img.spinner {
width: 100px;
height: 100px;
}
h1 {
margin-top: 20px;
color: gray;
}
}
.ofn_drop_down {
padding: 7px 15px;
border-radius: 3px;

View File

@@ -28,23 +28,6 @@ th.left-actions, td.left-actions {
font-weight: bold;
}
#no_products {
font-weight:bold;
color: #DA5354;
}
#loading {
text-align: center;
img.spinner {
width: 100px;
height: 100px;
}
h1 {
margin-top: 20px;
color: gray;
}
}
table#listing_products.bulk {
clear: both;

View File

@@ -92,10 +92,11 @@
%div.menu_item{ :class => "three columns alpha", 'ng-repeat' => "column in columns", 'ofn-toggle-column' => true }
%span{ :class => 'one column alpha', :style => 'text-align: center'} {{ column.visible && "✓" || !column.visible && " " }}
%span{ :class => 'two columns omega' } {{column.name }}
%div.loading{ :class => "sixteen columns alpha", 'ng-show' => 'loading' }
%h4 Loading Line Items...
%div.sixteen.columns.alpha#loading{ 'ng-if' => 'loading' }
%img.spinner{ src: "/assets/loading.gif" }
%h1 LOADING ORDERS
%div{ :class => "sixteen columns alpha", 'ng-show' => '!loading && filteredLineItems.length == 0'}
%h4{ :style => 'color:red;' } No matching line items found.
%h1#no_results No orders found.
%div{ 'ng-hide' => 'loading || filteredLineItems.length == 0' }
%table.index#listing_orders.bulk{ :class => "sixteen columns alpha" }
%thead

View File

@@ -54,7 +54,7 @@
%img.spinner{ src: "/assets/loading.gif" }
%h1 LOADING PRODUCTS
%div.sixteen.columns.alpha{ 'ng-show' => '!loading && filteredProducts.length == 0' }
%h1#no_products No products found.
%h1#no_results No products found.
%div.sixteen.columns.alpha{ 'ng-hide' => 'loading || filteredProducts.length == 0' }
%table.index#listing_products.bulk{ "infinite-scroll" => "incrementLimit()", "infinite-scroll-distance" => "1" }
%colgroup