Merge branch 'arjunlatest' into 'master'
Arjunlatest
See merge request !49
Showing
src/app/failed/failed.module.ts
0 → 100644
src/app/failed/failed.page.html
0 → 100644
src/app/failed/failed.page.scss
0 → 100644
src/app/failed/failed.page.spec.ts
0 → 100644
src/app/failed/failed.page.ts
0 → 100644
| <div class="nav_header"> | <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" /> | <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" | </div> | ||
| placeholder="Search here.. eg:shirts, retailers etc..." | <button class="nav_btn nav_search floatRight" *ngIf="!searchShow" (click)="clickSearch()"></button> | ||
| (click)="clickSearch()" | <button class="nav_btn nav_close floatRight" *ngIf="searchShow" (click)="searchClose()"></button> | ||
| /> | <div class="clear"></div> | ||
| </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> | </div> | ||
| <ion-content> | <ion-content> | ||
| <div class="product_list"> | |||
| <div class="product_taskbar"> | <div class="product_list"> | ||
| <div class="filter floatLeft" (click)="istoggle()"></div> | <div class="product_taskbar"> | ||
| <div class="viewset floatRight"> | <div class="filter floatLeft" (click)="istoggle()"> | ||
| <div | |||
| class="grid_view grid_act floatRight" | </div> | ||
| (click)="gridToggle()" | <div class="viewset floatRight"> | ||
| [class.line_view]="onGrid" | <div class="grid_view grid_act floatRight" (click)="gridToggle()" [class.line_view]="onGrid"> | ||
| ></div> | </div> | ||
| <div class="clear"></div> | <div class="clear"></div> | ||
| </div> | </div> | ||
| <div class="clear"></div> | <div class="clear"></div> | ||
| </div> | </div> | ||
| <div class="product_title" *ngIf="data"> | <div class="product_title" *ngIf="data"> | ||
| {{data.shopName}} | {{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> | </div> | ||
| <h5 class="ellipse" (click)="prodDetails(i)">{{product.prodName}}</h5> | <ul [class.grid_view]="onGrid" *ngIf="prodService.product && prodService.product.length > 0"> | ||
| <p (click)="prodDetails(i)"> | <li *ngFor="let product of prodService.product; let i = index"> | ||
| A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0" | <div class="product_image"> | ||
| >-{{product.discount}}%</span | <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> | </p> | ||
| </li> | </li> | ||
| ... | @@ -114,12 +106,7 @@ | ... | @@ -114,12 +106,7 @@ |
| </div> | </div> | ||
| </ion-content> | </ion-content> | ||
| <div class="search_item_list" *ngIf="searchShow" [@slideInOut]> | <div class="search_item_list" *ngIf="searchShow" [@slideInOut]> | ||
| <ul *ngIf="searchService.searchList"> | <ul *ngIf="searchService.searchList"> | ||
| <li | <li *ngFor="let search of searchService.searchList" (click)="viewPage(search)">{{search.text}}</li> | ||
| *ngFor="let search of searchService.searchList" | </ul> | ||
| (click)="viewPage(search)" | </div> | ||
| > | \ No newline at end of file | ||
| {{search.text}} | |||
| </li> | |||
| </ul> | |||
| </div> |
| <div class="nav_header"> | <div class="nav_header"> | ||
| <ion-menu-toggle> | <ion-menu-toggle> | ||
| <button class="nav_btn nav_menu floatLeft"></button> | <button class="nav_btn nav_menu floatLeft"></button> | ||
| </ion-menu-toggle> | </ion-menu-toggle> | ||
| <div class="nav_title floatLeft"> | <div class="nav_title floatLeft"> | ||
| <img src="../../assets/Group [email protected]" /> | <img src="../../assets/Group [email protected]" /> | ||
| </div> | </div> | ||
| <div class="clear"></div> | <div class="clear"></div> | ||
| </div> | </div> | ||
| <ion-content> | <ion-content> | ||
| <div class="profile_wrapper" *ngIf="loggedUser"> | <div class="profile_wrapper" *ngIf="loggedUser"> | ||
| <div class="profile_banner"> | <div class="profile_banner"> | ||
| <!-- <div class="profile_circle"> | <!-- <div class="profile_circle"> | ||
| <div class="edit"></div> | <div class="edit"></div> | ||
| </div> --> | </div> --> | ||
| <div class="profile_circle"> | <div class="profile_circle"> | ||
| <img | <img [src]="loggedUser.profilePhoto" onerror="this.src='./../../assets/profile_banner.png'" /> | ||
| [src]="loggedUser.profilePhoto" | <div class="edit"></div> | ||
| onerror="this.src='./../../assets/profile_banner.png'" | <input type="file" accept="image/*" (change)="fileChange($event)" /> | ||
| /> | </div> | ||
| <div class="edit"></div> | |||
| <input type="file" accept="image/*" (change)="fileChange($event)" /> | |||
| </div> | |||
| <h5>{{loggedUser.name}}</h5> | <h5>{{loggedUser.name}}</h5> | ||
| <p (click)="istoggle()">LOGOUT</p> | <p (click)="istoggle()">LOGOUT</p> | ||
| </div> | </div> | ||
| <div class="account_wrapper"> | <div class="account_wrapper"> | ||
| <div class="account_header"> | <div class="account_header"> | ||
| <h5 class="floatLeft">ACCOUNT INFORMATION</h5> | <h5 class="floatLeft">ACCOUNT INFORMATION</h5> | ||
| <span | <span class="floatRight" (click)="goToPage('changedetails', user && user)"><img | ||
| class="floatRight" | src="../../assets/edit.png" /></span> | ||
| (click)="goToPage('changedetails', user && user)" | <div class="clear"></div> | ||
| ><img src="../../assets/edit.png" | </div> | ||
| /></span> | <div class="row"> | ||
| <div class="clear"></div> | <ion-row> | ||
| </div> | <ion-col class="textLeft p0"> | ||
| <div class="row"> | <p> | ||
| <ion-row> | Phone | ||
| <ion-col class="textLeft p0"> | <span *ngIf="loggedUser.phoneVerified == true">Verified</span> | ||
| <p> | <span *ngIf="loggedUser.phoneVerified == false">Not Verified yet</span> | ||
| Phone | </p> | ||
| <span *ngIf="loggedUser.phoneVerified == true">Verified</span> | </ion-col> | ||
| <span *ngIf="loggedUser.phoneVerified == false" | <ion-col class="textRight p0"> | ||
| >Not Verified yet</span | <h6>{{loggedUser.phone}}</h6> | ||
| > | </ion-col> | ||
| </p> | </ion-row> | ||
| </ion-col> | </div> | ||
| <ion-col class="textRight p0"> | <div class="row"> | ||
| <h6>{{loggedUser.phone}}</h6> | <ion-row> | ||
| </ion-col> | <ion-col class="textLeft p0"> | ||
| </ion-row> | <p> | ||
| </div> | Email<span *ngIf="userData && userData.emailVerified == true">Verified</span> | ||
| <div class="row"> | <span *ngIf="loggedUser.emailVerified == false">Not Verified yet</span> | ||
| <ion-row> | </p> | ||
| <ion-col class="textLeft p0"> | </ion-col> | ||
| <p> | <ion-col class="textRight p0"> | ||
| Email<span *ngIf="userData && userData.emailVerified == true" | <h6>{{loggedUser.emailId}}</h6> | ||
| >Verified</span | </ion-col> | ||
| > | </ion-row> | ||
| <span *ngIf="loggedUser.emailVerified == false" | </div> | ||
| >Not Verified yet</span | <hr /> | ||
| > | <ion-row> | ||
| </p> | <ion-col class="textLeft p0"> | ||
| </ion-col> | <p>Wishlist</p> | ||
| <ion-col class="textRight p0"> | </ion-col> | ||
| <h6>{{loggedUser.emailId}}</h6> | <ion-col class="textRight p0"> | ||
| </ion-col> | <h6>(3)</h6> | ||
| </ion-row> | </ion-col> | ||
| </div> | </ion-row> | ||
| <hr /> | <hr /> | ||
| <ion-row> | <ion-row> | ||
| <ion-col class="textLeft p0"> | <ion-col class="textLeft p0"> | ||
| <p>Wishlist</p> | <p>Address</p> | ||
| </ion-col> | </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('wishlist')"> | <ion-col class="textRight p0"> | ||
| <h6>(3)</h6> | <h6>(1)</h6> | ||
| </ion-col> | </ion-col> | ||
| </ion-row> | </ion-row> | ||
| <hr /> | <hr /> | ||
| <ion-row> | <ion-row> | ||
| <ion-col class="textLeft p0"> | <ion-col class="textLeft p0"> | ||
| <p>Address</p> | <p>My Cards</p> | ||
| </ion-col> | </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('address')"> | <ion-col class="textRight p0"> | ||
| <h6 *ngIf="addressService.addList"> | <h6> | ||
| ({{addressService.addressList.length}}) | <ion-icon name="arrow-forward"></ion-icon> | ||
| </h6> | </h6> | ||
| </ion-col> | </ion-col> | ||
| </ion-row> | </ion-row> | ||
| <hr /> | <hr /> | ||
| <!-- <ion-row> | <ion-row> | ||
| <ion-col class="textLeft p0"> | <ion-col class="textLeft p0"> | ||
| <p>My Cards</p> | <p>My Order</p> | ||
| </ion-col> | </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('addcard')"> | <ion-col class="textRight p0" (click)="goToPage('myorder')"> | ||
| <h6> | <h6> | ||
| <ion-icon name="arrow-forward"></ion-icon> | <ion-icon name="arrow-forward"></ion-icon> | ||
| </h6> | </h6> | ||
| </ion-col> | </ion-col> | ||
| </ion-row> | </ion-row> | ||
| <hr /> --> | <hr /> | ||
| <ion-row> | <ion-row> | ||
| <ion-col class="textLeft p0"> | <ion-col class="textLeft p0"> | ||
| <p>My Order</p> | <p>Currency</p> | ||
| </ion-col> | </ion-col> | ||
| <ion-col class="textRight p0" (click)="goToPage('myorder')"> | <ion-col class="textRight p0"> | ||
| <h6> | <h6> | ||
| <ion-icon name="arrow-forward"></ion-icon> | <span>AUD</span> | ||
| </h6> | </h6> | ||
| </ion-col> | </ion-col> | ||
| </ion-row> | </ion-row> | ||
| <hr /> | </div> | ||
| <ion-row> | <div class="logout-pop-wrapper" *ngIf="isShow" [@slideInOut]> | ||
| <ion-col class="textLeft p0"> | <div class="logout_inner"> | ||
| <p>Currency</p> | <h4>Logout</h4> | ||
| </ion-col> | <p>Are you sure to Logout ?</p> | ||
| <ion-col class="textRight p0"> | <div class="logout_footer"> | ||
| <h6> | <button class="btn-cancel floatLeft" (click)="istoggle();"> | ||
| <span>AUD</span> | Cancel | ||
| </h6> | </button> | ||
| </ion-col> | <button class="btn-logout floatRight" (click)="authService.SignOut(); istoggle()"> | ||
| </ion-row> | Logout | ||
| </div> | </button> | ||
| </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()" | |||
| > | |||
| Logout | |||
| </button> | |||
| <div class="clear"></div> | <div class="clear"></div> | ||
| </div> | </div> | ||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | </div> | ||
| </div> | </ion-content> | ||
| </ion-content> | \ No newline at end of file |
src/app/success/success.module.ts
0 → 100644
src/app/success/success.page.html
0 → 100644
src/app/success/success.page.scss
0 → 100644
| .success_wrapper { | |||
| width: 100%; | |||
| .cart_head { | |||
| width: 100%; | |||
| height: auto; | |||
| background-image: url("../../assets/[email protected]"); | |||
| background-position: center bottom; | |||
| background-repeat: no-repeat; | |||
| background-size: cover; | |||
| padding-bottom: 35px; | |||
| .nav_header { | |||
| position: static; | |||
| background-color: transparent; | |||
| .nav_title { | |||
| h4 { | |||
| color: #FFF; | |||
| } | |||
| } | |||
| } | |||
| .cart_menu_header { | |||
| padding: 50px 20px 20px 20px; | |||
| ul { | |||
| margin: 0px; | |||
| padding: 10px; | |||
| background-color: rgba(273, 273, 273, 0.1); | |||
| border-radius: 10px; | |||
| li { | |||
| list-style: none; | |||
| color: #FFF; | |||
| width: 20%; | |||
| display: inline-block; | |||
| font-weight: 700; | |||
| font-size: 13px; | |||
| hr { | |||
| height: 0px; | |||
| border-top: none; | |||
| width: 90%; | |||
| margin-top: 0px; | |||
| margin-bottom: 0px; | |||
| position: relative; | |||
| margin: 0 auto; | |||
| border-bottom: 2px dashed rgba(176, 174, 199, 1); | |||
| bottom: 4px; | |||
| } | |||
| } | |||
| } | |||
| } | |||
| .success-set { | |||
| text-align: center; | |||
| margin-top: 50px; | |||
| img { | |||
| width: 75px; | |||
| } | |||
| h1 { | |||
| color: #fff; | |||
| font-size: 18px; | |||
| font-weight: bolder; | |||
| margin-top: 5px; | |||
| margin-bottom: 0; | |||
| text-transform: uppercase; | |||
| } | |||
| h2 { | |||
| color: #fff; | |||
| font-size: 12px; | |||
| font-weight: lighter; | |||
| margin-top: 2px; | |||
| } | |||
| } | |||
| } | |||
| .product-countdown { | |||
| padding: 20px; | |||
| text-align: center; | |||
| margin-top: 25px; | |||
| h1 { | |||
| color: #B0AEC7; | |||
| font-size: 16px; | |||
| margin-top: 10px; | |||
| } | |||
| h2 { | |||
| color: #3B394D; | |||
| font-size: 40px; | |||
| font-weight: bolder; | |||
| margin-top: 15px; | |||
| span { | |||
| font-size: 16px; | |||
| font-weight: lighter; | |||
| } | |||
| } | |||
| button { | |||
| background-color: #29285b; | |||
| border-radius: 8px; | |||
| height: 50px; | |||
| width: 48%; | |||
| color: #fff; | |||
| font-size: 18px; | |||
| font-weight: lighter; | |||
| text-transform: uppercase; | |||
| margin-top: 25px; | |||
| margin-bottom: 50px; | |||
| } | |||
| h3 { | |||
| color: #29285b; | |||
| background: none; | |||
| font-size: 20px; | |||
| font-weight: bolder; | |||
| text-transform: uppercase; | |||
| margin-top: 20px; | |||
| margin-bottom: 50px; | |||
| } | |||
| } | |||
| } | |||
| @media only screen and (max-width: 350px) { | |||
| .cart_head { | |||
| padding-bottom: 15px !important; | |||
| .cart_menu_header { | |||
| padding: 20px !important; | |||
| ul { | |||
| li { | |||
| font-size: 12px !important; | |||
| } | |||
| } | |||
| } | |||
| .success-set { | |||
| margin-top: 0 !important; | |||
| } | |||
| } | |||
| } | |||
| \ No newline at end of file |
src/app/success/success.page.spec.ts
0 → 100644
src/app/success/success.page.ts
0 → 100644
src/assets/failed.png
0 → 100644
4.95 KB
src/assets/giphy.gif
0 → 100644
8.61 KB