Applying some style updates
- Moving the total out of the foreach so it only displays once - Making the total display proper number of Decimals
This commit is contained in:
@@ -42,9 +42,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
@*<div class="esh-catalog-item col-md-4">
|
}
|
||||||
@item.ProductId
|
|
||||||
</div>*@
|
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<article class="esh-basket-titles esh-basket-titles--clean row">
|
<article class="esh-basket-titles esh-basket-titles--clean row">
|
||||||
@@ -54,7 +52,7 @@
|
|||||||
|
|
||||||
<article class="esh-basket-items row">
|
<article class="esh-basket-items row">
|
||||||
<section class="esh-basket-item col-xs-10"></section>
|
<section class="esh-basket-item col-xs-10"></section>
|
||||||
<section class="esh-basket-item esh-basket-item--mark col-xs-2">$ @Model.Total()</section>
|
<section class="esh-basket-item esh-basket-item--mark col-xs-2">$ @Model.Total().ToString("N2")</section>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<article class="esh-basket-items row">
|
<article class="esh-basket-items row">
|
||||||
@@ -64,10 +62,12 @@
|
|||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
}
|
|
||||||
<section class="esh-basket-item col-xs-push-8 col-xs-4">
|
<section class="esh-basket-item col-xs-push-8 col-xs-4">
|
||||||
<button class="btn esh-basket-checkout" name="updatebutton" value="" type="submit"
|
<button class="btn esh-basket-checkout" name="updatebutton" value="" type="submit"
|
||||||
asp-action="Index">[ Update ]</button>
|
asp-action="Index">
|
||||||
|
[ Update ]
|
||||||
|
</button>
|
||||||
<input type="submit" asp-action="Checkout"
|
<input type="submit" asp-action="Checkout"
|
||||||
class="btn esh-basket-checkout"
|
class="btn esh-basket-checkout"
|
||||||
value="[ Checkout ]" name="action" />
|
value="[ Checkout ]" name="action" />
|
||||||
|
|||||||
Reference in New Issue
Block a user