Merge branch 'adarsh' into 'master'
Adarsh
See merge request !69
Showing
src/app/firstpage/firstpage.module.ts
0 → 100644
src/app/firstpage/firstpage.page.html
0 → 100644
src/app/firstpage/firstpage.page.scss
0 → 100644
src/app/firstpage/firstpage.page.spec.ts
0 → 100644
src/app/firstpage/firstpage.page.ts
0 → 100644
| ... | @@ -59,16 +59,12 @@ | ... | @@ -59,16 +59,12 @@ |
| <ul> | <ul> | ||
| <li (click)="goToPage('productlist')"> | <li (click)="goToPage('productlist')"> | ||
| <div class="nearby_image"> | <div class="nearby_image"> | ||
| <img | <img [src]="data.product[0].image" onerror="this.src='../assets/[email protected]'" /> | ||
| [src]="data.product[0].image" | |||
| onerror="this.src='../assets/[email protected]'" | |||
| /> | |||
| </div> | </div> | ||
| <div class="nearby_detail"> | <div class="nearby_detail"> | ||
| <h5> | <h5> | ||
| <span class="floatLeft">{{data.shopperName}}</span> | <span class="floatLeft">{{data.shopperName}}</span> | ||
| <span class="floatRight" | <span class="floatRight">{{data.product[0].qty}} | ||
| >{{data.product[0].qty}} | |||
| <img src="../assets/Path61_2.png" /> | <img src="../assets/Path61_2.png" /> | ||
| </span> | </span> | ||
| <div class="clear"></div> | <div class="clear"></div> | ||
| ... | @@ -86,8 +82,7 @@ | ... | @@ -86,8 +82,7 @@ |
| </h6> | </h6> | ||
| <h5>Quantity : <span>{{product.qty}}</span></h5> | <h5>Quantity : <span>{{product.qty}}</span></h5> | ||
| <h5> | <h5> | ||
| Amount : <strong>A$ {{product.price}}</strong | Amount : <strong>A$ {{product.price}}</strong><span class="afterpay">COD</span> | ||
| ><span class="afterpay">COD</span> | |||
| </h5> | </h5> | ||
| <h5 *ngIf="data.orderStatus >= 3 && data.orderStatus < 7"> | <h5 *ngIf="data.orderStatus >= 3 && data.orderStatus < 7"> | ||
| Delivery time : <span>{{deliveryTime}}</span> | Delivery time : <span>{{deliveryTime}}</span> | ||
| ... | @@ -95,12 +90,8 @@ | ... | @@ -95,12 +90,8 @@ |
| <h5>Order Status : <span>{{getStatus(data.orderStatus)}}</span></h5> | <h5>Order Status : <span>{{getStatus(data.orderStatus)}}</span></h5> | ||
| <div class="delivery-wrap"> | <div class="delivery-wrap"> | ||
| <h4 class="floatLeft">DELIVERY</h4> | <h4 class="floatLeft">DELIVERY</h4> | ||
| <span class="floatRight" | <span class="floatRight" *ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8"><img | ||
| ><img | class="ng-tns-c3-0" src="../../assets/edit.png" (click)="changeAddress(data.orderId)" /></span> | ||
| class="ng-tns-c3-0" | |||
| src="../../assets/edit.png" | |||
| (click)="goToPage('changeaddress')" | |||
| /></span> | |||
| <div class="clear"></div> | <div class="clear"></div> | ||
| </div> | </div> | ||
| ... | @@ -110,11 +101,8 @@ | ... | @@ -110,11 +101,8 @@ |
| {{data.deliveryAddress.building}}, <br /> | {{data.deliveryAddress.building}}, <br /> | ||
| {{data.deliveryAddress.landmark}} | {{data.deliveryAddress.landmark}} | ||
| </h5> | </h5> | ||
| <button | <button class="cancel_btn" (click)="goToPage('contact')" | ||
| class="cancel_btn" | *ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8"> | ||
| (click)="goToPage('contact')" | |||
| *ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8" | |||
| > | |||
| CANCEL THIS ORDER | CANCEL THIS ORDER | ||
| </button> | </button> | ||
| <!-- <hr /> --> | <!-- <hr /> --> | ||
| ... | @@ -176,4 +164,4 @@ | ... | @@ -176,4 +164,4 @@ |
| </ul> | </ul> | ||
| </div> --> | </div> --> | ||
| </div> | </div> | ||
| </ion-content> | </ion-content> | ||
| \ No newline at end of file |
| ... | @@ -3,22 +3,10 @@ | ... | @@ -3,22 +3,10 @@ |
| <img src="../assets/Group17_2.png" /> | <img src="../assets/Group17_2.png" /> | ||
| </button> | </button> | ||
| <div class="nav_title floatLeft"> | <div class="nav_title floatLeft"> | ||
| <input | <input class="search_bar" placeholder="Search here.. eg:shirts, retailers etc..." (click)="clickSearch()" /> | ||
| class="search_bar" | |||
| placeholder="Search here.. eg:shirts, retailers etc..." | |||
| (click)="clickSearch()" | |||
| /> | |||
| </div> | </div> | ||
| <button | <button class="nav_btn nav_search floatRight" *ngIf="!searchShow" (click)="clickSearch()"></button> | ||
| class="nav_btn nav_search floatRight" | <button class="nav_btn nav_close floatRight" *ngIf="searchShow" (click)="searchClose()"></button> | ||
| *ngIf="!searchShow" | |||
| (click)="clickSearch()" | |||
| ></button> | |||
| <button | |||
| class="nav_btn nav_close floatRight" | |||
| *ngIf="searchShow" | |||
| (click)="searchClose()" | |||
| ></button> | |||
| <div class="clear"></div> | <div class="clear"></div> | ||
| </div> | </div> | ||
| <ion-content> | <ion-content> | ||
| ... | @@ -26,11 +14,7 @@ | ... | @@ -26,11 +14,7 @@ |
| <div class="product_taskbar"> | <div class="product_taskbar"> | ||
| <div class="filter floatLeft" (click)="istoggle()"></div> | <div class="filter floatLeft" (click)="istoggle()"></div> | ||
| <div class="viewset floatRight"> | <div class="viewset floatRight"> | ||
| <div | <div class="grid_view grid_act floatRight" (click)="gridToggle()" [class.line_view]="onGrid"></div> | ||
| class="grid_view grid_act floatRight" | |||
| (click)="gridToggle()" | |||
| [class.line_view]="onGrid" | |||
| ></div> | |||
| <div class="clear"></div> | <div class="clear"></div> | ||
| </div> | </div> | ||
| <div class="clear"></div> | <div class="clear"></div> | ||
| ... | @@ -38,30 +22,18 @@ | ... | @@ -38,30 +22,18 @@ |
| <div class="product_title" *ngIf="data"> | <div class="product_title" *ngIf="data"> | ||
| {{data.shopName}} | {{data.shopName}} | ||
| </div> | </div> | ||
| <ul | <ul [class.grid_view]="onGrid" *ngIf="prodService.product && prodService.product.length > 0"> | ||
| [class.grid_view]="onGrid" | |||
| *ngIf="prodService.product && prodService.product.length > 0" | |||
| > | |||
| <li *ngFor="let product of prodService.product; let i = index"> | <li *ngFor="let product of prodService.product; let i = index"> | ||
| <div class="product_image"> | <div class="product_image"> | ||
| <div class="load-back"> | <div class="load-back"> | ||
| <img | <img [src]="product.image" onerror="this.src='../assets/[email protected]'" (click)="prodDetails(i)" /> | ||
| [src]="product.image" | |||
| onerror="this.src='../assets/[email protected]'" | |||
| (click)="prodDetails(i)" | |||
| /> | |||
| </div> | </div> | ||
| <div | <div [ngClass]="checkFavStatus(product.prodId)" (click)="changeFav(product.prodId)"></div> | ||
| [ngClass]="checkFavStatus(product.prodId)" | |||
| (click)="changeFav(product.prodId)" | |||
| ></div> | |||
| <div class="featured_badge" *ngIf="product.featured">Featured</div> | <div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
| </div> | </div> | ||
| <h5 class="ellipse" (click)="prodDetails(i)">{{product.prodName}}</h5> | <h5 class="ellipse" (click)="prodDetails(i)" [innerHTML]="unEscape(product.prodName)"></h5> | ||
| <p (click)="prodDetails(i)"> | <p (click)="prodDetails(i)"> | ||
| A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0" | A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0">-{{product.discount}}%</span> | ||
| >-{{product.discount}}%</span | |||
| > | |||
| </p> | </p> | ||
| </li> | </li> | ||
| </ul> | </ul> | ||
| ... | @@ -110,47 +82,23 @@ | ... | @@ -110,47 +82,23 @@ |
| <label for="styled-checkbox-2">Relevence</label> | <label for="styled-checkbox-2">Relevence</label> | ||
| </li> --> | </li> --> | ||
| <li> | <li> | ||
| <input | <input class="styled-checkbox" id="styled-checkbox-1" type="radio" value="newest" name="sort" | ||
| class="styled-checkbox" | (click)="setValue($event.target.value)" /> | ||
| id="styled-checkbox-1" | |||
| type="radio" | |||
| value="newest" | |||
| name="sort" | |||
| (click)="setValue($event.target.value)" | |||
| /> | |||
| <label for="styled-checkbox-1">Newest First</label> | <label for="styled-checkbox-1">Newest First</label> | ||
| </li> | </li> | ||
| <li> | <li> | ||
| <input | <input class="styled-checkbox" id="styled-checkbox-5" type="radio" value="a-z" name="sort" | ||
| class="styled-checkbox" | (click)="setValue($event.target.value)" /> | ||
| id="styled-checkbox-5" | |||
| type="radio" | |||
| value="a-z" | |||
| name="sort" | |||
| (click)="setValue($event.target.value)" | |||
| /> | |||
| <label for="styled-checkbox-5">Name A - Z</label> | <label for="styled-checkbox-5">Name A - Z</label> | ||
| </li> | </li> | ||
| <li> | <li> | ||
| <input | <input class="styled-checkbox" id="styled-checkbox-3" type="radio" value="low" name="sort" | ||
| class="styled-checkbox" | (click)="setValue($event.target.value)" /> | ||
| id="styled-checkbox-3" | |||
| type="radio" | |||
| value="low" | |||
| name="sort" | |||
| (click)="setValue($event.target.value)" | |||
| /> | |||
| <label for="styled-checkbox-3">Price Low - High</label> | <label for="styled-checkbox-3">Price Low - High</label> | ||
| </li> | </li> | ||
| <li> | <li> | ||
| <input | <input class="styled-checkbox" id="styled-checkbox-4" type="radio" value="high" name="sort" | ||
| class="styled-checkbox" | (click)="setValue($event.target.value)" /> | ||
| id="styled-checkbox-4" | |||
| type="radio" | |||
| value="high" | |||
| name="sort" | |||
| (click)="setValue($event.target.value)" | |||
| /> | |||
| <label for="styled-checkbox-4">Price High - Low</label> | <label for="styled-checkbox-4">Price High - Low</label> | ||
| </li> | </li> | ||
| ... | @@ -174,4 +122,4 @@ | ... | @@ -174,4 +122,4 @@ |
| <div></div> | <div></div> | ||
| </div> | </div> | ||
| </div> | </div> | ||
| </ion-content> | </ion-content> | ||
| \ No newline at end of file |
src/config/safehtml.ts
0 → 100644
Please
register
or
sign in
to comment