| Line 1... |
Line 1... |
| 1 |
<ion-view view-title="Dashboard">
|
1 |
<ion-view view-title="Dashboard">
|
| 2 |
<ion-content class="padding" style="top:50px;">
|
2 |
<ion-content class="padding" style="top:50px;">
|
| 3 |
<div ng-if="products.categories.length>=1" class="list card" ng-repeat="category in categories.categories">
|
3 |
<div class="list card" ng-repeat="row in products">
|
| 4 |
<div class="item item-divider">{{category.Category.name}}</div>
|
4 |
<div class="item item-divider">{{getCategoryName(row[0].Product.category_id,categories.categories)}}</div>
|
| 5 |
<ion-scroll zooming="true" direction="x" style="width: 400px; height: 265px">
|
5 |
<ion-scroll zooming="true" direction="x" style="width: 400px; height: 265px">
|
| 6 |
<div style="height:265px;width:1400px">
|
6 |
<div style="height:265px;width:1400px">
|
| 7 |
<div class="product_card" ng-repeat="product in products.products | categoryFilter:category.Category.id">
|
7 |
<div class="product_card" ng-repeat="product in row">
|
| 8 |
<div class="list card">
|
8 |
<div class="list card">
|
| 9 |
<div class="product_image">
|
9 |
<div class="product_image">
|
| 10 |
<img src="{{product.StoreProduct.thumbnail}}" class="">
|
10 |
<img src="{{product[0].StoreProduct.thumbnail}}" class="" ng-click="viewproduct({{product[0].StoreProduct.id}})">
|
| 11 |
<ul class="product_actions">
|
11 |
<ul class="product_actions">
|
| 12 |
<li ng-click="likeProduct({{product.StoreProduct.id}})" class="ion-thumbsup" data-pack="default" data-tags="like, fun, yes"></li>
|
12 |
<li ng-click="likeProduct({{product[0].StoreProduct.id}})" class="ion-thumbsup" data-pack="default" data-tags="like, fun, yes"></li>
|
| 13 |
<li ng-click="unlikeProduct({{product.StoreProduct.id}})" class="ion-thumbsdown" data-pack="default" data-tags="like, fun, yes"></li>
|
13 |
<li ng-click="unlikeProduct({{product[0].StoreProduct.id}})" class="ion-thumbsdown" data-pack="default" data-tags="like, fun, yes"></li>
|
| 14 |
</ul>
|
14 |
</ul>
|
| 15 |
</div>
|
15 |
</div>
|
| 16 |
<p class="product_name">{{product.StoreProduct.title}}</p>
|
16 |
<p class="product_name" ng-click="viewproduct({{product[0].StoreProduct.id}})">{{product[0].StoreProduct.title}}</p>
|
| 17 |
<p class="product_short_description">{{product.StoreProduct.short_description}}</p>
|
17 |
<p class="product_short_description">{{product[0].StoreProduct.short_description}}</p>
|
| 18 |
<p class="product_prices">
|
18 |
<p class="product_prices">
|
| 19 |
<span class="product_price"><img src="/img/rupee.png"/> {{product.StoreProduct.available_price}}</span>
|
19 |
<span class="product_price"><img src="/img/rupee.png"/> {{product[0].StoreProduct.available_price}}</span>
|
| 20 |
<span class="product_cashback" ng-show="product.StoreProduct.cashback">(<img src="/img/rupee.png"/> 50 Cashback)</span>
|
20 |
<span class="product_cashback" ng-show="product[0].StoreProduct.cashback">(<img src="/img/rupee.png"/> 50 Cashback)</span>
|
| 21 |
</p>
|
21 |
</p>
|
| 22 |
</div>
|
22 |
</div>
|
| 23 |
</div>
|
23 |
</div>
|
| 24 |
</div>
|
24 |
</div>
|
| 25 |
</ion-scroll>
|
25 |
</ion-scroll>
|
| 26 |
<!-- <ion-infinite-scroll ng-if="moreDataCanBeLoaded()" on-infinite="loadmore()" distance="1%"></ion-infinite-scroll> -->
|
26 |
<ion-infinite-scroll ng-if="moreDataCanBeLoaded()" on-infinite="loadmore()" distance="1%"></ion-infinite-scroll>
|
| 27 |
</div>
|
27 |
</div>
|
| 28 |
<div style="width:340px" ng-if="products.categories.length<1">
|
28 |
<div style="width:340px" ng-if="products.categories.length<1">
|
| 29 |
<div class="product_card" ng-repeat="product in products.products | categoryFilter:category.Category.id">
|
29 |
<div class="product_card" ng-repeat="product in products.products | categoryFilter:category.Category.id">
|
| 30 |
<div class="list card">
|
30 |
<div class="list card">
|
| 31 |
<div class="product_image">
|
31 |
<div class="product_image">
|