Merge branch 'adarsh' into 'master'
Adarsh
See merge request !50
Showing
This diff is collapsed.
Click to expand it.
| ... | ... | @@ -20,10 +20,7 @@ |
| <div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
| <ion-slides pager="true" [options]="bannerOptions" *ngIf="slideData"> | ||
| <ion-slide *ngFor="let prodImg of slideData"> | ||
| <img | ||
| [src]="prodImg" | ||
| onerror="this.src='../assets/[email protected]'" | ||
| /> | ||
| <img [src]="prodImg" onerror="this.src='../assets/[email protected]'" /> | ||
| </ion-slide> | ||
| <!-- <ion-slide> | ||
| <img | ||
| ... | ... | @@ -45,10 +42,13 @@ |
| <h3>{{product.prodName}}</h3> | ||
| <p> | ||
| <strong | ||
| ><span><img src="../assets/Path61_2.png"/></span>0</strong | ||
| ><span><img src="../assets/Path61_2.png"/></span | ||
| >{{product.rating}}</strong | ||
| > {{product.category}}, {{product.subCate}} | ||
| <br /> | ||
| <span *ngFor="let tag of product.tag">#{{tag}} </span> | ||
| <span *ngFor="let tag of product.tag" | ||
| ><span *ngIf="tag !=='No-Tag'">#{{tag}} </span></span | ||
| > | ||
| </p> | ||
| </ion-col> | ||
| <ion-col size="4"> | ||
| ... | ... | @@ -265,6 +265,12 @@ |
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="loader" *ngIf="loader"> | ||
| <div class="lds-ripple"> | ||
| <div></div> | ||
| <div></div> | ||
| </div> | ||
| </div> | ||
| </ion-content> | ||
| <ion-footer> | ||
| <div class="footer_div"> | ||
| ... | ... |
This diff is collapsed.
Click to expand it.
| <div class="nav_header"> | ||
| <button class="nav_btn nav_back floatLeft" (click)="goBack()"> | ||
| <button class="nav_btn nav_back floatLeft" (click)="goBack()"> | ||
| <img src="../assets/Group17_2.png" /> | ||
| </button> | ||
| <div class="nav_title floatLeft"> | ||
| <input class="search_bar" placeholder="Search here.. eg:shirts, retailers etc..." (click)="clickSearch()" /> | ||
| </div> | ||
| <button class="nav_btn nav_search floatRight" *ngIf="!searchShow" (click)="clickSearch()"></button> | ||
| <button class="nav_btn nav_close floatRight" *ngIf="searchShow" (click)="searchClose()"></button> | ||
| <div class="clear"></div> | ||
| <div class="nav_title floatLeft"> | ||
| <input | ||
| class="search_bar" | ||
| placeholder="Search here.. eg:shirts, retailers etc..." | ||
| (click)="clickSearch()" | ||
| /> | ||
| </div> | ||
| <button | ||
| class="nav_btn nav_search floatRight" | ||
| *ngIf="!searchShow" | ||
| (click)="clickSearch()" | ||
| ></button> | ||
| <button | ||
| class="nav_btn nav_close floatRight" | ||
| *ngIf="searchShow" | ||
| (click)="searchClose()" | ||
| ></button> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <ion-content> | ||
| <div class="product_list"> | ||
| <div class="product_taskbar"> | ||
| <div class="filter floatLeft" (click)="istoggle()"> | ||
| </div> | ||
| <div class="viewset floatRight"> | ||
| <div class="grid_view grid_act floatRight" (click)="gridToggle()" [class.line_view]="onGrid"> | ||
| </div> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <div class="product_title" *ngIf="data"> | ||
| {{data.shopName}} | ||
| </div> | ||
| <ul [class.grid_view]="onGrid" *ngIf="prodService.product && prodService.product.length > 0"> | ||
| <li *ngFor="let product of prodService.product; let i = index"> | ||
| <div class="product_image"> | ||
| <div class="load-back"> | ||
| <img [src]="product.image" onerror="this.src='../assets/[email protected]'" (click)="prodDetails(i)"> | ||
| </div> | ||
| <div [ngClass]="checkFavStatus(product.prodId)" (click)="changeFav(product.prodId)"> | ||
| </div> | ||
| <div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
| </div> | ||
| <h5 class="ellipse" (click)="prodDetails(i)">{{product.prodName}}</h5> | ||
| <p (click)="prodDetails(i)">A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0">-{{product.discount}}%</span></p> | ||
| </li> | ||
| </ul> | ||
| <div class="product_list"> | ||
| <div class="product_taskbar"> | ||
| <div class="filter floatLeft" (click)="istoggle()"></div> | ||
| <div class="viewset floatRight"> | ||
| <div | ||
| class="grid_view grid_act floatRight" | ||
| (click)="gridToggle()" | ||
| [class.line_view]="onGrid" | ||
| ></div> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <div class="product_title" *ngIf="data"> | ||
| {{data.shopName}} | ||
| </div> | ||
| <ul [class.grid_view]="onGrid" *ngIf="prodService.product && prodService.product.length > 0"> | ||
| <li *ngFor="let product of prodService.product; let i = index"> | ||
| <div class="product_image"> | ||
| <img [src]="product.image" onerror="this.src='../assets/[email protected]'" (click)="prodDetails(i)" /> | ||
| <div [ngClass]="checkFavStatus(product.prodId)" (click)="changeFav(product.prodId)"></div> | ||
| <div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
| </div> | ||
| <h5 class="ellipse" (click)="prodDetails(i)">{{product.prodName}}</h5> | ||
| <p (click)="prodDetails(i)"> | ||
| A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0">-{{product.discount}}%</span | ||
| <ul | ||
| [class.grid_view]="onGrid" | ||
| *ngIf="prodService.product && prodService.product.length > 0" | ||
| > | ||
| <li *ngFor="let product of prodService.product; let i = index"> | ||
| <div class="product_image"> | ||
| <div class="load-back"> | ||
| <img | ||
| [src]="product.image" | ||
| onerror="this.src='../assets/[email protected]'" | ||
| (click)="prodDetails(i)" | ||
| /> | ||
| </div> | ||
| <div | ||
| [ngClass]="checkFavStatus(product.prodId)" | ||
| (click)="changeFav(product.prodId)" | ||
| ></div> | ||
| <div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
| </div> | ||
| <h5 class="ellipse" (click)="prodDetails(i)">{{product.prodName}}</h5> | ||
| <p (click)="prodDetails(i)"> | ||
| A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0" | ||
| >-{{product.discount}}%</span | ||
| > | ||
| </p> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
| <ul | ||
| [class.grid_view]="onGrid" | ||
| *ngIf="prodService.product && prodService.product.length > 0" | ||
| > | ||
| <li *ngFor="let product of prodService.product; let i = index"> | ||
| <div class="product_image"> | ||
| <img | ||
| [src]="product.image" | ||
| onerror="this.src='../assets/[email protected]'" | ||
| (click)="prodDetails(i)" | ||
| /> | ||
| <div | ||
| [ngClass]="checkFavStatus(product.prodId)" | ||
| (click)="changeFav(product.prodId)" | ||
| ></div> | ||
| <div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
| </div> | ||
| <h5 class="ellipse" (click)="prodDetails(i)">{{product.prodName}}</h5> | ||
| <p (click)="prodDetails(i)"> | ||
| A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0" | ||
| >-{{product.discount}}%</span | ||
| > | ||
| </p> | ||
| </li> | ||
| </ul> | ||
| <div class="no-result-wrapper" *ngIf="prodService.product.length === 0"> | ||
| <img src="../../assets/basket.png" /> | ||
| <h1>No result found</h1> | ||
| <button (click)="goToPage('home')">home</button> | ||
| </div> | ||
| <div class="sort_wrappper" *ngIf="isShow" [@slideInOut]> | ||
| <div class="sort_inner"> | ||
| <h4>Sort By</h4> | ||
| ... | ... | @@ -104,9 +145,20 @@ |
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="loader" *ngIf="loader"> | ||
| <div class="lds-ripple"> | ||
| <div></div> | ||
| <div></div> | ||
| </div> | ||
| </div> | ||
| </ion-content> | ||
| <div class="search_item_list" *ngIf="searchShow" [@slideInOut]> | ||
| <ul *ngIf="searchService.searchList"> | ||
| <li *ngFor="let search of searchService.searchList" (click)="viewPage(search)">{{search.text}}</li> | ||
| </ul> | ||
| </div> | ||
| \ No newline at end of file | ||
| <ul *ngIf="searchService.searchList"> | ||
| <li | ||
| *ngFor="let search of searchService.searchList" | ||
| (click)="viewPage(search)" | ||
| > | ||
| {{search.text}} | ||
| </li> | ||
| </ul> | ||
| </div> |
This diff is collapsed.
Click to expand it.
| <div class="nav_header"> | ||
| <ion-menu-toggle> | ||
| <button class="nav_btn nav_menu floatLeft"></button> | ||
| </ion-menu-toggle> | ||
| <div class="nav_title floatLeft"> | ||
| <img src="../../assets/Group [email protected]" /> | ||
| </div> | ||
| <div class="clear"></div> | ||
| <ion-menu-toggle> | ||
| <button class="nav_btn nav_menu floatLeft"></button> | ||
| </ion-menu-toggle> | ||
| <div class="nav_title floatLeft"> | ||
| <img src="../../assets/Group [email protected]" /> | ||
| </div> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <ion-content> | ||
| <div class="profile_wrapper" *ngIf="loggedUser"> | ||
| <div class="profile_banner"> | ||
| <!-- <div class="profile_circle"> | ||
| <div class="profile_wrapper" *ngIf="loggedUser"> | ||
| <div class="profile_banner"> | ||
| <!-- <div class="profile_circle"> | ||
| <div class="edit"></div> | ||
| </div> --> | ||
| <div class="profile_circle"> | ||
| <img [src]="loggedUser.profilePhoto" onerror="this.src='./../../assets/profile_banner.png'" /> | ||
| <div class="edit"></div> | ||
| <input type="file" accept="image/*" (change)="fileChange($event)" /> | ||
| </div> | ||
| <div class="profile_circle"> | ||
| <img | ||
| [src]="loggedUser.profilePhoto" | ||
| onerror="this.src='./../../assets/profile_banner.png'" | ||
| /> | ||
| <div class="edit"></div> | ||
| <input type="file" accept="image/*" (change)="fileChange($event)" /> | ||
| </div> | ||
| <h5>{{loggedUser.name}}</h5> | ||
| <p (click)="istoggle()">LOGOUT</p> | ||
| </div> | ||
| <div class="account_wrapper"> | ||
| <div class="account_header"> | ||
| <h5 class="floatLeft">ACCOUNT INFORMATION</h5> | ||
| <span class="floatRight" (click)="goToPage('changedetails', user && user)"><img | ||
| src="../../assets/edit.png" /></span> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <div class="row"> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p> | ||
| Phone | ||
| <span *ngIf="loggedUser.phoneVerified == true">Verified</span> | ||
| <span *ngIf="loggedUser.phoneVerified == false">Not Verified yet</span> | ||
| </p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6>{{loggedUser.phone}}</h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| </div> | ||
| <div class="row"> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p> | ||
| Email<span *ngIf="userData && userData.emailVerified == true">Verified</span> | ||
| <span *ngIf="loggedUser.emailVerified == false">Not Verified yet</span> | ||
| </p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6>{{loggedUser.emailId}}</h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| </div> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>Wishlist</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6>(3)</h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>Address</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6>(1)</h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>My Cards</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6> | ||
| <ion-icon name="arrow-forward"></ion-icon> | ||
| </h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>My Order</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('myorder')"> | ||
| <h6> | ||
| <ion-icon name="arrow-forward"></ion-icon> | ||
| </h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>Currency</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6> | ||
| <span>AUD</span> | ||
| </h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| </div> | ||
| <div class="logout-pop-wrapper" *ngIf="isShow" [@slideInOut]> | ||
| <div class="logout_inner"> | ||
| <h4>Logout</h4> | ||
| <p>Are you sure to Logout ?</p> | ||
| <div class="logout_footer"> | ||
| <button class="btn-cancel floatLeft" (click)="istoggle();"> | ||
| <h5>{{loggedUser.name}}</h5> | ||
| <p (click)="istoggle()">LOGOUT</p> | ||
| </div> | ||
| <div class="account_wrapper"> | ||
| <div class="account_header"> | ||
| <h5 class="floatLeft">ACCOUNT INFORMATION</h5> | ||
| <span | ||
| class="floatRight" | ||
| (click)="goToPage('changedetails', user && user)" | ||
| ><img src="../../assets/edit.png" | ||
| /></span> | ||
| <div class="clear"></div> | ||
| </div> | ||
| <div class="row"> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p> | ||
| Phone | ||
| <span *ngIf="loggedUser.phoneVerified == true">Verified</span> | ||
| <span *ngIf="loggedUser.phoneVerified == false" | ||
| >Not Verified yet</span | ||
| > | ||
| </p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6>{{loggedUser.phone}}</h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| </div> | ||
| <div class="row"> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p> | ||
| Email<span *ngIf="userData && userData.emailVerified == true" | ||
| >Verified</span | ||
| > | ||
| <span *ngIf="loggedUser.emailVerified == false" | ||
| >Not Verified yet</span | ||
| > | ||
| </p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6>{{loggedUser.emailId}}</h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| </div> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>Wishlist</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('wishlist')"> | ||
| <h6>(0)</h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>Address</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('address')"> | ||
| <h6 *ngIf="addressService.addList"> | ||
| ({{addressService.addressList.length}}) | ||
| </h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> | ||
| <!-- <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>My Cards</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('addcard')"> | ||
| <h6> | ||
| <ion-icon name="arrow-forward"></ion-icon> | ||
| </h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> --> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>My Order</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('myorder')"> | ||
| <h6> | ||
| <ion-icon name="arrow-forward"></ion-icon> | ||
| </h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| <hr /> | ||
| <ion-row> | ||
| <ion-col class="textLeft p0"> | ||
| <p>Currency</p> | ||
| </ion-col> | ||
| <ion-col class="textRight p0"> | ||
| <h6> | ||
| <span>AUD</span> | ||
| </h6> | ||
| </ion-col> | ||
| </ion-row> | ||
| </div> | ||
| <div class="logout-pop-wrapper" *ngIf="isShow" [@slideInOut]> | ||
| <div class="logout_inner"> | ||
| <h4>Logout</h4> | ||
| <p>Are you sure to Logout ?</p> | ||
| <div class="logout_footer"> | ||
| <button class="btn-cancel floatLeft" (click)="istoggle();"> | ||
| Cancel | ||
| </button> | ||
| <button class="btn-logout floatRight" (click)="authService.SignOut(); istoggle()"> | ||
| <button | ||
| class="btn-logout floatRight" | ||
| (click)="authService.SignOut(); istoggle()" | ||
| > | ||
| Logout | ||
| </button> | ||
| <div class="clear"></div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div class="clear"></div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </ion-content> | ||
| \ No newline at end of file | ||
| </div> | ||
| </ion-content> |
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment