Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @*@model SurffingSite.Models.Products*@
- @model List<SurffingSite.Models.Products>
- @{
- ViewBag.Title = "DisplayAllProducts";
- }
- <html dir="rtl">
- <link href="~/Content/display-products.css" rel="stylesheet" />
- <body>
- <h2 class="page-header">המוצרים שלנו</h2><br />
- <section>
- <div class="row">
- @foreach (var product in Model)
- {
- <figure class="portfolio-item col-md-4 col-sm-6">
- <img src="~/images/@product.Picture" class="img-responsive" />
- <div class="product-details">
- <h2 class="product-name">מוצר: @product.ProductName</h2>
- <label>קטגוריה: @product.Category</label>
- <div class="product-description">תיאור: @product.Description</div>
- <div class="product-price">מחיר: @product.Price ₪</div>
- <div class="form-group">
- <label>מספר יחידות</label>
- <div class="col-md-10">
- <input type="text" name="amounter" id="amounter" />
- </div>
- </div>
- <div>
- <a id="btn_add" href="@Url.Action("AddToCart", "Cart", product)" class="btn btn-info btn-lg" style="margin-left:60px">
- <span class="glyphicon glyphicon-shopping-cart"></span> הוסף לעגלה
- </a><br />
- <a id="btn_more_info" href="@Url.Action("Index", "Home")" class="btn btn-info btn-lg" style="margin-left:60px">
- <span class="glyphicon glyphicon-eye-open"></span> קרא עוד
- </a>
- </div>
- </div>
- </figure>
- }
- </div>
- </section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement