| 13542 |
anikendra |
1 |
<ion-view view-title="Dashboard">
|
| 13551 |
anikendra |
2 |
<ion-content class="padding" style="top:50px;">
|
|
|
3 |
<div class="list card" ng-repeat="row in products">
|
|
|
4 |
<div class="item item-divider">{{getCategoryName(row[0].Product.category_id,categories.categories)}}</div>
|
| 13542 |
anikendra |
5 |
<ion-scroll zooming="true" direction="x" style="width: 400px; height: 265px">
|
|
|
6 |
<div style="height:265px;width:1400px">
|
| 13551 |
anikendra |
7 |
<div class="product_card" ng-repeat="product in row">
|
| 13542 |
anikendra |
8 |
<div class="list card">
|
|
|
9 |
<div class="product_image">
|
| 13555 |
anikendra |
10 |
<img src="{{apihost}}app/webroot/timthumb.php?src={{product[0].StoreProduct.thumbnail}}&h=120" class="" ng-click="viewproduct({{product[0].StoreProduct.id}})">
|
| 13542 |
anikendra |
11 |
<ul class="product_actions">
|
| 13551 |
anikendra |
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[0].StoreProduct.id}})" class="ion-thumbsdown" data-pack="default" data-tags="like, fun, yes"></li>
|
| 13542 |
anikendra |
14 |
</ul>
|
|
|
15 |
</div>
|
| 13551 |
anikendra |
16 |
<p class="product_name" ng-click="viewproduct({{product[0].StoreProduct.id}})">{{product[0].StoreProduct.title}}</p>
|
|
|
17 |
<p class="product_short_description">{{product[0].StoreProduct.short_description}}</p>
|
| 13542 |
anikendra |
18 |
<p class="product_prices">
|
| 13551 |
anikendra |
19 |
<span class="product_price"><img src="/img/rupee.png"/> {{product[0].StoreProduct.available_price}}</span>
|
|
|
20 |
<span class="product_cashback" ng-show="product[0].StoreProduct.cashback">(<img src="/img/rupee.png"/> 50 Cashback)</span>
|
| 13542 |
anikendra |
21 |
</p>
|
|
|
22 |
</div>
|
|
|
23 |
</div>
|
|
|
24 |
</div>
|
|
|
25 |
</ion-scroll>
|
| 13551 |
anikendra |
26 |
<ion-infinite-scroll ng-if="moreDataCanBeLoaded()" on-infinite="loadmore()" distance="1%"></ion-infinite-scroll>
|
| 13542 |
anikendra |
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>
|