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.
 
 
 
 
 

26 lines
1.3 KiB

<body>
<button style="shape-outside: circle();color:forestgreen;
background-color: white; border-color: forestgreen;" class="EditProfile" (click)=EditProfile()>
Edit Profile</button> &nbsp;
<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> &nbsp;
<button (click)=onLogout()>Logout</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:70%">
<h5>{{i.productname}}</h5>
<p class="price">Rs. {{i.productprice}} <br> Weight: {{i.productweight}} Kg</p>
<p><button class="AddToCart" (click)=addCart(i.productprice,i.productid)>Add to Cart</button></p>
</div>
</div>
</body>