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.
48 lines
1.5 KiB
48 lines
1.5 KiB
@{
|
|
ViewData["Title"] = "Catalog";
|
|
@model CatalogIndexViewModel
|
|
}
|
|
<section class="esh-catalog-hero">
|
|
<div class="container">
|
|
<img class="esh-catalog-title" src="../images/main_banner_text.png" />
|
|
</div>
|
|
</section>
|
|
|
|
<section class="esh-catalog-filters">
|
|
<div class="container">
|
|
<form asp-action="Index" asp-controller="Catalog" method="post">
|
|
<label class="esh-catalog-label" data-title="brand">
|
|
<select asp-for="@Model.BrandFilterApplied" asp-items="@Model.Brands" class="esh-catalog-filter"></select>
|
|
</label>
|
|
<label class="esh-catalog-label" data-title="type">
|
|
<select asp-for="@Model.TypesFilterApplied" asp-items="@Model.Types" class="esh-catalog-filter"></select>
|
|
</label>
|
|
<input class="esh-catalog-send" type="image" src="images/arrow-right.svg" />
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="container">
|
|
|
|
@if (Model.CatalogItems.Any())
|
|
{
|
|
<partial name="_pagination" for="PaginationInfo" />
|
|
|
|
<div class="esh-catalog-items row">
|
|
@foreach (var catalogItem in Model.CatalogItems)
|
|
{
|
|
<div class="esh-catalog-item col-md-4">
|
|
<partial name="_product" model="catalogItem" />
|
|
</div>
|
|
}
|
|
</div>
|
|
|
|
<partial name="_pagination" for="PaginationInfo" />
|
|
}
|
|
else
|
|
{
|
|
<div class="esh-catalog-items row">
|
|
THERE ARE NO RESULTS THAT MATCH YOUR SEARCH
|
|
</div>
|
|
}
|
|
</div>
|
|
|