| 13542 |
anikendra |
1 |
<ion-view view-title="Dashboard">
|
|
|
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">
|
|
|
4 |
<div class="item item-divider">{{category.Category.name}}</div>
|
|
|
5 |
<ion-scroll zooming="true" direction="x" style="width: 400px; height: 265px">
|
|
|
6 |
<div style="height:265px;width:1400px">
|
|
|
7 |
<div class="product_card" ng-repeat="product in products.products | categoryFilter:category.Category.id">
|
|
|
8 |
<div class="list card">
|
|
|
9 |
<div class="product_image">
|
|
|
10 |
<img src="{{product.StoreProduct.thumbnail}}" class="">
|
|
|
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>
|
|
|
13 |
<li ng-click="unlikeProduct({{product.StoreProduct.id}})" class="ion-thumbsdown" data-pack="default" data-tags="like, fun, yes"></li>
|
|
|
14 |
</ul>
|
|
|
15 |
</div>
|
|
|
16 |
<p class="product_name">{{product.StoreProduct.title}}</p>
|
|
|
17 |
<p class="product_short_description">{{product.StoreProduct.short_description}}</p>
|
|
|
18 |
<p class="product_prices">
|
|
|
19 |
<span class="product_price"><img src="/img/rupee.png"/> {{product.StoreProduct.available_price}}</span>
|
|
|
20 |
<span class="product_cashback" ng-show="product.StoreProduct.cashback">(<img src="/img/rupee.png"/> 50 Cashback)</span>
|
|
|
21 |
</p>
|
|
|
22 |
</div>
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
</ion-scroll>
|
|
|
26 |
<!-- <ion-infinite-scroll ng-if="moreDataCanBeLoaded()" on-infinite="loadmore()" distance="1%"></ion-infinite-scroll> -->
|
|
|
27 |
</div>
|
|
|
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">
|
|
|
30 |
<div class="list card">
|
|
|
31 |
<div class="product_image">
|
|
|
32 |
<img src="{{product.StoreProduct.thumbnail}}" class="">
|
|
|
33 |
<ul class="product_actions">
|
|
|
34 |
<li ng-click="likeProduct({{product.StoreProduct.id}})" class="ion-thumbsup" data-pack="default" data-tags="like, fun, yes"></li>
|
|
|
35 |
<li ng-click="unlikeProduct({{product.StoreProduct.id}})" class="ion-thumbsdown" data-pack="default" data-tags="like, fun, yes"></li>
|
|
|
36 |
</ul>
|
|
|
37 |
</div>
|
|
|
38 |
<p class="product_name">{{product.StoreProduct.title}}</p>
|
|
|
39 |
<p class="product_short_description">{{product.StoreProduct.short_description}}</p>
|
|
|
40 |
<p class="product_prices">
|
|
|
41 |
<span class="product_price"><img src="/img/rupee.png"/> {{product.StoreProduct.available_price}}</span>
|
|
|
42 |
<span class="product_cashback" ng-show="product.StoreProduct.cashback">(<img src="/img/rupee.png"/> 50 Cashback)</span>
|
|
|
43 |
</p>
|
|
|
44 |
</div>
|
|
|
45 |
</div>
|
|
|
46 |
</div>
|
|
|
47 |
<ion-infinite-scroll ng-if="moreDataCanBeLoaded()" on-infinite="loadmore()" distance="1%"></ion-infinite-scroll>
|
|
|
48 |
</ion-content>
|
|
|
49 |
</ion-view>
|