update shadows & crud dialog

This commit is contained in:
Çetin
2021-12-15 13:53:50 +03:00
parent 516159783d
commit f140ba157b
5 changed files with 10 additions and 5 deletions

View File

@@ -76,7 +76,7 @@
<ng-template pTemplate="body" let-product>
<tr>
<td>
<img src="../../../assets/demo/images/product/{{product.image}}" alt="{{product.name}}" width="100">
<img src="../../../assets/demo/images/product/{{product.image}}" class="shadow-4" alt="{{product.name}}" width="100">
</td>
<td>{{product.name}}</td>
<td>{{product.price | currency:'USD'}}</td>

View File

@@ -257,7 +257,7 @@
<button type="button" pButton pRipple [pRowToggler]="product" class="p-button-text p-button-rounded p-button-plain" [icon]="expanded ? 'pi pi-chevron-down' : 'pi pi-chevron-right'"></button>
</td>
<td><span class="p-column-title">Name</span>{{product.name}}</td>
<td><span class="p-column-title">Image</span><img [src]="'assets/demo/images/product/' + product.image" [alt]="product.name" width="100" class="p-shadow-4" /></td>
<td><span class="p-column-title">Image</span><img [src]="'assets/demo/images/product/' + product.image" [alt]="product.name" width="100" class="shadow-4" /></td>
<td><span class="p-column-title">Price</span>{{product.price | currency:'USD'}}</td>
<td><span class="p-column-title">Category</span>{{product.category}}</td>
<td><span class="p-column-title">Reviews</span><p-rating [ngModel]="product.rating" [readonly]="true" [cancel]="false"></p-rating></td>