public override void Execute() { #line 1 "..\..\Views\Category\CategoryProducts.cshtml" /* * Name: Category listing * Purpose: Category List View * Structure: /Views/Category/CategoryProducts.cshtml * Contains (Partial Views Used): * a-/Views/Shared/_Layout.cshtml.cshtml (For base Structure) * b-/Views/Shared/_BreadCrumb.cshtml (Dynamic Breadcrumb view) * c-/Views/search/_SearchResultProducts.cshtml (Product listing of selected category) * * Contained In (Where we Use this View): */ #line default #line hidden WriteLiteral("\r\n"); #line 21 "..\..\Views\Category\CategoryProducts.cshtml" ViewBag.Title = @LT("ProductDetail.Label.Search", "Search"); Layout = "~/Views/Shared/_Layout.cshtml"; CategoryModel metaInfo = (CategoryModel)ViewBag.MetaInfo; Html.AddDataLayer(DataLayerObjectType.CategoryDetail, Model); #line default #line hidden WriteLiteral("\r\n"); #line 27 "..\..\Views\Category\CategoryProducts.cshtml" if (metaInfo != null) { Html.AddTitleParts(metaInfo.Name); Html.AddMetaTitle(metaInfo.MetaTitle); Html.AddMetaDescriptionParts(metaInfo.MetaDescription); Html.AddMetaKeywordsParts(metaInfo.MetaKeywords); Html.AddCanonicalUrl(metaInfo.CanonicalTags); } #line default #line hidden WriteLiteral("<div"); WriteLiteral(" class=\"col-md-12 col-xs-12 no-padding\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <li><a"); WriteLiteral(" href=\"/\""); WriteLiteral(">"); #line 38 "..\..\Views\Category\CategoryProducts.cshtml" Write(LT("ProductListing.Breadcrumb.Home", "Home")); #line default #line hidden WriteLiteral("</a></li> \r\n"); #line 39 "..\..\Views\Category\CategoryProducts.cshtml" #line default #line hidden #line 39 "..\..\Views\Category\CategoryProducts.cshtml" if (Model.BreadCrumbs != null) { var catBreadCrumb = Model.BreadCrumbs.FirstOrDefault(x => x.SlugType == EntitySlugTypes.Category.ToString()); if (catBreadCrumb != null && catBreadCrumb.Slug != null) { #line default #line hidden #line 44 "..\..\Views\Category\CategoryProducts.cshtml" Write(Html.Partial("~/Views/Shared/_BreadCrumb.cshtml", catBreadCrumb.Slug)); #line default #line hidden #line 44 "..\..\Views\Category\CategoryProducts.cshtml" ; } } #line default #line hidden WriteLiteral(" <li><a"); WriteLiteral(" href=\"#\""); WriteLiteral("></a>"); #line 47 "..\..\Views\Category\CategoryProducts.cshtml" Write(Model.Name); #line default #line hidden WriteLiteral("</li>\r\n </ul>\r\n</div>\r\n\r\n"); #line 51 "..\..\Views\Category\CategoryProducts.cshtml" Write(Html.Partial("~/Views/search/_SearchResultProducts.cshtml", Model.ProductList)); #line default #line hidden WriteLiteral("\r\n\r\n"); DefineSection("scripts", () => { WriteLiteral("\r\n <script>\r\n var searchProductUrl = \'"); #line 55 "..\..\Views\Category\CategoryProducts.cshtml" Write(Html.BuildUrlFromExpression <SearchController>(c => c.SearchProducts(null))); #line default #line hidden WriteLiteral("\';\r\n var productUrl = \'"); #line 56 "..\..\Views\Category\CategoryProducts.cshtml" Write(Html.BuildUrlFromExpression <ProductController>(c => c.ProductDetails(""))); #line default #line hidden WriteLiteral("\';\r\n var addToWishlistUrl = \'"); #line 57 "..\..\Views\Category\CategoryProducts.cshtml" Write(Html.BuildUrlFromExpression <AccountController>(c => c.AddProductToWishlist(null))); #line default #line hidden WriteLiteral("\'; \r\n var getWishlist = \'"); #line 58 "..\..\Views\Category\CategoryProducts.cshtml" Write(Html.BuildUrlFromExpression <AccountController>(c => c.GetWishlist())); #line default #line hidden WriteLiteral(@"'; window.app.constant('productConfig',{ searchProductUrl:searchProductUrl, productUrl : productUrl, addToWishlistUrl : addToWishlistUrl, getWishlist:getWishlist }); window.app.constant('model', "); #line 65 "..\..\Views\Category\CategoryProducts.cshtml" Write(Html.JsonFor(Model)); #line default #line hidden WriteLiteral(");\r\n </script>\r\n"); }); }
public override void Execute() { #line 1 "..\..\Views\Brand\BrandProducts.cshtml" /* * Name: Barnd product listing * Purpose: Show All products of selected Brand * Structure: /Views/Blog/BrandProducts.cshtml * Contains (Partial Views Used): * a-/Views/Shared/_Layout.cshtml * b-/Views/search/_SearchResultProducts.cshtml * Contained In (Where we Use this View) : */ #line default #line hidden WriteLiteral("\r\n"); #line 19 "..\..\Views\Brand\BrandProducts.cshtml" ViewBag.Title = @LT("ProductDetail.Label.Search", "Search"); Layout = "~/Views/Shared/_Layout.cshtml"; #line default #line hidden WriteLiteral("\r\n"); #line 23 "..\..\Views\Brand\BrandProducts.cshtml" Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"row breadcrumb-bar\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12 col-xs-12\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <li><a"); WriteLiteral(" href=\"/\""); WriteLiteral(">"); #line 34 "..\..\Views\Brand\BrandProducts.cshtml" Write(LT("ProductListing.Breadcrumb.Home", "Home")); #line default #line hidden WriteLiteral("</a></li>\r\n <li><a"); WriteAttribute("href", Tuple.Create(" href=\"", 1236), Tuple.Create("\"", 1277) #line 35 "..\..\Views\Brand\BrandProducts.cshtml" , Tuple.Create(Tuple.Create("", 1243), Tuple.Create <System.Object, System.Int32>(Url.Action("BrandList", "Brand") #line default #line hidden , 1243), false) ); WriteLiteral(" >Brand</a></li>\r\n"); #line 36 "..\..\Views\Brand\BrandProducts.cshtml" #line default #line hidden #line 36 "..\..\Views\Brand\BrandProducts.cshtml" if (@Model.ProductList.SearchCriteria.BreadCrumb != null) { #line default #line hidden WriteLiteral(" <li>"); #line 38 "..\..\Views\Brand\BrandProducts.cshtml" Write(Model.ProductList.SearchCriteria.BreadCrumb.ToCamelCase()); #line default #line hidden WriteLiteral("</li>\r\n"); #line 39 "..\..\Views\Brand\BrandProducts.cshtml" } #line default #line hidden WriteLiteral(" </ul>\r\n </div>\r\n</div>\r\n"); #line 43 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.Partial("~/Views/search/_SearchResultProducts.cshtml", Model.ProductList)); #line default #line hidden WriteLiteral("\r\n\r\n"); DefineSection("scripts", () => { WriteLiteral("\r\n <script>\r\n var searchProductUrl = \'"); #line 47 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <SearchController>(c => c.SearchProducts(null))); #line default #line hidden WriteLiteral("\';\r\n var productUrl = \'"); #line 48 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <ProductController>(c => c.ProductDetails(""))); #line default #line hidden WriteLiteral("\';\r\n var addToWishlistUrl = \'"); #line 49 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <AccountController>(c => c.AddProductToWishlist(null))); #line default #line hidden WriteLiteral("\';\r\n var getWishlist = \'"); #line 50 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <AccountController>(c => c.GetWishlist())); #line default #line hidden WriteLiteral(@"'; window.app.constant('productConfig',{ searchProductUrl:searchProductUrl, productUrl : productUrl, addToWishlistUrl : addToWishlistUrl, getWishlist:getWishlist }); window.app.constant('model', "); #line 57 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.JsonFor(Model)); #line default #line hidden WriteLiteral(");\r\n </script>\r\n"); }); }
public override void Execute() { #line 1 "..\..\Views\Category\CategoryLanding.cshtml" /* * Name: Category Landing * Purpose: Show all categoty * Structure: /Views/Catalog/CategoryLanding.cshtml * Contains (Partial Views Used): * a-/Views/Shared/_Layout.cshtml * Contained In (Where we Use this View) : */ #line default #line hidden WriteLiteral("\r\n"); #line 15 "..\..\Views\Category\CategoryLanding.cshtml" // ViewBag.Title = Model != null ? Model.Name : ""; Layout = "~/Views/Shared/_Layout.cshtml"; Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); Html.AddCanonicalUrl(Model.CanonicalTags); Html.AddDataLayer(DataLayerObjectType.CategoryDetail, Model); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 26 "..\..\Views\Category\CategoryLanding.cshtml" /* Start breadcrumb container */ #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"col-sm-3 col-xs-12\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12 col-xs-12 filterContainer hidden-xs\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"sidebar-menu\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"image\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 1129), Tuple.Create("\"", 1147) #line 31 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 1135), Tuple.Create <System.Object, System.Int32>(Model.Image #line default #line hidden , 1135), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" class=\"img-responsive image1\""); WriteLiteral(" onerror=\"this.src=DEFAULT_IMAGE_URL\""); WriteLiteral(">\r\n </div>\r\n"); #line 33 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 33 "..\..\Views\Category\CategoryLanding.cshtml" if (Model != null && Model.LinkGroups != null) { foreach (var group in Model.LinkGroups.OrderBy(o => o.DisplayOrder)) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" class=\"left-filter-headline\""); WriteLiteral(">"); #line 39 "..\..\Views\Category\CategoryLanding.cshtml" Write(group.Name); #line default #line hidden WriteLiteral(" </h3>\r\n </div>\r\n"); WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter-category\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"nav nav-pills nav-stacked\""); WriteLiteral(">\r\n "); WriteLiteral("\r\n"); #line 44 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 44 "..\..\Views\Category\CategoryLanding.cshtml" if (group.AttributeInputType == 6) { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" class=\"colour inline-block\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 2123), Tuple.Create("\"", 2141) , Tuple.Create(Tuple.Create("", 2130), Tuple.Create("/", 2130), true) #line 49 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 2131), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 2131), false) ); WriteLiteral("><span"); WriteLiteral(" class=\"colour\""); WriteAttribute("style", Tuple.Create(" style=\"", 2163), Tuple.Create("\"", 2198) , Tuple.Create(Tuple.Create("", 2171), Tuple.Create("background-color:", 2171), true) #line 49 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 2188), Tuple.Create <System.Object, System.Int32>(link.Name #line default #line hidden , 2188), false) ); WriteLiteral("></span></a>\r\n </li>\r\n"); #line 51 "..\..\Views\Category\CategoryLanding.cshtml" } } else { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li>\r\n " + " <a"); WriteAttribute("href", Tuple.Create(" href=\"", 2609), Tuple.Create("\"", 2627) , Tuple.Create(Tuple.Create("", 2616), Tuple.Create("/", 2616), true) #line 58 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 2617), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 2617), false) ); WriteLiteral(">"); #line 58 "..\..\Views\Category\CategoryLanding.cshtml" Write(link.Name); #line default #line hidden WriteLiteral("</a>\r\n </li>\r\n"); #line 60 "..\..\Views\Category\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </ul>\r\n </div>\r\n"); #line 64 "..\..\Views\Category\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </div>\r\n </div>\r\n\r\n</div>\r\n<div"); WriteLiteral(" class=\"col-sm-9 col-xs-12\""); WriteLiteral(">\r\n"); #line 71 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 71 "..\..\Views\Category\CategoryLanding.cshtml" /* End Right category detail panel */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"col-sm-12 col-xs-12 dataContainer clearfix\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12 col-xs-12\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <li><a"); WriteLiteral(" href=\"/\""); WriteLiteral(">"); #line 76 "..\..\Views\Category\CategoryLanding.cshtml" Write(LT("ProductListing.Breadcrumb.Home", "Home")); #line default #line hidden WriteLiteral("</a></li>\r\n <li>\r\n"); #line 78 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 78 "..\..\Views\Category\CategoryLanding.cshtml" if (Model != null) { #line default #line hidden #line 79 "..\..\Views\Category\CategoryLanding.cshtml" Write(Model.Name.ToCamelCase()); #line default #line hidden #line 79 "..\..\Views\Category\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </li>\r\n </ul>\r\n </div>\r\n </d" + "iv>\r\n"); #line 84 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 84 "..\..\Views\Category\CategoryLanding.cshtml" /* Start carousel slider */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"row margin-bottom-lg\""); WriteLiteral(">\r\n"); #line 86 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 86 "..\..\Views\Category\CategoryLanding.cshtml" if (Model != null && Model.Images != null) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-sm-12 col-xs-12\""); WriteLiteral(">\r\n <div"); WriteLiteral(" id=\"carousel-example-generic\""); WriteLiteral(" class=\"carousel slide omnicomponent component-slider\""); WriteLiteral(" list-id=\"\""); WriteLiteral(" list-type=\"\""); WriteLiteral(" data-ride=\"carousel\""); WriteLiteral(">\r\n <ol"); WriteLiteral(" class=\"carousel-indicators\""); WriteLiteral(">\r\n\r\n"); #line 92 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 92 "..\..\Views\Category\CategoryLanding.cshtml" foreach (var img in Model.Images.Select((index) => new { index })) { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" data-target=\"#carousel-example-generic\""); WriteLiteral(" data-slide-to=\""); #line 94 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.index); #line default #line hidden WriteLiteral("\""); WriteAttribute("ng-class", Tuple.Create(" ng-class=\"", 4121), Tuple.Create("\"", 4156) , Tuple.Create(Tuple.Create("", 4132), Tuple.Create("{active", 4132), true) , Tuple.Create(Tuple.Create(" ", 4139), Tuple.Create(":", 4140), true) #line 94 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 4141), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 4142), false) , Tuple.Create(Tuple.Create("", 4152), Tuple.Create("==0}", 4152), true) ); WriteLiteral("></li>\r\n"); #line 95 "..\..\Views\Category\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral("\r\n </ol>\r\n <div"); WriteLiteral(" class=\"carousel-inner\""); WriteLiteral(">\r\n"); #line 99 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 99 "..\..\Views\Category\CategoryLanding.cshtml" foreach (var img in Model.Images.Select((obj, index) => new { index, obj })) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"item\""); WriteAttribute("ng-class", Tuple.Create(" ng-class=\"", 4470), Tuple.Create("\"", 4505) , Tuple.Create(Tuple.Create("", 4481), Tuple.Create("{active", 4481), true) , Tuple.Create(Tuple.Create(" ", 4488), Tuple.Create(":", 4489), true) #line 101 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 4490), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 4491), false) , Tuple.Create(Tuple.Create("", 4501), Tuple.Create("==0}", 4501), true) ); WriteLiteral(">\r\n"); #line 102 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 102 "..\..\Views\Category\CategoryLanding.cshtml" if (img.obj.LinkType == LinkType.Href.GetHashCode().ToString()) { #line default #line hidden WriteLiteral(" <a"); WriteAttribute("href", Tuple.Create(" href=\"", 4692), Tuple.Create("\"", 4712) #line 104 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 4699), Tuple.Create <System.Object, System.Int32>(img.obj.Link #line default #line hidden , 4699), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 4764), Tuple.Create("\"", 4785) #line 105 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 4773), Tuple.Create <System.Object, System.Int32>(img.obj.Url #line default #line hidden , 4773), false) ); WriteAttribute("alt", Tuple.Create(" alt=\"", 4786), Tuple.Create("\"", 4820) , Tuple.Create(Tuple.Create("", 4792), Tuple.Create("Slide", 4792), true) #line 105 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 4797), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 4798), false) , Tuple.Create(Tuple.Create(" ", 4808), Tuple.Create("of", 4809), true) , Tuple.Create(Tuple.Create(" ", 4811), Tuple.Create("Carousel", 4812), true) ); WriteLiteral(" class=\"img-responsive omni-img image1\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" sizes=\"(min-width: 768px) 540px, 100vw\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"component-static-html img-topData hidden-xs\""); WriteLiteral(">\r\n <h2>"); #line 107 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.obj.Title); #line default #line hidden WriteLiteral("</h2>\r\n <h3>"); #line 108 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.obj.SubTitle); #line default #line hidden WriteLiteral("</h3>\r\n <p>"); #line 109 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.obj.Description); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n " + " </a>\r\n"); #line 112 "..\..\Views\Category\CategoryLanding.cshtml" } else { #line default #line hidden WriteLiteral(" <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 5533), Tuple.Create("\"", 5554) #line 115 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 5542), Tuple.Create <System.Object, System.Int32>(img.obj.Url #line default #line hidden , 5542), false) ); WriteAttribute("alt", Tuple.Create(" alt=\"", 5555), Tuple.Create("\"", 5589) , Tuple.Create(Tuple.Create("", 5561), Tuple.Create("Slide", 5561), true) #line 115 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 5566), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 5567), false) , Tuple.Create(Tuple.Create(" ", 5577), Tuple.Create("of", 5578), true) , Tuple.Create(Tuple.Create(" ", 5580), Tuple.Create("Carousel", 5581), true) ); WriteLiteral(" class=\"img-responsive omni-img image1\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" sizes=\"(min-width: 768px) 540px, 100vw\""); WriteLiteral(">\r\n"); WriteLiteral(" <div"); WriteLiteral(" class=\"component-static-html img-topData hidden-xs\""); WriteLiteral(">\r\n <h2>"); #line 117 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.obj.Title); #line default #line hidden WriteLiteral("</h2>\r\n <h3>"); #line 118 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.obj.SubTitle); #line default #line hidden WriteLiteral("</h3>\r\n <p>"); #line 119 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.obj.Description); #line default #line hidden WriteLiteral("</p>\r\n <p>\r\n"); #line 121 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 121 "..\..\Views\Category\CategoryLanding.cshtml" if (img.obj.LinkType == LinkType.Button.GetHashCode().ToString()) { #line default #line hidden WriteLiteral(" <a"); WriteAttribute("href", Tuple.Create(" href=\"", 6294), Tuple.Create("\"", 6314) #line 123 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 6301), Tuple.Create <System.Object, System.Int32>(img.obj.Link #line default #line hidden , 6301), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral("> "); #line 123 "..\..\Views\Category\CategoryLanding.cshtml" Write(img.obj.ButtonText); #line default #line hidden WriteLiteral(" </a>\r\n"); #line 124 "..\..\Views\Category\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </p>\r\n " + " </div>\r\n"); #line 127 "..\..\Views\Category\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral("\r\n </div>\r\n"); #line 130 "..\..\Views\Category\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </div><a"); WriteLiteral(" class=\"left carousel-control\""); WriteLiteral(" href=\"#carousel-example-generic\""); WriteLiteral(" data-slide=\"prev\""); WriteLiteral(">\r\n <span"); WriteLiteral(" class=\"fa fa-chevron-left\""); WriteLiteral("></span>\r\n </a>\r\n <a"); WriteLiteral(" class=\"right carousel-control\""); WriteLiteral(" href=\"#carousel-example-generic\""); WriteLiteral(" data-slide=\"next\""); WriteLiteral(">\r\n <span"); WriteLiteral(" class=\"fa fa-chevron-right\""); WriteLiteral("></span>\r\n </a>\r\n </div>\r\n " + " </div>\r\n"); #line 139 "..\..\Views\Category\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n"); #line 141 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 141 "..\..\Views\Category\CategoryLanding.cshtml" /* End carousel slider */ #line default #line hidden WriteLiteral("\r\n\r\n \r\n <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n"); #line 145 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 145 "..\..\Views\Category\CategoryLanding.cshtml" if (Model != null && Model.SubCategories != null) { foreach (var cat in Model.SubCategories.Where(x => x.IsFeatured).ToList()) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-md-3 col-sm-4 col-xs-6 resultContainerRelated\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"categoryLanding\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"image\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 7624), Tuple.Create("\"", 7641) , Tuple.Create(Tuple.Create("", 7631), Tuple.Create("/", 7631), true) #line 152 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 7632), Tuple.Create <System.Object, System.Int32>(cat.Link #line default #line hidden , 7632), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 7685), Tuple.Create("\"", 7704) #line 153 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 7694), Tuple.Create <System.Object, System.Int32>(cat.Image #line default #line hidden , 7694), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" class=\"img-responsive omni-img image1\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" sizes=\"(min-width: 768px) 540px, 100vw\""); WriteLiteral(">\r\n </a> "); WriteLiteral("\r\n </div>\r\n <div"); WriteLiteral(" class=\"category-name\""); WriteLiteral(">\r\n <h2"); WriteLiteral(" class=\"brand-h3\""); WriteLiteral("><a"); WriteAttribute("href", Tuple.Create(" href=\"", 8035), Tuple.Create("\"", 8052) , Tuple.Create(Tuple.Create("", 8042), Tuple.Create("/", 8042), true) #line 157 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 8043), Tuple.Create <System.Object, System.Int32>(cat.Link #line default #line hidden , 8043), false) ); WriteLiteral(">"); #line 157 "..\..\Views\Category\CategoryLanding.cshtml" Write(cat.Name); #line default #line hidden WriteLiteral("</a></h2>\r\n "); WriteLiteral("\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 162 "..\..\Views\Category\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </div>\r\n\r\n </div>\r\n"); #line 167 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 167 "..\..\Views\Category\CategoryLanding.cshtml" /* End Right category detail panel */ #line default #line hidden WriteLiteral("\r\n</div>\r\n"); #line 169 "..\..\Views\Category\CategoryLanding.cshtml" /* End breadcrumb container */ #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-6 col-xs-6 pull-right visible-xs\""); WriteLiteral(">\r\n <a"); WriteLiteral(" class=\"pull-right text-right filter-right-anc\""); WriteLiteral(" onclick=\"openNav()\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-list-ul\""); WriteLiteral("></i> Filter</a>\r\n </div>\r\n</div>\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12 margin-top-md\""); WriteLiteral(">\r\n"); #line 177 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 177 "..\..\Views\Category\CategoryLanding.cshtml" /* Start Left category filter */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"col-sm-12 col-xs-12 visible-xs\""); WriteLiteral(">\r\n <div"); WriteLiteral(" id=\"mySidenav\""); WriteLiteral(" class=\"sidenav visible-xs\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"sidenav-inner\""); WriteLiteral(">\r\n <a"); WriteLiteral(" href=\"javascript:void(0)\""); WriteLiteral(" class=\"closebtn\""); WriteLiteral(" onclick=\"closeNav()\""); WriteLiteral(">×</a>\r\n <div"); WriteLiteral(" class=\"col-xs-12 no-padding margin-top-md\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"image\""); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 9122), Tuple.Create("\"", 9143) #line 184 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 9131), Tuple.Create <System.Object, System.Int32>(Model.Image #line default #line hidden , 9131), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" class=\"img-responsive omni-img image1\""); WriteLiteral(" onerror=\"this.src=DEFAULT_IMAGE_URL\""); WriteLiteral(" sizes=\"(min-width: 768px) 540px, 100vw\""); WriteLiteral(">\r\n </div>\r\n"); #line 186 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 186 "..\..\Views\Category\CategoryLanding.cshtml" if (Model != null && Model.LinkGroups != null) { foreach (var group in Model.LinkGroups.OrderBy(o => o.DisplayOrder)) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" class=\"left-filter-headline\""); WriteLiteral(">"); #line 191 "..\..\Views\Category\CategoryLanding.cshtml" Write(group.Name); #line default #line hidden WriteLiteral("</h3>\r\n </div>\r\n"); WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter-category\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"nav nav-pills nav-stacked\""); WriteLiteral(">\r\n "); WriteLiteral("\r\n"); #line 196 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 196 "..\..\Views\Category\CategoryLanding.cshtml" if (group.AttributeInputType == 6) { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" class=\"colour inline-block\""); WriteLiteral(">\r\n \r\n " + " <a"); WriteAttribute("href", Tuple.Create(" href=\"", 10387), Tuple.Create("\"", 10405) , Tuple.Create(Tuple.Create("", 10394), Tuple.Create("/", 10394), true) #line 202 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 10395), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 10395), false) ); WriteLiteral(" ><span"); WriteLiteral(" class=\"colour\""); WriteAttribute("style", Tuple.Create(" style=\"", 10428), Tuple.Create("\"", 10463) , Tuple.Create(Tuple.Create("", 10436), Tuple.Create("background-color:", 10436), true) #line 202 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 10453), Tuple.Create <System.Object, System.Int32>(link.Name #line default #line hidden , 10453), false) ); WriteLiteral("></span></a>\r\n </li>\r\n"); #line 204 "..\..\Views\Category\CategoryLanding.cshtml" } } else { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li>\r\n " + " <a"); WriteAttribute("href", Tuple.Create(" href=\"", 10947), Tuple.Create("\"", 10965) , Tuple.Create(Tuple.Create("", 10954), Tuple.Create("/", 10954), true) #line 211 "..\..\Views\Category\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 10955), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 10955), false) ); WriteLiteral(">"); #line 211 "..\..\Views\Category\CategoryLanding.cshtml" Write(link.Name); #line default #line hidden WriteLiteral("</a>\r\n </li>\r\n"); #line 213 "..\..\Views\Category\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </ul>\r\n </div>" + "\r\n"); #line 217 "..\..\Views\Category\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </div>\r\n"); #line 220 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 220 "..\..\Views\Category\CategoryLanding.cshtml" /* End left filters accordion */ #line default #line hidden WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n \r\n"); #line 225 "..\..\Views\Category\CategoryLanding.cshtml" #line default #line hidden #line 225 "..\..\Views\Category\CategoryLanding.cshtml" /* End Left category filter */ #line default #line hidden WriteLiteral("\r\n\r\n \r\n </div>\r\n</div>"); }
public override void Execute() { #line 1 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* * Name: Category Landing * Purpose: Show all categoty * Structure: /Views/Catalog/CategoryLanding.cshtml * Contains (Partial Views Used): * a-/Views/Shared/Layout1/_Layout.cshtml * Contained In (Where we Use this View) : */ #line default #line hidden WriteLiteral("\r\n"); #line 15 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" // ViewBag.Title = Model != null ? Model.Name : ""; Layout = "~/Views/Shared/Layout1/_Layout.cshtml"; Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); Html.AddCanonicalUrl(Model.CanonicalTags); Html.AddDataLayer(DataLayerObjectType.CategoryDetail, Model); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 26 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* Start breadcrumb container */ #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-md-12\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <li><a"); WriteLiteral(" href=\"/\""); WriteLiteral(">"); #line 30 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(LT("ProductListing.Breadcrumb.Home", "Home")); #line default #line hidden WriteLiteral("</a></li>\r\n <li>\r\n"); #line 32 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 32 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (Model != null) { #line default #line hidden #line 33 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(Model.Name.ToCamelCase()); #line default #line hidden #line 33 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </li>\r\n </ul>\r\n </div>\r\n</div>\r\n"); #line 38 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* End breadcrumb container */ #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-6 col-xs-6 pull-right visible-xs\""); WriteLiteral(">\r\n <a"); WriteLiteral(" class=\"pull-right text-right filter-right-anc\""); WriteLiteral(" onclick=\"openNav()\""); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-list-ul\""); WriteLiteral("></i> Filter</a>\r\n </div>\r\n</div>\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12 margin-top-md\""); WriteLiteral(">\r\n"); #line 46 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 46 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* Start Left category filter */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"col-sm-12 col-xs-12 visible-xs\""); WriteLiteral(">\r\n <div"); WriteLiteral(" id=\"mySidenav\""); WriteLiteral(" class=\"sidenav visible-xs\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"sidenav-inner\""); WriteLiteral(">\r\n <a"); WriteLiteral(" href=\"javascript:void(0)\""); WriteLiteral(" class=\"closebtn\""); WriteLiteral(" onclick=\"closeNav()\""); WriteLiteral(">×</a>\r\n <div"); WriteLiteral(" class=\"col-xs-12 no-padding margin-top-md\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"image\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 2041), Tuple.Create("\"", 2059) #line 53 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 2047), Tuple.Create <System.Object, System.Int32>(Model.Image #line default #line hidden , 2047), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" class=\"img-responsive image1\""); WriteLiteral(" onerror=\"this.src=\'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(">\r\n </div>\r\n"); #line 55 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 55 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (Model != null && Model.LinkGroups != null) { foreach (var group in Model.LinkGroups.OrderBy(o => o.DisplayOrder)) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" class=\"left-filter-headline\""); WriteLiteral(">"); #line 60 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(group.Name); #line default #line hidden WriteLiteral("</h3>\r\n </div>\r\n"); WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter-category\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"nav nav-pills nav-stacked\""); WriteLiteral(">\r\n "); WriteLiteral("\r\n"); #line 65 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 65 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (group.AttributeInputType == 6) { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" class=\"colour inline-block\""); WriteLiteral(">\r\n \r\n " + " <a"); WriteAttribute("href", Tuple.Create(" href=\"", 3280), Tuple.Create("\"", 3298) , Tuple.Create(Tuple.Create("", 3287), Tuple.Create("/", 3287), true) #line 71 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 3288), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 3288), false) ); WriteLiteral(" ><span"); WriteLiteral(" class=\"colour\""); WriteAttribute("style", Tuple.Create(" style=\"", 3321), Tuple.Create("\"", 3356) , Tuple.Create(Tuple.Create("", 3329), Tuple.Create("background-color:", 3329), true) #line 71 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 3346), Tuple.Create <System.Object, System.Int32>(link.Name #line default #line hidden , 3346), false) ); WriteLiteral("></span></a>\r\n </li>\r\n"); #line 73 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } } else { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li>\r\n " + " <a"); WriteAttribute("href", Tuple.Create(" href=\"", 3840), Tuple.Create("\"", 3858) , Tuple.Create(Tuple.Create("", 3847), Tuple.Create("/", 3847), true) #line 80 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 3848), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 3848), false) ); WriteLiteral(">"); #line 80 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(link.Name); #line default #line hidden WriteLiteral("</a>\r\n </li>\r\n"); #line 82 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </ul>\r\n </div>" + "\r\n"); #line 86 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </div>\r\n"); #line 89 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 89 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* End left filters accordion */ #line default #line hidden WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <div"); WriteLiteral(" class=\"col-sm-3 hidden-xs no-padding-left\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"sidebar-menu\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"image\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 4468), Tuple.Create("\"", 4486) #line 96 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 4474), Tuple.Create <System.Object, System.Int32>(Model.Image #line default #line hidden , 4474), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" class=\"img-responsive image1\""); WriteLiteral(" onerror=\"this.src=\'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(">\r\n </div>\r\n"); #line 98 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 98 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (Model != null && Model.LinkGroups != null) { foreach (var group in Model.LinkGroups.OrderBy(o => o.DisplayOrder)) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" class=\"left-filter-headline\""); WriteLiteral(">"); #line 104 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(group.Name); #line default #line hidden WriteLiteral(" </h3>\r\n </div>\r\n"); WriteLiteral(" <div"); WriteLiteral(" class=\"left-filter-category\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"nav nav-pills nav-stacked\""); WriteLiteral(">\r\n "); WriteLiteral("\r\n"); #line 109 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 109 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (group.AttributeInputType == 6) { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" class=\"colour inline-block\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 5520), Tuple.Create("\"", 5538) , Tuple.Create(Tuple.Create("", 5527), Tuple.Create("/", 5527), true) #line 114 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 5528), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 5528), false) ); WriteLiteral(" ><span"); WriteLiteral(" class=\"colour\""); WriteAttribute("style", Tuple.Create(" style=\"", 5561), Tuple.Create("\"", 5596) , Tuple.Create(Tuple.Create("", 5569), Tuple.Create("background-color:", 5569), true) #line 114 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 5586), Tuple.Create <System.Object, System.Int32>(link.Name #line default #line hidden , 5586), false) ); WriteLiteral("></span></a>\r\n </li>\r\n"); #line 116 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } } else { foreach (var link in group.Items) { #line default #line hidden WriteLiteral(" <li>\r\n " + " <a"); WriteAttribute("href", Tuple.Create(" href=\"", 6007), Tuple.Create("\"", 6025) , Tuple.Create(Tuple.Create("", 6014), Tuple.Create("/", 6014), true) #line 123 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 6015), Tuple.Create <System.Object, System.Int32>(link.Link #line default #line hidden , 6015), false) ); WriteLiteral(">"); #line 123 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(link.Name); #line default #line hidden WriteLiteral("</a>\r\n </li>\r\n"); #line 125 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </ul>\r\n </div>\r\n"); #line 129 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </div>\r\n </div>\r\n"); #line 133 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 133 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* End Left category filter */ #line default #line hidden WriteLiteral("\r\n\r\n"); #line 135 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 135 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* End Right category detail panel */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"col-sm-9 clearfix\""); WriteLiteral(">\r\n"); #line 137 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 137 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* Start carousel slider */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"row margin-bottom-lg\""); WriteLiteral(">\r\n"); #line 139 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 139 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (Model != null && Model.Images != null) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" id=\"carousel-example-generic\""); WriteLiteral(" class=\"carousel slide omnicomponent component-slider\""); WriteLiteral(" list-id=\"\""); WriteLiteral(" list-type=\"\""); WriteLiteral(" data-ride=\"carousel\""); WriteLiteral(">\r\n <ol"); WriteLiteral(" class=\"carousel-indicators\""); WriteLiteral(">\r\n\r\n"); #line 144 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 144 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" foreach (var img in Model.Images.Select((index) => new { index })) { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" data-target=\"#carousel-example-generic\""); WriteLiteral(" data-slide-to=\""); #line 146 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.index); #line default #line hidden WriteLiteral("\""); WriteAttribute("ng-class", Tuple.Create(" ng-class=\"", 7069), Tuple.Create("\"", 7104) , Tuple.Create(Tuple.Create("", 7080), Tuple.Create("{active", 7080), true) , Tuple.Create(Tuple.Create(" ", 7087), Tuple.Create(":", 7088), true) #line 146 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 7089), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 7090), false) , Tuple.Create(Tuple.Create("", 7100), Tuple.Create("==0}", 7100), true) ); WriteLiteral("></li>\r\n"); #line 147 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral("\r\n </ol>\r\n <div"); WriteLiteral(" class=\"carousel-inner\""); WriteLiteral(">\r\n"); #line 151 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 151 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" foreach (var img in Model.Images.Select((obj, index) => new { index, obj })) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"item\""); WriteAttribute("ng-class", Tuple.Create(" ng-class=\"", 7418), Tuple.Create("\"", 7453) , Tuple.Create(Tuple.Create("", 7429), Tuple.Create("{active", 7429), true) , Tuple.Create(Tuple.Create(" ", 7436), Tuple.Create(":", 7437), true) #line 153 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 7438), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 7439), false) , Tuple.Create(Tuple.Create("", 7449), Tuple.Create("==0}", 7449), true) ); WriteLiteral(">\r\n"); #line 154 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 154 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (img.obj.LinkType == LinkType.Href.GetHashCode().ToString()) { #line default #line hidden WriteLiteral(" <a"); WriteAttribute("href", Tuple.Create(" href=\"", 7640), Tuple.Create("\"", 7660) #line 156 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 7647), Tuple.Create <System.Object, System.Int32>(img.obj.Link #line default #line hidden , 7647), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 7712), Tuple.Create("\"", 7733) #line 157 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 7721), Tuple.Create <System.Object, System.Int32>(img.obj.Url #line default #line hidden , 7721), false) ); WriteAttribute("alt", Tuple.Create(" alt=\"", 7734), Tuple.Create("\"", 7768) , Tuple.Create(Tuple.Create("", 7740), Tuple.Create("Slide", 7740), true) #line 157 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 7745), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 7746), false) , Tuple.Create(Tuple.Create(" ", 7756), Tuple.Create("of", 7757), true) , Tuple.Create(Tuple.Create(" ", 7759), Tuple.Create("Carousel", 7760), true) ); WriteLiteral(" class=\"img-responsive image1\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"component-static-html img-topData hidden-xs\""); WriteLiteral(">\r\n <h2>"); #line 159 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.obj.Title); #line default #line hidden WriteLiteral("</h2>\r\n <h3>"); #line 160 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.obj.SubTitle); #line default #line hidden WriteLiteral("</h3>\r\n <p>"); #line 161 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.obj.Description); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n " + " </a>\r\n"); #line 164 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } else { #line default #line hidden WriteLiteral(" <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 8458), Tuple.Create("\"", 8479) #line 167 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 8467), Tuple.Create <System.Object, System.Int32>(img.obj.Url #line default #line hidden , 8467), false) ); WriteAttribute("alt", Tuple.Create(" alt=\"", 8480), Tuple.Create("\"", 8514) , Tuple.Create(Tuple.Create("", 8486), Tuple.Create("Slide", 8486), true) #line 167 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create(" ", 8491), Tuple.Create <System.Object, System.Int32>(img.index #line default #line hidden , 8492), false) , Tuple.Create(Tuple.Create(" ", 8502), Tuple.Create("of", 8503), true) , Tuple.Create(Tuple.Create(" ", 8505), Tuple.Create("Carousel", 8506), true) ); WriteLiteral(" class=\"img-responsive image1\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(">\r\n"); WriteLiteral(" <div"); WriteLiteral(" class=\"component-static-html img-topData hidden-xs\""); WriteLiteral(">\r\n <h2>"); #line 169 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.obj.Title); #line default #line hidden WriteLiteral("</h2>\r\n <h3>"); #line 170 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.obj.SubTitle); #line default #line hidden WriteLiteral("</h3>\r\n <p>"); #line 171 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.obj.Description); #line default #line hidden WriteLiteral("</p>\r\n <p>\r\n"); #line 173 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 173 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (img.obj.LinkType == LinkType.Button.GetHashCode().ToString()) { #line default #line hidden WriteLiteral(" <a"); WriteAttribute("href", Tuple.Create(" href=\"", 9196), Tuple.Create("\"", 9216) #line 175 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 9203), Tuple.Create <System.Object, System.Int32>(img.obj.Link #line default #line hidden , 9203), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral("> "); #line 175 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(img.obj.ButtonText); #line default #line hidden WriteLiteral(" </a>\r\n"); #line 176 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </p>\r\n " + " </div>\r\n"); #line 179 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" \r\n </div>\r\n"); #line 182 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </div><a"); WriteLiteral(" class=\"left carousel-control\""); WriteLiteral(" href=\"#carousel-example-generic\""); WriteLiteral(" data-slide=\"prev\""); WriteLiteral(">\r\n <span"); WriteLiteral(" class=\"fa fa-chevron-left\""); WriteLiteral("></span>\r\n </a>\r\n <a"); WriteLiteral(" class=\"right carousel-control\""); WriteLiteral(" href=\"#carousel-example-generic\""); WriteLiteral(" data-slide=\"next\""); WriteLiteral(">\r\n <span"); WriteLiteral(" class=\"fa fa-chevron-right\""); WriteLiteral("></span>\r\n </a>\r\n </div>\r\n"); #line 190 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n"); #line 192 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 192 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* End carousel slider */ #line default #line hidden WriteLiteral("\r\n\r\n"); #line 194 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 194 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /*Delivery Options*/ #line default #line hidden WriteLiteral("\r\n"); #line 195 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 195 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (Model != null) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"row hidden-xs\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"delivery-option-bar\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-10 col-md-10 col-sm-offset-1 col-md-offset-1\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-4\""); WriteLiteral(">\r\n <h5"); WriteLiteral(" class=\"delivery-h5\""); WriteLiteral(">Free Standard Delivery</h5>\r\n <h6"); WriteLiteral(" class=\"delivery-h6\""); WriteLiteral(">On All Orders Over $50</h6>\r\n </div>\r\n " + " <div"); WriteLiteral(" class=\"col-sm-4\""); WriteLiteral(">\r\n <h5"); WriteLiteral(" class=\"delivery-h5\""); WriteLiteral(">Next Day Delivery</h5>\r\n <h6"); WriteLiteral(" class=\"delivery-h6\""); WriteLiteral(">From only $3.5</h6>\r\n </div>\r\n " + " <div"); WriteLiteral(" class=\"col-sm-4\""); WriteLiteral(">\r\n <h5"); WriteLiteral(" class=\"delivery-h5\""); WriteLiteral(">Worldwide Delivery</h5>\r\n <h6"); WriteLiteral(" class=\"delivery-h6\""); WriteLiteral(">To Over 200 Countries</h6>\r\n </div>\r\n " + " </div>\r\n </div>\r\n </di" + "v>\r\n </div>\r\n"); #line 217 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 218 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /*Delivery Options*/ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n"); #line 221 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 221 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" if (Model != null && Model.SubCategories != null) { foreach (var cat in Model.SubCategories.Where(x => x.IsFeatured).ToList()) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-md-3 col-sm-4 col-xs-6 resultContainerRelated\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"categoryLanding\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"image\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 11942), Tuple.Create("\"", 11959) , Tuple.Create(Tuple.Create("", 11949), Tuple.Create("/", 11949), true) #line 228 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 11950), Tuple.Create <System.Object, System.Int32>(cat.Link #line default #line hidden , 11950), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 12011), Tuple.Create("\"", 12030) #line 229 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 12020), Tuple.Create <System.Object, System.Int32>(cat.Image #line default #line hidden , 12020), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" class=\"img-responsive image1\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(">\r\n </a> "); WriteLiteral("\r\n </div>\r\n " + " <div"); WriteLiteral(" class=\"category-name\""); WriteLiteral(">\r\n <h2"); WriteLiteral(" class=\"brand-h3\""); WriteLiteral("><a"); WriteAttribute("href", Tuple.Create(" href=\"", 12370), Tuple.Create("\"", 12387) , Tuple.Create(Tuple.Create("", 12377), Tuple.Create("/", 12377), true) #line 233 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" , Tuple.Create(Tuple.Create("", 12378), Tuple.Create <System.Object, System.Int32>(cat.Link #line default #line hidden , 12378), false) ); WriteLiteral(">"); #line 233 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" Write(cat.Name); #line default #line hidden WriteLiteral("</a></h2>\r\n "); WriteLiteral("\r\n </div>\r\n </d" + "iv>\r\n </div>\r\n"); #line 238 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" } } #line default #line hidden WriteLiteral(" </div>\r\n </div>\r\n\r\n </div>\r\n"); #line 244 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" #line default #line hidden #line 244 "..\..\Views\Category\Layout1\CategoryLanding.cshtml" /* End Right category detail panel */ #line default #line hidden WriteLiteral("\r\n </div>\r\n</div>"); }
public override void Execute() { #line 5 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" ViewBag.Title = Model != null ? Model.Name : ""; Layout = "~/Views/Shared/Layout1/_Layout.cshtml"; Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); Html.AddCanonicalUrl(Model.CanonicalTags); Html.AddDataLayer(DataLayerObjectType.CollectionDetail, Model); #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-md-12\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <li><a"); WriteLiteral(" href=\"/\""); WriteLiteral(">"); #line 19 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(LT("ProductListing.Breadcrumb.Home", "Home")); #line default #line hidden WriteLiteral("</a></li>\r\n </ul>\r\n </div>\r\n</div>\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n"); #line 24 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" #line default #line hidden #line 24 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" if (Model != null) { if ((Model.ListType == ListDatasetSource.Product && Model.Products == null) || (Model.ListType == ListDatasetSource.Category && Model.Categories == null) || (Model.ListType == ListDatasetSource.Image && Model.Images == null) || (Model.ListType == ListDatasetSource.Brand && Model.Brands == null) || (Model.ListType == ListDatasetSource.SubBrand && Model.SubBrands == null) || (Model.ListType == ListDatasetSource.Blog && Model.Blogs == null)) { #line default #line hidden #line 28 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(Html.Partial("~/Views/Search/Layout1/_NoResults.cshtml")); #line default #line hidden #line 28 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } if (Model.ListType == ListDatasetSource.Product && Model.Products != null) { foreach (var prod in Model.Products.Results) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 1820), Tuple.Create("\"", 1838) , Tuple.Create(Tuple.Create("", 1827), Tuple.Create("/", 1827), true) #line 38 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 1828), Tuple.Create <System.Object, System.Int32>(prod.Slug #line default #line hidden , 1828), false) ); WriteLiteral("> <img"); WriteAttribute("src", Tuple.Create(" src=\"", 1845), Tuple.Create("\"", 1862) #line 38 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 1851), Tuple.Create <System.Object, System.Int32>(prod.Image #line default #line hidden , 1851), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral("></a>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 2090), Tuple.Create("\"", 2108) , Tuple.Create(Tuple.Create("", 2097), Tuple.Create("/", 2097), true) #line 41 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 2098), Tuple.Create <System.Object, System.Int32>(prod.Slug #line default #line hidden , 2098), false) ); WriteLiteral("><h4>"); #line 41 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(prod.Name); #line default #line hidden WriteLiteral("</h4></a>\r\n <p>"); #line 42 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(prod.Description); #line default #line hidden WriteLiteral("</p>\r\n <h5>"); #line 43 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(prod.Brand); #line default #line hidden WriteLiteral("</h5>\r\n <p"); WriteLiteral(" class=\"price\""); WriteLiteral(">\r\n"); #line 45 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" #line default #line hidden #line 45 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" if (@prod.Price != null) { #line default #line hidden #line 46 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(prod.Price.Formatted.WithTax); #line default #line hidden #line 46 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } #line default #line hidden WriteLiteral(" </p>\r\n </div>\r\n " + " <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <button"); WriteAttribute("ng-click", Tuple.Create(" ng-click=\"", 2567), Tuple.Create("\"", 2614) , Tuple.Create(Tuple.Create("", 2578), Tuple.Create("gm.addToBasket(\'", 2578), true) #line 50 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 2594), Tuple.Create <System.Object, System.Int32>(prod.RecordId #line default #line hidden , 2594), false) , Tuple.Create(Tuple.Create("", 2608), Tuple.Create("\',1,0)", 2608), true) ); WriteLiteral(" class=\"btn btn-success\""); WriteLiteral(">Buy Now</button>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 54 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Image && Model.Images != null) { foreach (var img in Model.Images) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 3132), Tuple.Create("\"", 3148) #line 65 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 3139), Tuple.Create <System.Object, System.Int32>(img.Link #line default #line hidden , 3139), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 3188), Tuple.Create("\"", 3205) #line 66 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 3197), Tuple.Create <System.Object, System.Int32>(img.Url #line default #line hidden , 3197), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </a>\r\n </div>\r\n " + " </div>\r\n </div>\r\n"); #line 71 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Brand && Model.Brands != null) { foreach (var brand in Model.Brands) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 3823), Tuple.Create("\"", 3849) #line 81 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 3829), Tuple.Create <System.Object, System.Int32>(brand.LogoImageName #line default #line hidden , 3829), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 84 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(brand.ManufacturerName); #line default #line hidden WriteLiteral("</h4>\r\n <p>"); #line 85 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(brand.Description); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 4276), Tuple.Create("\"", 4295) , Tuple.Create(Tuple.Create("", 4283), Tuple.Create("/", 4283), true) #line 88 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 4284), Tuple.Create <System.Object, System.Int32>(brand.Link #line default #line hidden , 4284), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 92 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.SubBrand && Model.SubBrands != null) { foreach (var brand in Model.SubBrands) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 4807), Tuple.Create("\"", 4833) #line 101 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 4813), Tuple.Create <System.Object, System.Int32>(brand.LogoImageName #line default #line hidden , 4813), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 104 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(brand.ManufacturerName); #line default #line hidden WriteLiteral("</h4>\r\n <p>"); #line 105 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(brand.Description); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 5260), Tuple.Create("\"", 5279) , Tuple.Create(Tuple.Create("", 5267), Tuple.Create("/", 5267), true) #line 108 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 5268), Tuple.Create <System.Object, System.Int32>(brand.Link #line default #line hidden , 5268), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 112 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Category && Model.Categories != null) { foreach (var cat in Model.Categories) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"category-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 5792), Tuple.Create("\"", 5811) #line 121 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 5801), Tuple.Create <System.Object, System.Int32>(cat.Image #line default #line hidden , 5801), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 124 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(cat.Name); #line default #line hidden WriteLiteral("</h4>\r\n "); WriteLiteral("\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 6226), Tuple.Create("\"", 6243) , Tuple.Create(Tuple.Create("", 6233), Tuple.Create("/", 6233), true) #line 128 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 6234), Tuple.Create <System.Object, System.Int32>(cat.Link #line default #line hidden , 6234), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 132 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Blog && Model.Blogs != null) { foreach (var blog in Model.Blogs) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 6744), Tuple.Create("\"", 6768) #line 142 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 6753), Tuple.Create <System.Object, System.Int32>(blog.BlogImage #line default #line hidden , 6753), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = \'/assets/theme/ocx/images/noimagefound.jpg\'\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 145 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(blog.Title); #line default #line hidden WriteLiteral("</h4>\r\n <p>"); #line 146 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(blog.Category); #line default #line hidden WriteLiteral("</p>\r\n <p>"); #line 147 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" Write(blog.Author); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 7228), Tuple.Create("\"", 7251) , Tuple.Create(Tuple.Create("", 7235), Tuple.Create("/blogs/", 7235), true) #line 150 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 7242), Tuple.Create <System.Object, System.Int32>(blog.URL #line default #line hidden , 7242), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View Blogs</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 154 "..\..\Views\Search\Layout1\DynamicListItems.cshtml" } } } #line default #line hidden WriteLiteral("</div>\r\n"); }
public override void Execute() { #line 1 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" /* * Name: Blog Detail * Purpose: Show detail view * Structure: /Views/Blog/Layout1/BlogDetail.cshtml * Contains (Partial Views Used): * a-/Views/Shared/Layout1/_LayoutBlog.cshtml * Contained In (Where we Use this View) : * a-/Views/Shared/Layout1/Blog.cshtml */ #line default #line hidden WriteLiteral("\r\n"); #line 22 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" ViewBag.Title = @Model.Detail.Title; Layout = "~/Views/Shared/Layout1/_LayoutBlog.cshtml"; Html.AddTitleParts(Model.Detail.Title); Html.AddMetaTitle(Model.Detail.MetaTitle); Html.AddMetaDescriptionParts(Model.Detail.MetaDescription); Html.AddMetaKeywordsParts(Model.Detail.MetaKeywords); Html.AddCanonicalUrl(Model.Detail.CanonicalTags); Html.AddDataLayer(DataLayerObjectType.BlogDetail, Model.Detail); #line default #line hidden WriteLiteral("\r\n<style>\r\n #landing-banner {\r\n display: none !important;\r\n }\r\n</sty" + "le>\r\n<div"); WriteLiteral(" class=\"col-md-12 margin-top-md\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n\r\n <li>\r\n <a"); WriteLiteral(" href=\"/\""); WriteLiteral(">"); #line 42 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(LT("MyAccount.Links.Home", "Home")); #line default #line hidden WriteLiteral("</a>\r\n </li>\r\n <li>\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 1397), Tuple.Create("\"", 1432) #line 45 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" , Tuple.Create(Tuple.Create("", 1404), Tuple.Create <System.Object, System.Int32>(Url.Action("Blogs", "Blog") #line default #line hidden , 1404), false) ); WriteLiteral(">"); #line 45 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(LT("Blogs.Links.Blogs", "Blogs")); #line default #line hidden WriteLiteral("</a>\r\n </li>\r\n <li>"); #line 47 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(Model.Detail.Title.ToCamelCase()); #line default #line hidden WriteLiteral("</li>\r\n </ul>\r\n</div>\r\n\r\n<!-- *** LEFT COLUMN ***\r\n___________________________" + "______________________________ -->\r\n\r\n<div"); WriteLiteral(" class=\"col-sm-12\""); WriteLiteral(" id=\"blog-listing\""); WriteLiteral(" ng-controller=\"blogCtrl as bm\""); WriteLiteral(" ng-init=\"bm.geturl()\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"post\""); WriteLiteral(">\r\n <h3"); WriteLiteral(" class=\"blog-h2\""); WriteLiteral("><a"); WriteLiteral(" href=\"#\""); WriteLiteral(">"); #line 56 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(Model.Detail.Title); #line default #line hidden WriteLiteral("</a></h3>\r\n <p"); WriteLiteral(" class=\"blog-category\""); WriteLiteral(">\r\n By <a"); WriteAttribute("href", Tuple.Create(" href=\"", 1894), Tuple.Create("\"", 1926) , Tuple.Create(Tuple.Create("", 1901), Tuple.Create("/", 1901), true) #line 58 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" , Tuple.Create(Tuple.Create("", 1902), Tuple.Create <System.Object, System.Int32>(Model.Detail.EditorSlug #line default #line hidden , 1902), false) ); WriteLiteral(">"); #line 58 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(Model.Detail.Author); #line default #line hidden WriteLiteral("</a> in <a"); WriteAttribute("href", Tuple.Create(" href=\"", 1958), Tuple.Create("\"", 1992) , Tuple.Create(Tuple.Create("", 1965), Tuple.Create("/", 1965), true) #line 58 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" , Tuple.Create(Tuple.Create("", 1966), Tuple.Create <System.Object, System.Int32>(Model.Detail.CategorySlug #line default #line hidden , 1966), false) ); WriteLiteral(">"); #line 58 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(Model.Detail.Category); #line default #line hidden WriteLiteral("</a>\r\n <span"); WriteLiteral(" class=\"text-right pull-right\""); WriteLiteral(">\r\n <span>"); #line 60 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(LT("Blogs.Text.SharePage", "Share this page: ")); #line default #line hidden WriteLiteral("</span>\r\n <a"); WriteLiteral(" class=\"external-social facebook\""); WriteAttribute("href", Tuple.Create(" href=\"", 2202), Tuple.Create("\"", 2280) , Tuple.Create(Tuple.Create("", 2209), Tuple.Create("https://www.facebook.com/share.php?u={{bm.url}}/blogs/", 2209), true) #line 61 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" , Tuple.Create(Tuple.Create("", 2263), Tuple.Create <System.Object, System.Int32>(Model.Detail.URL #line default #line hidden , 2263), false) ); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-facebook\""); WriteLiteral("></i></a>\r\n <a"); WriteLiteral(" class=\"external-social\""); WriteAttribute("href", Tuple.Create(" href=\"", 2360), Tuple.Create("\"", 2433) , Tuple.Create(Tuple.Create("", 2367), Tuple.Create("https://twitter.com/home?status={{bm.url}}/blogs/", 2367), true) #line 62 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" , Tuple.Create(Tuple.Create("", 2416), Tuple.Create <System.Object, System.Int32>(Model.Detail.URL #line default #line hidden , 2416), false) ); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-twitter\""); WriteLiteral("></i></a>\r\n <a"); WriteLiteral(" class=\"external-social\""); WriteAttribute("href", Tuple.Create(" href=\"", 2512), Tuple.Create("\"", 2626) , Tuple.Create(Tuple.Create("", 2519), Tuple.Create("https://pinterest.com/pin/create/button/?url=", 2519), true) #line 63 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" , Tuple.Create(Tuple.Create("", 2564), Tuple.Create <System.Object, System.Int32>(Model.Detail.BlogImage #line default #line hidden , 2564), false) , Tuple.Create(Tuple.Create("", 2587), Tuple.Create("&media=&description=", 2587), true) #line 63 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" , Tuple.Create(Tuple.Create("", 2607), Tuple.Create <System.Object, System.Int32>(Model.Detail.Title #line default #line hidden , 2607), false) ); WriteLiteral("><i"); WriteLiteral(" class=\"fa fa-pinterest\""); WriteLiteral("></i></a>\r\n </span>\r\n </p>\r\n <hr>\r\n\r\n"); WriteLiteral(" "); #line 68 "..\..\Views\Blog\Layout1\BlogDetail.cshtml" Write(Html.Raw((Model.Detail.Body))); #line default #line hidden WriteLiteral("\r\n \r\n </div>\r\n\r\n\r\n\r\n\r\n</div>\r\n"); DefineSection("scripts", () => { WriteLiteral("\r\n <script>\r\n window.app.constant(\'blogConfig\', {\r\n });\r\n </s" + "cript>\r\n"); }); }
public override void Execute() { #line 1 "..\..\Views\Search\Layout1\DynamicListProduct.cshtml" /* * Name: Dynamic Search List * Purpose: Show Product list after search items * Structure: /Views/Search/Layout1/DynamicListProduct.cshtml * Contains (Partial Views Used): * a-/Views/Search/Layout1/Search.cshtml * * Contained In (Where we Use this View): */ #line default #line hidden WriteLiteral("\r\n"); #line 16 "..\..\Views\Search\Layout1\DynamicListProduct.cshtml" ViewBag.Title = Model != null ? Model.Name : ""; Layout = ""; Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); Html.AddCanonicalUrl(Model.CanonicalTags); Html.AddDataLayer(DataLayerObjectType.CollectionDetail, Model); #line default #line hidden WriteLiteral("\r\n\r\n"); #line 27 "..\..\Views\Search\Layout1\DynamicListProduct.cshtml" if (Model != null) { if (Model.ListType == ListDatasetSource.Product && Model.Products != null) { #line default #line hidden #line 31 "..\..\Views\Search\Layout1\DynamicListProduct.cshtml" Write(Html.Partial("~/Views/Search/Layout1/Search.cshtml", Model.Products)); #line default #line hidden #line 31 "..\..\Views\Search\Layout1\DynamicListProduct.cshtml" } } #line default #line hidden WriteLiteral("\r\n"); }
public override void Execute() { #line 1 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" /* * Name: Brand Landing * Purpose: Show landing Page of selected brand * Structure: /Views/Brand/Layout1/BrandList.cshtml * Contains (Partial Views Used): * a-/Views/Shared/Layout1/_Layout.cshtml * Contained In (Where we Use this View) : */ #line default #line hidden WriteLiteral("\r\n"); #line 19 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" ViewBag.Title = "BrandLanding"; Layout = "~/Views/Shared/Layout1/_Layout.cshtml"; Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); #line default #line hidden WriteLiteral("\r\n\r\n<div"); WriteLiteral(" class=\"container\""); WriteLiteral(" ng-controller=\"productCtrl as pm\""); WriteAttribute("ng-init", Tuple.Create(" ng-init=\'", 960), Tuple.Create("\'", 1002) , Tuple.Create(Tuple.Create("", 970), Tuple.Create("pm.initBrands(", 970), true) #line 28 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 984), Tuple.Create <System.Object, System.Int32>(Html.Json(Model) #line default #line hidden , 984), false) , Tuple.Create(Tuple.Create("", 1001), Tuple.Create(")", 1001), true) ); WriteLiteral(">\r\n"); #line 29 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 29 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" /* Start breadcrumb container */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"row no-padding\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <li><a"); WriteLiteral(" href=\"/\""); WriteLiteral(">Home</a></li>\r\n <li>Brands</li>\r\n </ul>\r\n </div>\r\n"); #line 36 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 36 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" /* End breadcrumb container */ #line default #line hidden WriteLiteral("\r\n\r\n"); #line 38 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 38 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" /* Start carousel slider */ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-3 col-xs-12\""); WriteLiteral(" style=\"background:#ddd; min-height:400px;\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"clearfix\""); WriteLiteral("> \r\n <div"); WriteLiteral(" class=\"panel panel-default sidebar-menu ng-scope\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"panel-heading panel-heading-top col-sm-12 no-padding\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-9 no-padding\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 1705), Tuple.Create("\"", 1724) , Tuple.Create(Tuple.Create("", 1712), Tuple.Create("/", 1712), true) #line 45 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 1713), Tuple.Create <System.Object, System.Int32>(Model.Name #line default #line hidden , 1713), false) ); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"padding-bottom-xs\""); WriteLiteral(">\r\n <img"); WriteLiteral(" data-src=\""); #line 47 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" Write(Model.LogoImageName); #line default #line hidden WriteLiteral("\""); WriteLiteral(" class=\"lazyloaded\""); WriteLiteral(" alt=\"\""); WriteAttribute("src", Tuple.Create(" src=\"", 1891), Tuple.Create("\"", 1917) #line 47 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 1897), Tuple.Create <System.Object, System.Int32>(Model.LogoImageName #line default #line hidden , 1897), false) ); WriteLiteral(">\r\n "); WriteLiteral("\r\n </div>\r\n </a>\r\n " + " </div>\r\n </div>\r\n <div"); WriteLiteral(" class=\"panel-body max-panel collapse in panel-padding-top\""); WriteLiteral(" id=\"size\""); WriteLiteral(">\r\n <form"); WriteLiteral(" class=\"ng-pristine ng-valid\""); WriteLiteral(">\r\n"); #line 57 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 57 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" foreach (var subBrand in Model.SubBrands) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"form-group\""); WriteLiteral(">\r\n <label"); WriteLiteral(" class=\"ng-scope\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 2691), Tuple.Create("\"", 2713) , Tuple.Create(Tuple.Create("", 2698), Tuple.Create("/", 2698), true) #line 60 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 2699), Tuple.Create <System.Object, System.Int32>(subBrand.Link #line default #line hidden , 2699), false) ); WriteLiteral(">\r\n <span"); WriteLiteral(" class=\"ng-binding\""); WriteLiteral(">"); #line 61 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" Write(subBrand.Name); #line default #line hidden WriteLiteral("</span>\r\n </a>\r\n " + " </label>\r\n </div>\r\n"); #line 65 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" </form>\r\n </div>\r\n </di" + "v>\r\n </div>\r\n </div>\r\n <div"); WriteLiteral(" class=\"col-sm-9 col-xs-12\""); WriteLiteral(">\r\n <div"); WriteLiteral(" id=\"carousel-example-generic\""); WriteLiteral(" class=\"carousel slide omnicomponent component-slider\""); WriteLiteral(" list-id=\"\""); WriteLiteral(" list-type=\"\""); WriteLiteral(" data-ride=\"carousel\""); WriteLiteral(">\r\n <ol"); WriteLiteral(" class=\"carousel-indicators\""); WriteLiteral(">\r\n"); #line 74 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 74 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.CarouselImage1 != null && Model.CarouselImage1 != "") { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" data-target=\"#carousel-example-generic\""); WriteLiteral(" data-slide-to=\"0\""); WriteLiteral(" class=\"active\""); WriteLiteral("></li>"); #line 76 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 77 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.CarouselImage2 != null && Model.CarouselImage2 != "") { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" data-target=\"#carousel-example-generic\""); WriteLiteral(" data-slide-to=\"1\""); WriteLiteral("></li>"); #line 79 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 80 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.CarouselImage3 != null && Model.CarouselImage3 != "") { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" data-target=\"#carousel-example-generic\""); WriteLiteral(" data-slide-to=\"2\""); WriteLiteral("></li>"); #line 82 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 83 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (@Model.CarouselImage4 != null && @Model.CarouselImage4 != "") { #line default #line hidden WriteLiteral(" <li"); WriteLiteral(" data-target=\"#carousel-example-generic\""); WriteLiteral(" data-slide-to=\"3\""); WriteLiteral("></li>\r\n"); #line 86 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral("\r\n </ol>\r\n <div"); WriteLiteral(" class=\"carousel-inner\""); WriteLiteral(">\r\n"); #line 90 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 90 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.CarouselImage1 != null && Model.CarouselImage1 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"item active\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 4441), Tuple.Create("\"", 4468) #line 93 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 4448), Tuple.Create <System.Object, System.Int32>(Model.CarouselLink1 #line default #line hidden , 4448), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 4508), Tuple.Create("\"", 4535) #line 94 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 4514), Tuple.Create <System.Object, System.Int32>(Model.CarouselImage1 #line default #line hidden , 4514), false) ); WriteLiteral(" alt=\"Slide 1 of carousel\""); WriteLiteral(">\r\n </a>\r\n </div>\r\n"); #line 97 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 98 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.CarouselImage2 != null && Model.CarouselImage2 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"item\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 4837), Tuple.Create("\"", 4864) #line 101 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 4844), Tuple.Create <System.Object, System.Int32>(Model.CarouselLink2 #line default #line hidden , 4844), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 4904), Tuple.Create("\"", 4931) #line 102 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 4910), Tuple.Create <System.Object, System.Int32>(Model.CarouselImage2 #line default #line hidden , 4910), false) ); WriteLiteral(" alt=\"Slide 2 of Carousel\""); WriteLiteral(">\r\n </a>\r\n </div>\r\n"); #line 105 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 106 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.CarouselImage3 != null && Model.CarouselImage3 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"item\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 5233), Tuple.Create("\"", 5260) #line 109 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 5240), Tuple.Create <System.Object, System.Int32>(Model.CarouselLink3 #line default #line hidden , 5240), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 5300), Tuple.Create("\"", 5327) #line 110 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 5306), Tuple.Create <System.Object, System.Int32>(Model.CarouselImage3 #line default #line hidden , 5306), false) ); WriteLiteral(" alt=\"Slide 3 of carousel\""); WriteLiteral(">\r\n </a>\r\n </div>\r\n"); #line 113 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 114 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (@Model.CarouselImage4 != null && @Model.CarouselImage4 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"item\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 5631), Tuple.Create("\"", 5658) #line 117 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 5638), Tuple.Create <System.Object, System.Int32>(Model.CarouselLink4 #line default #line hidden , 5638), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 5698), Tuple.Create("\"", 5725) #line 118 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 5704), Tuple.Create <System.Object, System.Int32>(Model.CarouselImage4 #line default #line hidden , 5704), false) ); WriteLiteral(" alt=\"Slide 4 of Carousel\""); WriteLiteral(">\r\n </a>\r\n </div>\r\n"); #line 121 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" </div><a"); WriteLiteral(" class=\"left carousel-control\""); WriteLiteral(" href=\"#carousel-example-generic\""); WriteLiteral(" data-slide=\"prev\""); WriteLiteral(">\r\n <span"); WriteLiteral(" class=\"fa fa-chevron-left\""); WriteLiteral("></span>\r\n </a>\r\n <a"); WriteLiteral(" class=\"right carousel-control\""); WriteLiteral(" href=\"#carousel-example-generic\""); WriteLiteral(" data-slide=\"next\""); WriteLiteral(">\r\n <span"); WriteLiteral(" class=\"fa fa-chevron-right\""); WriteLiteral("></span>\r\n </a>\r\n </div>\r\n\r\n \r\n"); #line 131 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 131 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" /*Start Brand Category panel*/ #line default #line hidden WriteLiteral("\r\n <div"); WriteLiteral(" class=\"row margin-top-\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-6 no-padding\""); WriteLiteral(">\r\n"); #line 134 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 134 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.WidgetImage1 != null && Model.WidgetImage1 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 6569), Tuple.Create("\"", 6594) #line 137 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 6576), Tuple.Create <System.Object, System.Int32>(Model.WidgetLink1 #line default #line hidden , 6576), false) ); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 6695), Tuple.Create("\"", 6720) #line 139 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 6701), Tuple.Create <System.Object, System.Int32>(Model.WidgetImage1 #line default #line hidden , 6701), false) ); WriteLiteral(" class=\"img-responsive \""); WriteLiteral(" alt=\"Brand Category\""); WriteLiteral(" />\r\n </div>\r\n </a>\r\n " + " </div>"); #line 142 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 143 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.WidgetImage3 != null && Model.WidgetImage3 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 7048), Tuple.Create("\"", 7073) #line 146 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 7055), Tuple.Create <System.Object, System.Int32>(Model.WidgetLink3 #line default #line hidden , 7055), false) ); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 7174), Tuple.Create("\"", 7199) #line 148 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 7180), Tuple.Create <System.Object, System.Int32>(Model.WidgetImage3 #line default #line hidden , 7180), false) ); WriteLiteral(" class=\"img-responsive \""); WriteLiteral(" alt=\"Brand Category\""); WriteLiteral(" />\r\n </div>\r\n </a>\r\n " + " </div>"); #line 151 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n <div"); WriteLiteral(" class=\"col-sm-6 no-padding\""); WriteLiteral(">\r\n"); #line 154 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" #line default #line hidden #line 154 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.WidgetImage2 != null && Model.WidgetImage2 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 7602), Tuple.Create("\"", 7627) #line 157 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 7609), Tuple.Create <System.Object, System.Int32>(Model.WidgetLink2 #line default #line hidden , 7609), false) ); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 7728), Tuple.Create("\"", 7753) #line 159 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 7734), Tuple.Create <System.Object, System.Int32>(Model.WidgetImage2 #line default #line hidden , 7734), false) ); WriteLiteral(" class=\"img-responsive \""); WriteLiteral(" alt=\"Brand Category\""); WriteLiteral(" />\r\n </div>\r\n </a>\r\n " + " </div>"); #line 162 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" "); #line 163 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" if (Model.WidgetImage4 != null && Model.WidgetImage4 != "") { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 8081), Tuple.Create("\"", 8106) #line 166 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 8088), Tuple.Create <System.Object, System.Int32>(Model.WidgetLink4 #line default #line hidden , 8088), false) ); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-sm-12\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 8207), Tuple.Create("\"", 8232) #line 168 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" , Tuple.Create(Tuple.Create("", 8213), Tuple.Create <System.Object, System.Int32>(Model.WidgetImage4 #line default #line hidden , 8213), false) ); WriteLiteral(" class=\"img-responsive \""); WriteLiteral(" alt=\"Brand Category\""); WriteLiteral(" />\r\n </div>\r\n </a>\r\n " + " </div>"); #line 171 "..\..\Views\Brand\Layout1\BrandLanding.cshtml" } #line default #line hidden WriteLiteral(" </div>\r\n </div>\r\n </div>\r\n \r\n </div> " + " \r\n</div>"); }
public override void Execute() { #line 1 "..\..\Views\Brand\BrandProducts.cshtml" /* * Name: Barnd product listing * Purpose: Show All products of selected Brand * Structure: /Views/Blog/BrandProducts.cshtml * Contains (Partial Views Used): * a-/Views/Shared/_Layout.cshtml * b-/Views/search/_SearchResultProducts.cshtml * Contained In (Where we Use this View) : */ #line default #line hidden WriteLiteral("\r\n"); #line 19 "..\..\Views\Brand\BrandProducts.cshtml" ViewBag.Title = @LT("ProductDetail.Label.Search", "Search"); Layout = "~/Views/Shared/_Layout.cshtml"; #line default #line hidden WriteLiteral("\r\n"); #line 23 "..\..\Views\Brand\BrandProducts.cshtml" Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); #line default #line hidden WriteLiteral("\r\n"); #line 30 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.Partial("~/Views/search/_SearchResultProducts.cshtml", Model.ProductList)); #line default #line hidden WriteLiteral("\r\n\r\n"); DefineSection("scripts", () => { WriteLiteral("\r\n <script>\r\n var searchProductUrl = \'"); #line 34 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <SearchController>(c => c.SearchProducts(null))); #line default #line hidden WriteLiteral("\';\r\n var productUrl = \'"); #line 35 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <ProductController>(c => c.ProductDetails(""))); #line default #line hidden WriteLiteral("\';\r\n var addToWishlistUrl = \'"); #line 36 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <AccountController>(c => c.AddProductToWishlist(null))); #line default #line hidden WriteLiteral("\';\r\n var getWishlist = \'"); #line 37 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.BuildUrlFromExpression <AccountController>(c => c.GetWishlist())); #line default #line hidden WriteLiteral(@"'; window.app.constant('productConfig',{ searchProductUrl:searchProductUrl, productUrl : productUrl, addToWishlistUrl : addToWishlistUrl, getWishlist:getWishlist }); window.app.constant('model', "); #line 44 "..\..\Views\Brand\BrandProducts.cshtml" Write(Html.JsonFor(Model)); #line default #line hidden WriteLiteral(");\r\n </script>\r\n"); }); }
public override void Execute() { #line 5 "..\..\Views\Search\DynamicListItems.cshtml" ViewBag.Title = Model != null ? Model.Name : ""; Layout = "~/Views/Shared/_Layout.cshtml"; Html.AddTitleParts(Model.Name); Html.AddMetaTitle(Model.MetaTitle); Html.AddMetaDescriptionParts(Model.MetaDescription); Html.AddMetaKeywordsParts(Model.MetaKeywords); Html.AddCanonicalUrl(Model.CanonicalTags); Html.AddDataLayer(DataLayerObjectType.CollectionDetail, Model); #line default #line hidden WriteLiteral("\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"col-md-12\""); WriteLiteral(">\r\n <ul"); WriteLiteral(" class=\"breadcrumb\""); WriteLiteral(">\r\n <li><a"); WriteLiteral(" href=\"/\""); WriteLiteral(">"); #line 19 "..\..\Views\Search\DynamicListItems.cshtml" Write(LT("ProductListing.Breadcrumb.Home", "Home")); #line default #line hidden WriteLiteral("</a></li>\r\n </ul>\r\n </div>\r\n</div>\r\n<div"); WriteLiteral(" class=\"row\""); WriteLiteral(">\r\n"); #line 24 "..\..\Views\Search\DynamicListItems.cshtml" #line default #line hidden #line 24 "..\..\Views\Search\DynamicListItems.cshtml" if (Model != null) { if ((Model.ListType == ListDatasetSource.Product && Model.Products == null) || (Model.ListType == ListDatasetSource.Category && Model.Categories == null) || (Model.ListType == ListDatasetSource.Image && Model.Images == null) || (Model.ListType == ListDatasetSource.Brand && Model.Brands == null) || (Model.ListType == ListDatasetSource.SubBrand && Model.SubBrands == null) || (Model.ListType == ListDatasetSource.Blog && Model.Blogs == null)) { #line default #line hidden #line 28 "..\..\Views\Search\DynamicListItems.cshtml" Write(Html.Partial("~/Views/Search/_NoResults.cshtml")); #line default #line hidden #line 28 "..\..\Views\Search\DynamicListItems.cshtml" } if (Model.ListType == ListDatasetSource.Product && Model.Products != null) { foreach (var prod in Model.Products.Results) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 1827), Tuple.Create("\"", 1845) , Tuple.Create(Tuple.Create("", 1834), Tuple.Create("/", 1834), true) #line 38 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 1835), Tuple.Create <System.Object, System.Int32>(prod.Slug #line default #line hidden , 1835), false) ); WriteLiteral("> <img"); WriteAttribute("src", Tuple.Create(" src=\"", 1852), Tuple.Create("\"", 1869) #line 38 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 1858), Tuple.Create <System.Object, System.Int32>(prod.Image #line default #line hidden , 1858), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral("></a>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 2071), Tuple.Create("\"", 2089) , Tuple.Create(Tuple.Create("", 2078), Tuple.Create("/", 2078), true) #line 41 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 2079), Tuple.Create <System.Object, System.Int32>(prod.Slug #line default #line hidden , 2079), false) ); WriteLiteral("><h4>"); #line 41 "..\..\Views\Search\DynamicListItems.cshtml" Write(prod.Name); #line default #line hidden WriteLiteral("</h4></a>\r\n <p>"); #line 42 "..\..\Views\Search\DynamicListItems.cshtml" Write(prod.Description); #line default #line hidden WriteLiteral("</p>\r\n <h5>"); #line 43 "..\..\Views\Search\DynamicListItems.cshtml" Write(prod.Brand); #line default #line hidden WriteLiteral("</h5>\r\n <p"); WriteLiteral(" class=\"price\""); WriteLiteral(">\r\n"); #line 45 "..\..\Views\Search\DynamicListItems.cshtml" #line default #line hidden #line 45 "..\..\Views\Search\DynamicListItems.cshtml" if (@prod.Price != null) { #line default #line hidden #line 46 "..\..\Views\Search\DynamicListItems.cshtml" Write(prod.Price.Formatted.WithTax); #line default #line hidden #line 46 "..\..\Views\Search\DynamicListItems.cshtml" } #line default #line hidden WriteLiteral(" </p>\r\n </div>\r\n " + " <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <button"); WriteAttribute("ng-click", Tuple.Create(" ng-click=\"", 2548), Tuple.Create("\"", 2595) , Tuple.Create(Tuple.Create("", 2559), Tuple.Create("gm.addToBasket(\'", 2559), true) #line 50 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 2575), Tuple.Create <System.Object, System.Int32>(prod.RecordId #line default #line hidden , 2575), false) , Tuple.Create(Tuple.Create("", 2589), Tuple.Create("\',1,0)", 2589), true) ); WriteLiteral(" class=\"btn btn-success\""); WriteLiteral(">Buy Now</button>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 54 "..\..\Views\Search\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Image && Model.Images != null) { foreach (var img in Model.Images) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 3113), Tuple.Create("\"", 3129) #line 65 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 3120), Tuple.Create <System.Object, System.Int32>(img.Link #line default #line hidden , 3120), false) ); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 3169), Tuple.Create("\"", 3186) #line 66 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 3178), Tuple.Create <System.Object, System.Int32>(img.Url #line default #line hidden , 3178), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </a>\r\n </div>\r\n " + " </div>\r\n </div>\r\n"); #line 71 "..\..\Views\Search\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Brand && Model.Brands != null) { foreach (var brand in Model.Brands) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 3778), Tuple.Create("\"", 3804) #line 81 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 3784), Tuple.Create <System.Object, System.Int32>(brand.LogoImageName #line default #line hidden , 3784), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 84 "..\..\Views\Search\DynamicListItems.cshtml" Write(brand.ManufacturerName); #line default #line hidden WriteLiteral("</h4>\r\n <p>"); #line 85 "..\..\Views\Search\DynamicListItems.cshtml" Write(brand.Description); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 4205), Tuple.Create("\"", 4224) , Tuple.Create(Tuple.Create("", 4212), Tuple.Create("/", 4212), true) #line 88 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 4213), Tuple.Create <System.Object, System.Int32>(brand.Link #line default #line hidden , 4213), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 92 "..\..\Views\Search\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.SubBrand && Model.SubBrands != null) { foreach (var brand in Model.SubBrands) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("src", Tuple.Create(" src=\"", 4736), Tuple.Create("\"", 4762) #line 101 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 4742), Tuple.Create <System.Object, System.Int32>(brand.LogoImageName #line default #line hidden , 4742), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 104 "..\..\Views\Search\DynamicListItems.cshtml" Write(brand.ManufacturerName); #line default #line hidden WriteLiteral("</h4>\r\n <p>"); #line 105 "..\..\Views\Search\DynamicListItems.cshtml" Write(brand.Description); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 5163), Tuple.Create("\"", 5182) , Tuple.Create(Tuple.Create("", 5170), Tuple.Create("/", 5170), true) #line 108 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 5171), Tuple.Create <System.Object, System.Int32>(brand.Link #line default #line hidden , 5171), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 112 "..\..\Views\Search\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Category && Model.Categories != null) { foreach (var cat in Model.Categories) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"category-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 5695), Tuple.Create("\"", 5714) #line 121 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 5704), Tuple.Create <System.Object, System.Int32>(cat.Image #line default #line hidden , 5704), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 124 "..\..\Views\Search\DynamicListItems.cshtml" Write(cat.Name); #line default #line hidden WriteLiteral("</h4>\r\n "); WriteLiteral("\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 6103), Tuple.Create("\"", 6120) , Tuple.Create(Tuple.Create("", 6110), Tuple.Create("/", 6110), true) #line 128 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 6111), Tuple.Create <System.Object, System.Int32>(cat.Link #line default #line hidden , 6111), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 132 "..\..\Views\Search\DynamicListItems.cshtml" } } if (Model.ListType == ListDatasetSource.Blog && Model.Blogs != null) { foreach (var blog in Model.Blogs) { #line default #line hidden WriteLiteral(" <div"); WriteLiteral(" class=\"col-xs-6 col-sm-3 col-md-3 col-lg-3\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-container\""); WriteLiteral(">\r\n <div"); WriteLiteral(" class=\"product-image-384\""); WriteLiteral(">\r\n <img"); WriteAttribute("ng-src", Tuple.Create(" ng-src=\"", 6621), Tuple.Create("\"", 6645) #line 142 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 6630), Tuple.Create <System.Object, System.Int32>(blog.BlogImage #line default #line hidden , 6630), false) ); WriteLiteral(" alt=\"\""); WriteLiteral(" onerror=\"this.src = DEFAULT_IMAGE_URL\""); WriteLiteral(" class=\"img-responsive img-full\""); WriteLiteral(">\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-detail\""); WriteLiteral(">\r\n <h4>"); #line 145 "..\..\Views\Search\DynamicListItems.cshtml" Write(blog.Title); #line default #line hidden WriteLiteral("</h4>\r\n <p>"); #line 146 "..\..\Views\Search\DynamicListItems.cshtml" Write(blog.Category); #line default #line hidden WriteLiteral("</p>\r\n <p>"); #line 147 "..\..\Views\Search\DynamicListItems.cshtml" Write(blog.Author); #line default #line hidden WriteLiteral("</p>\r\n </div>\r\n <div"); WriteLiteral(" class=\"product-button\""); WriteLiteral(">\r\n <a"); WriteAttribute("href", Tuple.Create(" href=\"", 7079), Tuple.Create("\"", 7102) , Tuple.Create(Tuple.Create("", 7086), Tuple.Create("/blogs/", 7086), true) #line 150 "..\..\Views\Search\DynamicListItems.cshtml" , Tuple.Create(Tuple.Create("", 7093), Tuple.Create <System.Object, System.Int32>(blog.URL #line default #line hidden , 7093), false) ); WriteLiteral(" class=\"shop-now\""); WriteLiteral(">View Blogs</a>\r\n </div>\r\n </div>\r\n " + " </div>\r\n"); #line 154 "..\..\Views\Search\DynamicListItems.cshtml" } } } #line default #line hidden WriteLiteral("</div>\r\n"); }