You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.0 KiB
50 lines
2.0 KiB
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<button style="shape-outside: circle();color:forestgreen; background-color: white; border-color: forestgreen;" class="EditProfile" (click)=EditProfile()>Edit Profile</button>
|
|
|
|
|
|
|
|
|
|
<button style="shape-outside: circle();color: forestgreen; background-color: white; border-color: forestgreen;" class="Members List of Curent User" (click)=Members()>Members List of Curent User</button>
|
|
<br/><br/>
|
|
|
|
<form class="form-inline my-2 my-lg-0">
|
|
<input class="form-control mr-sm-2" type="text"
|
|
[(ngModel)]="searchValue" id="searchValue" [ngModelOptions]="{standalone: true}"
|
|
placeholder="Search" aria-label="Search">
|
|
<button class="btn btn-outline-success my-2 my-sm-0"
|
|
type="submit" (click)="searchProduct()">Search</button>
|
|
</form>
|
|
<button class="showCart" (click)="showCart()">Show Cart</button>
|
|
|
|
<div class="cardParent">
|
|
<div class="card" *ngFor="let i of Searchedproducts">
|
|
<img src="{{i.productimage}}" style="width:85%">
|
|
<h5>{{i.productname}}</h5>
|
|
<p class="price">Rs. {{i.productprice}} <br>
|
|
Weight: {{i.productweight}} Kg</p>
|
|
<p><button class="AddToCart" (click)=addCart(i)>Add to Cart</button></p>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
<!-- <div >
|
|
<app-page-nav-bar></app-page-nav-bar>
|
|
</div> -->
|
|
|
|
<!-- <button type="button" style="text-align:center;background-color:dimgray;" cls="btn" (click)="btnClick();">EditProfile</button> -->
|
|
|
|
|
|
<!-- <div style="text-align:center;">
|
|
<a [routerLink]="['/home', {outlets: {'member': ['memberlist']}}]">Members List of Curent User</a>
|
|
</div>
|
|
<router-outlet name="member"></router-outlet> -->
|
|
<!--
|
|
<div style="text-align:center;">
|
|
<a [routerLink]="['/home', {outlets: {'user': ['user-profile-details']}}]">EditProfile</a>
|
|
</div>
|
|
<router-outlet name="user"></router-outlet> -->
|