Hitta butik

Här hittar ni enkelt butiker i närheten av där ni är. Ange din ort eller ditt postnummer nedan.

 

Error compiling template "/Designs/Rapido/Paragraph/Stores.cshtml"
Line 113: Using the generic type 'Converter' requires 2 type arguments
Line 127: The name 'GenerateRgba' does not exist in the current context
Line 257: The name 'Render' does not exist in the current context
Line 453: The name 'Render' does not exist in the current context
Line 484: The name 'Render' does not exist in the current context
Line 502: The name 'Render' does not exist in the current context
Line 513: The name 'Render' does not exist in the current context
Line 558: The name 'Render' does not exist in the current context
Line 569: The name 'Render' does not exist in the current context
Line 663: The name 'Render' does not exist in the current context
Line 697: The name 'Render' does not exist in the current context
Line 708: The name 'Render' does not exist in the current context
Line 719: The name 'Render' does not exist in the current context
Line 764: The name 'Render' does not exist in the current context
Line 775: The name 'Render' does not exist in the current context
Line 855: The name 'Render' does not exist in the current context
Line 866: The name 'Render' does not exist in the current context
Line 877: The name 'Render' does not exist in the current context
Line 922: The name 'Render' does not exist in the current context
Line 933: The name 'Render' does not exist in the current context
Line 973: The name 'Render' does not exist in the current context
Line 1067: The name 'Render' does not exist in the current context
Line 1087: The name 'Render' does not exist in the current context
Line 1098: The name 'Render' does not exist in the current context
Line 1109: The name 'Render' does not exist in the current context
Line 1150: The name 'Render' does not exist in the current context
Line 1161: The name 'Render' does not exist in the current context
Line 1255: The name 'Render' does not exist in the current context
Line 1273: The name 'Render' does not exist in the current context
Line 1284: The name 'Render' does not exist in the current context
Line 1295: The name 'Render' does not exist in the current context
Line 1336: The name 'Render' does not exist in the current context
Line 1347: The name 'Render' does not exist in the current context
Line 1449: The name 'Render' does not exist in the current context
Line 1467: The name 'Render' does not exist in the current context
Line 1478: The name 'Render' does not exist in the current context
Line 1489: The name 'Render' does not exist in the current context
Line 1530: The name 'Render' does not exist in the current context
Line 1541: The name 'Render' does not exist in the current context
Line 1623: The name 'Render' does not exist in the current context
Line 1656: The name 'Render' does not exist in the current context
Line 1667: The name 'Render' does not exist in the current context
Line 1678: The name 'Render' does not exist in the current context
Line 1719: The name 'Render' does not exist in the current context
Line 1730: The name 'Render' does not exist in the current context
Line 1878: The name 'RenderContent' does not exist in the current context

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 #line 44 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 17 using Dynamicweb.Frontend; 18 19 #line default 20 #line hidden 21 22 #line 45 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 23 using Dynamicweb.Rapido.Blocks.Components.General; 24 25 #line default 26 #line hidden 27 28 #line 46 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 29 using Dynamicweb.Rapido.Blocks.Components; 30 31 #line default 32 #line hidden 33 34 35 public class RazorEngine_96b26dfeffbb429f83a477e48d447e38 : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> { 36 37 #line hidden 38 39 #line 33 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 40 41 public string columnClass() 42 { 43 string columnValue = Model.Item.GetList("Width") != null ? Model.Item.GetList("Width").SelectedValue.ToString() : "12"; 44 string columnClasses = "grid__col-lg-" + columnValue + " grid__col-md-" + columnValue + " grid__col-sm-" + columnValue; 45 string hideOnMobile = Model.Item.GetList("WidthMobile").SelectedValue.ToLower() == "hide" ? " u-hidden-xs u-hidden-xxs" : " grid__col-xs-" + Model.Item.GetList("WidthMobile").SelectedValue; 46 47 return columnClasses + hideOnMobile; 48 } 49 50 #line default 51 #line hidden 52 53 54 #line 48 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 55 56 public class ContentParagraph 57 { 58 public string Title { get; set; } 59 public Image Image { get; set; } 60 public string Text { get; set; } 61 public string Link { get; set; } 62 public bool SetImageAsBackground { get; set; } 63 public bool HideOuterPadding { get; set; } 64 public string InnerPaddingCss { get; set; } 65 public string CardCss { get; set; } 66 public string ButtonWrapperCss { get; set; } 67 public string Layout { get; set; } 68 public string Module { get; set; } 69 public Link ButtonPrimary { get; set; } 70 public Link ButtonSecondary { get; set; } 71 } 72 73 #line default 74 #line hidden 75 76 77 #line 67 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 78 public RazorEngine.Templating.TemplateWriter RenderParagraph(ItemViewModel item, bool renderModule = true) 79 { 80 #line default 81 #line hidden 82 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 83 84 #line 68 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 85 86 if (item != null) { 87 string layout = item.GetList("ContentPositions").SelectedValue; 88 89 string paragraphClasses = ""; 90 string paragraphWidth = !String.IsNullOrEmpty(item.GetString("Width")) ? item.GetList("Width").SelectedValue : "12"; 91 paragraphClasses += " grid__col-lg-" + paragraphWidth + " grid__col-md-" + paragraphWidth + " grid__col-sm-" + paragraphWidth; 92 if (item.GetList("WidthMobile").SelectedValue == "hide") 93 { 94 paragraphClasses += " u-hidden-xs"; 95 } 96 else 97 { 98 paragraphClasses += " grid__col-xs-" + item.GetList("WidthMobile").SelectedValue; 99 } 100 paragraphClasses += item.GetBoolean("HidePadding") ? " paragraph-container--no-padding" : ""; 101 paragraphClasses += layout == "middle-center" || layout == "middle-left" ? " u-middle-horizontal grid--justify-center grid--align-self-center" : ""; 102 103 //Alternative Design Layout 104 var designLayout = Model.Item.GetItem("CustomSettings") != null ? Model.Item.GetItem("CustomSettings").GetString("DesignLayout") != null ? Model.Item.GetItem("CustomSettings").GetList("DesignLayout").SelectedValue : "" : ""; 105 paragraphClasses += !String.IsNullOrEmpty(designLayout) ? designLayout : ""; 106 107 string title = item.GetBoolean("ShowTitle") ? item.GetString("Title") : ""; 108 string cardClass = item.GetBoolean("ShowAsCard") ? "paragraph-card" : ""; 109 string buttonSpacing = ""; 110 string buttonAlignment = layout == "all-centered" || layout == "middle-center" ? "grid--justify-center" : ""; 111 112 string image = item.GetFile("Image") != null ? item.GetFile("Image").ToString() + "&" + item.GetFile("Image").GetFocalPointParameters() : ""; 113 int cropMode = !String.IsNullOrEmpty(Converter.ToString(item.GetList("ImageCrop"))) ? Convert.ToInt32(item.GetList("ImageCrop").SelectedValue) : 0; 114 ImageStyle imageStyle = item.GetList("ImageStyle").SelectedValue == "ball" ? ImageStyle.Ball : ImageStyle.None; 115 ButtonLayout primaryButtonLayout = !String.IsNullOrEmpty(item.GetList("ButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("ButtonDesign").SelectedValue[0]) + item.GetList("ButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Primary; 116 if (primaryButtonLayout == ButtonLayout.Link) 117 { 118 primaryButtonLayout = ButtonLayout.LinkClean; 119 } 120 ButtonLayout secondaryButtonLayout = !String.IsNullOrEmpty(item.GetList("SecondaryButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("SecondaryButtonDesign").SelectedValue[0]) + item.GetList("SecondaryButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Secondary; 121 if (secondaryButtonLayout == ButtonLayout.Link) 122 { 123 secondaryButtonLayout = ButtonLayout.LinkClean; 124 } 125 ImageFilter primaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterPrimary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterPrimary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 126 ImageFilter secondaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterSecondary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterSecondary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 127 string imageFilterColorCode = item.GetString("ColorForTheFilter").StartsWith("#") && primaryImageFilter == ImageFilter.Colorize ? GenerateRgba(item.GetString("ColorForTheFilter"), 0.3) : ""; 128 bool setImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false; 129 130 Image paragraphImage = null; 131 if (!String.IsNullOrEmpty(image)) 132 { 133 paragraphImage = new Image 134 { 135 Path = image, 136 Link = item.GetString("Link"), 137 FilterPrimary = primaryImageFilter, 138 FilterSecondary = secondaryImageFilter, 139 FilterColor = imageFilterColorCode, 140 Style = imageStyle, 141 ImageDefault = new ImageSettings 142 { 143 Crop = cropMode, 144 Height = 845, 145 Width = 1920 146 }, 147 ImageMedium = new ImageSettings 148 { 149 Crop = cropMode, 150 Height = 450, 151 Width = 1024 152 }, 153 ImageSmall = new ImageSettings 154 { 155 Crop = cropMode, 156 Height = 544, 157 Width = 640 158 } 159 }; 160 } 161 162 ContentParagraph paragraph = new ContentParagraph 163 { 164 Title = title, 165 Text = item.GetString("Text"), 166 Image = paragraphImage, 167 Link = item.GetString("Link"), 168 Module = !String.IsNullOrEmpty(Model.GetModuleOutput()) && renderModule ? Model.GetModuleOutput() : "", 169 InnerPaddingCss = item.GetList("InnerPadding") != null ? "paragraph-container__body--padding-" + item.GetList("InnerPadding").SelectedValue : "", 170 CardCss = cardClass, 171 HideOuterPadding = item.GetBoolean("HidePadding"), 172 SetImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false, 173 ButtonWrapperCss = buttonSpacing + buttonAlignment, 174 Layout = layout 175 }; 176 177 if (!String.IsNullOrEmpty(item.GetString("Link"))) 178 { 179 paragraph.ButtonPrimary = new Link 180 { 181 Href = item.GetString("Link"), 182 Title = item.GetString("LinkText"), 183 ButtonLayout = primaryButtonLayout, 184 CssClass = "u-no-margin" 185 }; 186 187 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) { 188 paragraph.ButtonPrimary.CssClass = ""; 189 } 190 } 191 192 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) 193 { 194 if (!String.IsNullOrEmpty(item.GetString("Link"))) 195 { 196 paragraph.ButtonPrimary.CssClass += " u-margin-right--lg"; 197 } 198 199 paragraph.ButtonSecondary = new Link 200 { 201 Href = item.GetString("SecondaryLink"), 202 Title = item.GetString("SecondaryLinkText"), 203 ButtonLayout = secondaryButtonLayout 204 }; 205 } 206 207 208 209 #line default 210 #line hidden 211 WriteLiteralTo(__razor_helper_writer, " <div"); 212 213 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 9398), Tuple.Create("\"", 9450) 214 , Tuple.Create(Tuple.Create("", 9406), Tuple.Create("paragraph-container", 9406), true) 215 216 #line 190 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 217 , Tuple.Create(Tuple.Create(" ", 9425), Tuple.Create<System.Object, System.Int32>(paragraphClasses 218 219 #line default 220 #line hidden 221 , 9426), false) 222 , Tuple.Create(Tuple.Create(" ", 9443), Tuple.Create("dw-mod", 9444), true) 223 ); 224 225 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 226 227 228 #line 191 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 229 230 231 #line default 232 #line hidden 233 234 #line 191 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 235 if (setImageAsBackground == true && paragraphImage != null) 236 { 237 paragraphImage.CssClass = "background-image__cover"; 238 239 240 241 #line default 242 #line hidden 243 WriteLiteralTo(__razor_helper_writer, " <div"); 244 245 WriteLiteralTo(__razor_helper_writer, " class=\"background-image dw-mod\""); 246 247 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 248 249 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__wrapper dw-mod\""); 250 251 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 252 253 WriteLiteralTo(__razor_helper_writer, " "); 254 255 256 #line 197 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 257 WriteTo(__razor_helper_writer, Render(paragraphImage)); 258 259 260 #line default 261 #line hidden 262 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 263 264 265 #line 200 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 266 } 267 268 269 #line default 270 #line hidden 271 WriteLiteralTo(__razor_helper_writer, " "); 272 273 274 #line 201 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 275 276 switch (layout) 277 { 278 case "title-top": 279 280 281 #line default 282 #line hidden 283 284 #line 205 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 285 WriteTo(__razor_helper_writer, RenderLayoutTitleTop(paragraph)); 286 287 288 #line default 289 #line hidden 290 291 #line 205 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 292 293 break; 294 case "image-left": 295 296 297 #line default 298 #line hidden 299 300 #line 208 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 301 WriteTo(__razor_helper_writer, RenderLayoutImageLeft(paragraph)); 302 303 304 #line default 305 #line hidden 306 307 #line 208 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 308 309 break; 310 case "image-right": 311 312 313 #line default 314 #line hidden 315 316 #line 211 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 317 WriteTo(__razor_helper_writer, RenderLayoutImageRight(paragraph)); 318 319 320 #line default 321 #line hidden 322 323 #line 211 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 324 325 break; 326 case "image-centered": 327 328 329 #line default 330 #line hidden 331 332 #line 214 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 333 WriteTo(__razor_helper_writer, RenderLayoutImageCentered(paragraph)); 334 335 336 #line default 337 #line hidden 338 339 #line 214 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 340 341 break; 342 case "all-centered": 343 344 345 #line default 346 #line hidden 347 348 #line 217 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 349 WriteTo(__razor_helper_writer, RenderLayoutAllCentered(paragraph)); 350 351 352 #line default 353 #line hidden 354 355 #line 217 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 356 357 break; 358 case "middle-center": 359 case "middle-left": 360 361 362 #line default 363 #line hidden 364 365 #line 221 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 366 WriteTo(__razor_helper_writer, RenderLayoutMiddle(paragraph)); 367 368 369 #line default 370 #line hidden 371 372 #line 221 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 373 374 break; 375 default: 376 377 378 #line default 379 #line hidden 380 381 #line 224 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 382 WriteTo(__razor_helper_writer, RenderLayoutImageTop(paragraph)); 383 384 385 #line default 386 #line hidden 387 388 #line 224 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 389 390 break; 391 } 392 393 394 #line default 395 #line hidden 396 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 397 398 399 #line 229 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 400 } 401 402 403 #line default 404 #line hidden 405 }); 406 407 #line 230 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 408 } 409 #line default 410 #line hidden 411 412 413 #line 233 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 414 public RazorEngine.Templating.TemplateWriter RenderLayoutTitleTop(ContentParagraph settings) 415 { 416 #line default 417 #line hidden 418 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 419 420 #line 234 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 421 422 423 424 #line default 425 #line hidden 426 WriteLiteralTo(__razor_helper_writer, " <div"); 427 428 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10905), Tuple.Create("\"", 10974) 429 , Tuple.Create(Tuple.Create("", 10913), Tuple.Create("grid__cell", 10913), true) 430 431 #line 235 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 432 , Tuple.Create(Tuple.Create(" ", 10923), Tuple.Create<System.Object, System.Int32>(settings.CardCss 433 434 #line default 435 #line hidden 436 , 10924), false) 437 438 #line 235 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 439 , Tuple.Create(Tuple.Create(" ", 10941), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 440 441 #line default 442 #line hidden 443 , 10942), false) 444 , Tuple.Create(Tuple.Create(" ", 10967), Tuple.Create("dw-mod", 10968), true) 445 ); 446 447 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 448 449 WriteLiteralTo(__razor_helper_writer, " "); 450 451 452 #line 236 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 453 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 454 455 456 #line default 457 #line hidden 458 WriteLiteralTo(__razor_helper_writer, "\r\n"); 459 460 461 #line 237 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 462 463 464 #line default 465 #line hidden 466 467 #line 237 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 468 if (!settings.SetImageAsBackground && settings.Image != null) 469 { 470 471 472 #line default 473 #line hidden 474 WriteLiteralTo(__razor_helper_writer, " <div"); 475 476 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 477 478 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 479 480 WriteLiteralTo(__razor_helper_writer, " "); 481 482 483 #line 240 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 484 WriteTo(__razor_helper_writer, Render(settings.Image)); 485 486 487 #line default 488 #line hidden 489 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 490 491 492 #line 242 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 493 } 494 495 496 #line default 497 #line hidden 498 WriteLiteralTo(__razor_helper_writer, " "); 499 500 501 #line 243 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 502 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text})); 503 504 505 #line default 506 #line hidden 507 WriteLiteralTo(__razor_helper_writer, "\r\n"); 508 509 WriteLiteralTo(__razor_helper_writer, " "); 510 511 512 #line 244 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 513 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 514 515 516 #line default 517 #line hidden 518 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 519 520 521 #line 246 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 522 523 524 #line default 525 #line hidden 526 527 #line 246 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 528 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 529 { 530 531 532 #line default 533 #line hidden 534 WriteLiteralTo(__razor_helper_writer, " <div"); 535 536 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 537 538 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 539 540 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11543), Tuple.Create("\"", 11612) 541 , Tuple.Create(Tuple.Create("", 11551), Tuple.Create("paragraph-container__button", 11551), true) 542 543 #line 249 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 544 , Tuple.Create(Tuple.Create(" ", 11578), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 545 546 #line default 547 #line hidden 548 , 11579), false) 549 , Tuple.Create(Tuple.Create(" ", 11605), Tuple.Create("dw-mod", 11606), true) 550 ); 551 552 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 553 554 WriteLiteralTo(__razor_helper_writer, " "); 555 556 557 #line 250 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 558 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 559 560 561 #line default 562 #line hidden 563 WriteLiteralTo(__razor_helper_writer, "\r\n"); 564 565 WriteLiteralTo(__razor_helper_writer, " "); 566 567 568 #line 251 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 569 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 570 571 572 #line default 573 #line hidden 574 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 575 576 577 #line 254 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 578 } 579 580 581 #line default 582 #line hidden 583 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 584 585 586 #line 256 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 587 588 589 #line default 590 #line hidden 591 }); 592 593 #line 256 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 594 } 595 #line default 596 #line hidden 597 598 599 #line 258 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 600 public RazorEngine.Templating.TemplateWriter RenderLayoutImageLeft(ContentParagraph settings) 601 { 602 #line default 603 #line hidden 604 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 605 606 #line 259 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 607 608 609 610 #line default 611 #line hidden 612 WriteLiteralTo(__razor_helper_writer, " <div"); 613 614 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11865), Tuple.Create("\"", 11934) 615 , Tuple.Create(Tuple.Create("", 11873), Tuple.Create("grid__cell", 11873), true) 616 617 #line 260 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 618 , Tuple.Create(Tuple.Create(" ", 11883), Tuple.Create<System.Object, System.Int32>(settings.CardCss 619 620 #line default 621 #line hidden 622 , 11884), false) 623 624 #line 260 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 625 , Tuple.Create(Tuple.Create(" ", 11901), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 626 627 #line default 628 #line hidden 629 , 11902), false) 630 , Tuple.Create(Tuple.Create(" ", 11927), Tuple.Create("dw-mod", 11928), true) 631 ); 632 633 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 634 635 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--external-bleed\""); 636 637 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 638 639 640 #line 262 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 641 642 643 #line default 644 #line hidden 645 646 #line 262 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 647 if (!settings.SetImageAsBackground && settings.Image != null) 648 { 649 650 651 #line default 652 #line hidden 653 WriteLiteralTo(__razor_helper_writer, " <div"); 654 655 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-3\""); 656 657 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 658 659 WriteLiteralTo(__razor_helper_writer, " "); 660 661 662 #line 265 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 663 WriteTo(__razor_helper_writer, Render(settings.Image)); 664 665 666 #line default 667 #line hidden 668 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 669 670 671 #line 267 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 672 } 673 674 675 #line default 676 #line hidden 677 WriteLiteralTo(__razor_helper_writer, " <div"); 678 679 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12221), Tuple.Create("\"", 12273) 680 , Tuple.Create(Tuple.Create("", 12229), Tuple.Create("grid__col-9", 12229), true) 681 682 #line 268 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 683 , Tuple.Create(Tuple.Create(" ", 12240), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 684 685 #line default 686 #line hidden 687 , 12241), false) 688 , Tuple.Create(Tuple.Create(" ", 12266), Tuple.Create("dw-mod", 12267), true) 689 ); 690 691 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 692 693 WriteLiteralTo(__razor_helper_writer, " "); 694 695 696 #line 269 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 697 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 698 699 700 #line default 701 #line hidden 702 WriteLiteralTo(__razor_helper_writer, "\r\n"); 703 704 WriteLiteralTo(__razor_helper_writer, " "); 705 706 707 #line 270 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 708 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 709 710 711 #line default 712 #line hidden 713 WriteLiteralTo(__razor_helper_writer, "\r\n"); 714 715 WriteLiteralTo(__razor_helper_writer, " "); 716 717 718 #line 271 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 719 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 720 721 722 #line default 723 #line hidden 724 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 725 726 727 #line 273 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 728 729 730 #line default 731 #line hidden 732 733 #line 273 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 734 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 735 { 736 737 738 #line default 739 #line hidden 740 WriteLiteralTo(__razor_helper_writer, " <div"); 741 742 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 743 744 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 745 746 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12697), Tuple.Create("\"", 12766) 747 , Tuple.Create(Tuple.Create("", 12705), Tuple.Create("paragraph-container__button", 12705), true) 748 749 #line 276 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 750 , Tuple.Create(Tuple.Create(" ", 12732), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 751 752 #line default 753 #line hidden 754 , 12733), false) 755 , Tuple.Create(Tuple.Create(" ", 12759), Tuple.Create("dw-mod", 12760), true) 756 ); 757 758 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 759 760 WriteLiteralTo(__razor_helper_writer, " "); 761 762 763 #line 277 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 764 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 765 766 767 #line default 768 #line hidden 769 WriteLiteralTo(__razor_helper_writer, "\r\n"); 770 771 WriteLiteralTo(__razor_helper_writer, " "); 772 773 774 #line 278 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 775 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 776 777 778 #line default 779 #line hidden 780 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 781 782 783 #line 281 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 784 } 785 786 787 #line default 788 #line hidden 789 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div>\r\n"); 790 791 792 #line 285 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 793 794 795 #line default 796 #line hidden 797 }); 798 799 #line 285 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 800 } 801 #line default 802 #line hidden 803 804 805 #line 287 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 806 public RazorEngine.Templating.TemplateWriter RenderLayoutImageRight(ContentParagraph settings) 807 { 808 #line default 809 #line hidden 810 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 811 812 #line 288 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 813 814 815 816 #line default 817 #line hidden 818 WriteLiteralTo(__razor_helper_writer, " <div"); 819 820 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13096), Tuple.Create("\"", 13132) 821 , Tuple.Create(Tuple.Create("", 13104), Tuple.Create("grid__cell", 13104), true) 822 823 #line 289 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 824 , Tuple.Create(Tuple.Create(" ", 13114), Tuple.Create<System.Object, System.Int32>(settings.CardCss 825 826 #line default 827 #line hidden 828 , 13115), false) 829 ); 830 831 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 832 833 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--external-bleed\""); 834 835 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 836 837 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13201), Tuple.Create("\"", 13253) 838 , Tuple.Create(Tuple.Create("", 13209), Tuple.Create("grid__col-9", 13209), true) 839 840 #line 291 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 841 , Tuple.Create(Tuple.Create(" ", 13220), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 842 843 #line default 844 #line hidden 845 , 13221), false) 846 , Tuple.Create(Tuple.Create(" ", 13246), Tuple.Create("dw-mod", 13247), true) 847 ); 848 849 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 850 851 WriteLiteralTo(__razor_helper_writer, " "); 852 853 854 #line 292 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 855 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 856 857 858 #line default 859 #line hidden 860 WriteLiteralTo(__razor_helper_writer, "\r\n"); 861 862 WriteLiteralTo(__razor_helper_writer, " "); 863 864 865 #line 293 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 866 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 867 868 869 #line default 870 #line hidden 871 WriteLiteralTo(__razor_helper_writer, "\r\n"); 872 873 WriteLiteralTo(__razor_helper_writer, " "); 874 875 876 #line 294 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 877 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 878 879 880 #line default 881 #line hidden 882 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 883 884 885 #line 296 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 886 887 888 #line default 889 #line hidden 890 891 #line 296 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 892 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 893 { 894 895 896 #line default 897 #line hidden 898 WriteLiteralTo(__razor_helper_writer, " <div"); 899 900 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 901 902 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 903 904 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13677), Tuple.Create("\"", 13746) 905 , Tuple.Create(Tuple.Create("", 13685), Tuple.Create("paragraph-container__button", 13685), true) 906 907 #line 299 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 908 , Tuple.Create(Tuple.Create(" ", 13712), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 909 910 #line default 911 #line hidden 912 , 13713), false) 913 , Tuple.Create(Tuple.Create(" ", 13739), Tuple.Create("dw-mod", 13740), true) 914 ); 915 916 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 917 918 WriteLiteralTo(__razor_helper_writer, " "); 919 920 921 #line 300 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 922 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 923 924 925 #line default 926 #line hidden 927 WriteLiteralTo(__razor_helper_writer, "\r\n"); 928 929 WriteLiteralTo(__razor_helper_writer, " "); 930 931 932 #line 301 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 933 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 934 935 936 #line default 937 #line hidden 938 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 939 940 941 #line 304 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 942 } 943 944 945 #line default 946 #line hidden 947 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 948 949 950 #line 306 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 951 952 953 #line default 954 #line hidden 955 956 #line 306 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 957 if (!settings.SetImageAsBackground && settings.Image != null) 958 { 959 960 961 #line default 962 #line hidden 963 WriteLiteralTo(__razor_helper_writer, " <div"); 964 965 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-3\""); 966 967 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 968 969 WriteLiteralTo(__razor_helper_writer, " "); 970 971 972 #line 309 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 973 WriteTo(__razor_helper_writer, Render(settings.Image)); 974 975 976 #line default 977 #line hidden 978 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 979 980 981 #line 311 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 982 } 983 984 985 #line default 986 #line hidden 987 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 988 989 990 #line 314 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 991 992 993 #line default 994 #line hidden 995 }); 996 997 #line 314 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 998 } 999 #line default 1000 #line hidden 1001 1002 1003 #line 316 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1004 public RazorEngine.Templating.TemplateWriter RenderLayoutImageCentered(ContentParagraph settings) 1005 { 1006 #line default 1007 #line hidden 1008 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1009 1010 #line 317 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1011 1012 1013 1014 #line default 1015 #line hidden 1016 WriteLiteralTo(__razor_helper_writer, " <div"); 1017 1018 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14297), Tuple.Create("\"", 14366) 1019 , Tuple.Create(Tuple.Create("", 14305), Tuple.Create("grid__cell", 14305), true) 1020 1021 #line 318 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1022 , Tuple.Create(Tuple.Create(" ", 14315), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1023 1024 #line default 1025 #line hidden 1026 , 14316), false) 1027 1028 #line 318 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1029 , Tuple.Create(Tuple.Create(" ", 14333), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1030 1031 #line default 1032 #line hidden 1033 , 14334), false) 1034 , Tuple.Create(Tuple.Create(" ", 14359), Tuple.Create("dw-mod", 14360), true) 1035 ); 1036 1037 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 1038 1039 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-center\""); 1040 1041 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1042 1043 1044 #line 321 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1045 1046 1047 #line default 1048 #line hidden 1049 1050 #line 321 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1051 if (!settings.SetImageAsBackground && settings.Image != null) 1052 { 1053 1054 1055 #line default 1056 #line hidden 1057 WriteLiteralTo(__razor_helper_writer, " <div"); 1058 1059 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg u-inline-block\""); 1060 1061 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1062 1063 WriteLiteralTo(__razor_helper_writer, " "); 1064 1065 1066 #line 324 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1067 WriteTo(__razor_helper_writer, Render(settings.Image)); 1068 1069 1070 #line default 1071 #line hidden 1072 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1073 1074 1075 #line 326 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1076 } 1077 1078 1079 #line default 1080 #line hidden 1081 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 1082 1083 WriteLiteralTo(__razor_helper_writer, " "); 1084 1085 1086 #line 329 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1087 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1088 1089 1090 #line default 1091 #line hidden 1092 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1093 1094 WriteLiteralTo(__razor_helper_writer, " "); 1095 1096 1097 #line 330 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1098 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1099 1100 1101 #line default 1102 #line hidden 1103 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1104 1105 WriteLiteralTo(__razor_helper_writer, " "); 1106 1107 1108 #line 331 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1109 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1110 1111 1112 #line default 1113 #line hidden 1114 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 1115 1116 1117 #line 333 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1118 1119 1120 #line default 1121 #line hidden 1122 1123 #line 333 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1124 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1125 { 1126 1127 1128 #line default 1129 #line hidden 1130 WriteLiteralTo(__razor_helper_writer, " <div"); 1131 1132 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14988), Tuple.Create("\"", 15057) 1133 , Tuple.Create(Tuple.Create("", 14996), Tuple.Create("paragraph-container__button", 14996), true) 1134 1135 #line 335 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1136 , Tuple.Create(Tuple.Create(" ", 15023), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1137 1138 #line default 1139 #line hidden 1140 , 15024), false) 1141 , Tuple.Create(Tuple.Create(" ", 15050), Tuple.Create("dw-mod", 15051), true) 1142 ); 1143 1144 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1145 1146 WriteLiteralTo(__razor_helper_writer, " "); 1147 1148 1149 #line 336 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1150 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1151 1152 1153 #line default 1154 #line hidden 1155 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1156 1157 WriteLiteralTo(__razor_helper_writer, " "); 1158 1159 1160 #line 337 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1161 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1162 1163 1164 #line default 1165 #line hidden 1166 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1167 1168 1169 #line 339 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1170 } 1171 1172 1173 #line default 1174 #line hidden 1175 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1176 1177 1178 #line 341 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1179 1180 1181 #line default 1182 #line hidden 1183 }); 1184 1185 #line 341 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1186 } 1187 #line default 1188 #line hidden 1189 1190 1191 #line 343 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1192 public RazorEngine.Templating.TemplateWriter RenderLayoutAllCentered(ContentParagraph settings) 1193 { 1194 #line default 1195 #line hidden 1196 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1197 1198 #line 344 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1199 1200 1201 1202 #line default 1203 #line hidden 1204 WriteLiteralTo(__razor_helper_writer, " <div"); 1205 1206 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15280), Tuple.Create("\"", 15349) 1207 , Tuple.Create(Tuple.Create("", 15288), Tuple.Create("grid__cell", 15288), true) 1208 1209 #line 345 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1210 , Tuple.Create(Tuple.Create(" ", 15298), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1211 1212 #line default 1213 #line hidden 1214 , 15299), false) 1215 1216 #line 345 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1217 , Tuple.Create(Tuple.Create(" ", 15316), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1218 1219 #line default 1220 #line hidden 1221 , 15317), false) 1222 , Tuple.Create(Tuple.Create(" ", 15342), Tuple.Create("dw-mod", 15343), true) 1223 ); 1224 1225 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 1226 1227 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-center\""); 1228 1229 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1230 1231 1232 #line 348 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1233 1234 1235 #line default 1236 #line hidden 1237 1238 #line 348 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1239 if (!settings.SetImageAsBackground && settings.Image != null) 1240 { 1241 1242 1243 #line default 1244 #line hidden 1245 WriteLiteralTo(__razor_helper_writer, " <div"); 1246 1247 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg u-inline-block\""); 1248 1249 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1250 1251 WriteLiteralTo(__razor_helper_writer, " "); 1252 1253 1254 #line 351 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1255 WriteTo(__razor_helper_writer, Render(settings.Image)); 1256 1257 1258 #line default 1259 #line hidden 1260 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1261 1262 1263 #line 353 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1264 } 1265 1266 1267 #line default 1268 #line hidden 1269 WriteLiteralTo(__razor_helper_writer, " "); 1270 1271 1272 #line 354 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1273 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1274 1275 1276 #line default 1277 #line hidden 1278 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1279 1280 WriteLiteralTo(__razor_helper_writer, " "); 1281 1282 1283 #line 355 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1284 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1285 1286 1287 #line default 1288 #line hidden 1289 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1290 1291 WriteLiteralTo(__razor_helper_writer, " "); 1292 1293 1294 #line 356 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1295 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1296 1297 1298 #line default 1299 #line hidden 1300 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 1301 1302 1303 #line 359 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1304 1305 1306 #line default 1307 #line hidden 1308 1309 #line 359 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1310 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1311 { 1312 1313 1314 #line default 1315 #line hidden 1316 WriteLiteralTo(__razor_helper_writer, " <div"); 1317 1318 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15981), Tuple.Create("\"", 16050) 1319 , Tuple.Create(Tuple.Create("", 15989), Tuple.Create("paragraph-container__button", 15989), true) 1320 1321 #line 361 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1322 , Tuple.Create(Tuple.Create(" ", 16016), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1323 1324 #line default 1325 #line hidden 1326 , 16017), false) 1327 , Tuple.Create(Tuple.Create(" ", 16043), Tuple.Create("dw-mod", 16044), true) 1328 ); 1329 1330 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1331 1332 WriteLiteralTo(__razor_helper_writer, " "); 1333 1334 1335 #line 362 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1336 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1337 1338 1339 #line default 1340 #line hidden 1341 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1342 1343 WriteLiteralTo(__razor_helper_writer, " "); 1344 1345 1346 #line 363 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1347 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1348 1349 1350 #line default 1351 #line hidden 1352 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1353 1354 1355 #line 365 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1356 } 1357 1358 1359 #line default 1360 #line hidden 1361 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1362 1363 1364 #line 367 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1365 1366 1367 #line default 1368 #line hidden 1369 }); 1370 1371 #line 367 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1372 } 1373 #line default 1374 #line hidden 1375 1376 1377 #line 369 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1378 public RazorEngine.Templating.TemplateWriter RenderLayoutMiddle(ContentParagraph settings) 1379 { 1380 #line default 1381 #line hidden 1382 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1383 1384 #line 370 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1385 1386 1387 1388 #line default 1389 #line hidden 1390 WriteLiteralTo(__razor_helper_writer, " <div>\r\n <div"); 1391 1392 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16283), Tuple.Create("\"", 16352) 1393 , Tuple.Create(Tuple.Create("", 16291), Tuple.Create("grid__cell", 16291), true) 1394 1395 #line 372 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1396 , Tuple.Create(Tuple.Create(" ", 16301), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1397 1398 #line default 1399 #line hidden 1400 , 16302), false) 1401 1402 #line 372 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1403 , Tuple.Create(Tuple.Create(" ", 16319), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1404 1405 #line default 1406 #line hidden 1407 , 16320), false) 1408 , Tuple.Create(Tuple.Create(" ", 16345), Tuple.Create("dw-mod", 16346), true) 1409 ); 1410 1411 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 1412 1413 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16374), Tuple.Create("\"", 16440) 1414 1415 #line 374 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1416 , Tuple.Create(Tuple.Create("", 16382), Tuple.Create<System.Object, System.Int32>(settings.Layout == "middle-center" ? "u-ta-center" : "" 1417 1418 #line default 1419 #line hidden 1420 , 16382), false) 1421 ); 1422 1423 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1424 1425 1426 #line 375 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1427 1428 1429 #line default 1430 #line hidden 1431 1432 #line 375 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1433 if (!settings.SetImageAsBackground && settings.Image != null) 1434 { 1435 1436 1437 #line default 1438 #line hidden 1439 WriteLiteralTo(__razor_helper_writer, " <div"); 1440 1441 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg u-inline-block\""); 1442 1443 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1444 1445 WriteLiteralTo(__razor_helper_writer, " "); 1446 1447 1448 #line 378 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1449 WriteTo(__razor_helper_writer, Render(settings.Image)); 1450 1451 1452 #line default 1453 #line hidden 1454 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1455 1456 1457 #line 380 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1458 } 1459 1460 1461 #line default 1462 #line hidden 1463 WriteLiteralTo(__razor_helper_writer, " "); 1464 1465 1466 #line 381 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1467 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1468 1469 1470 #line default 1471 #line hidden 1472 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1473 1474 WriteLiteralTo(__razor_helper_writer, " "); 1475 1476 1477 #line 382 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1478 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1479 1480 1481 #line default 1482 #line hidden 1483 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1484 1485 WriteLiteralTo(__razor_helper_writer, " "); 1486 1487 1488 #line 383 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1489 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1490 1491 1492 #line default 1493 #line hidden 1494 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 1495 1496 1497 #line 386 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1498 1499 1500 #line default 1501 #line hidden 1502 1503 #line 386 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1504 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1505 { 1506 1507 1508 #line default 1509 #line hidden 1510 WriteLiteralTo(__razor_helper_writer, " <div"); 1511 1512 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 17087), Tuple.Create("\"", 17156) 1513 , Tuple.Create(Tuple.Create("", 17095), Tuple.Create("paragraph-container__button", 17095), true) 1514 1515 #line 388 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1516 , Tuple.Create(Tuple.Create(" ", 17122), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1517 1518 #line default 1519 #line hidden 1520 , 17123), false) 1521 , Tuple.Create(Tuple.Create(" ", 17149), Tuple.Create("dw-mod", 17150), true) 1522 ); 1523 1524 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1525 1526 WriteLiteralTo(__razor_helper_writer, " "); 1527 1528 1529 #line 389 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1530 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1531 1532 1533 #line default 1534 #line hidden 1535 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1536 1537 WriteLiteralTo(__razor_helper_writer, " "); 1538 1539 1540 #line 390 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1541 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1542 1543 1544 #line default 1545 #line hidden 1546 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1547 1548 1549 #line 392 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1550 } 1551 1552 1553 #line default 1554 #line hidden 1555 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 1556 1557 1558 #line 395 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1559 1560 1561 #line default 1562 #line hidden 1563 }); 1564 1565 #line 395 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1566 } 1567 #line default 1568 #line hidden 1569 1570 1571 #line 397 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1572 public RazorEngine.Templating.TemplateWriter RenderLayoutImageTop(ContentParagraph settings) 1573 { 1574 #line default 1575 #line hidden 1576 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1577 1578 #line 398 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1579 1580 1581 1582 #line default 1583 #line hidden 1584 WriteLiteralTo(__razor_helper_writer, " <div"); 1585 1586 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 17408), Tuple.Create("\"", 17444) 1587 , Tuple.Create(Tuple.Create("", 17416), Tuple.Create("grid__cell", 17416), true) 1588 1589 #line 399 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1590 , Tuple.Create(Tuple.Create(" ", 17426), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1591 1592 #line default 1593 #line hidden 1594 , 17427), false) 1595 ); 1596 1597 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1598 1599 1600 #line 400 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1601 1602 1603 #line default 1604 #line hidden 1605 1606 #line 400 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1607 if (!settings.SetImageAsBackground && settings.Image != null) 1608 { 1609 1610 1611 #line default 1612 #line hidden 1613 WriteLiteralTo(__razor_helper_writer, " <div"); 1614 1615 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 1616 1617 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1618 1619 WriteLiteralTo(__razor_helper_writer, " "); 1620 1621 1622 #line 403 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1623 WriteTo(__razor_helper_writer, Render(settings.Image)); 1624 1625 1626 #line default 1627 #line hidden 1628 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1629 1630 1631 #line 405 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1632 } 1633 1634 1635 #line default 1636 #line hidden 1637 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 1638 1639 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 17652), Tuple.Create("\"", 17692) 1640 1641 #line 407 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1642 , Tuple.Create(Tuple.Create("", 17660), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1643 1644 #line default 1645 #line hidden 1646 , 17660), false) 1647 , Tuple.Create(Tuple.Create(" ", 17685), Tuple.Create("dw-mod", 17686), true) 1648 ); 1649 1650 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1651 1652 WriteLiteralTo(__razor_helper_writer, " "); 1653 1654 1655 #line 408 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1656 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1657 1658 1659 #line default 1660 #line hidden 1661 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1662 1663 WriteLiteralTo(__razor_helper_writer, " "); 1664 1665 1666 #line 409 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1667 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1668 1669 1670 #line default 1671 #line hidden 1672 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1673 1674 WriteLiteralTo(__razor_helper_writer, " "); 1675 1676 1677 #line 410 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1678 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1679 1680 1681 #line default 1682 #line hidden 1683 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 1684 1685 1686 #line 412 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1687 1688 1689 #line default 1690 #line hidden 1691 1692 #line 412 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1693 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1694 { 1695 1696 1697 #line default 1698 #line hidden 1699 WriteLiteralTo(__razor_helper_writer, " <div"); 1700 1701 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18042), Tuple.Create("\"", 18111) 1702 , Tuple.Create(Tuple.Create("", 18050), Tuple.Create("paragraph-container__button", 18050), true) 1703 1704 #line 414 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1705 , Tuple.Create(Tuple.Create(" ", 18077), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1706 1707 #line default 1708 #line hidden 1709 , 18078), false) 1710 , Tuple.Create(Tuple.Create(" ", 18104), Tuple.Create("dw-mod", 18105), true) 1711 ); 1712 1713 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1714 1715 WriteLiteralTo(__razor_helper_writer, " "); 1716 1717 1718 #line 415 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1719 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1720 1721 1722 #line default 1723 #line hidden 1724 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1725 1726 WriteLiteralTo(__razor_helper_writer, " "); 1727 1728 1729 #line 416 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1730 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1731 1732 1733 #line default 1734 #line hidden 1735 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1736 1737 1738 #line 418 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1739 } 1740 1741 1742 #line default 1743 #line hidden 1744 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 1745 1746 1747 #line 421 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1748 1749 1750 #line default 1751 #line hidden 1752 }); 1753 1754 #line 421 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1755 } 1756 #line default 1757 #line hidden 1758 1759 1760 public RazorEngine_96b26dfeffbb429f83a477e48d447e38() { 1761 } 1762 1763 public override void Execute() { 1764 WriteLiteral("\r\n<div"); 1765 1766 WriteAttribute("class", Tuple.Create(" class=\"", 98), Tuple.Create("\"", 131) 1767 1768 #line 4 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1769 , Tuple.Create(Tuple.Create("", 106), Tuple.Create<System.Object, System.Int32>(columnClass() 1770 1771 #line default 1772 #line hidden 1773 , 106), false) 1774 , Tuple.Create(Tuple.Create(" ", 120), Tuple.Create("find-store", 121), true) 1775 ); 1776 1777 WriteLiteral(">\r\n\r\n <div"); 1778 1779 WriteLiteral(" class=\"grid\""); 1780 1781 WriteLiteral(">\r\n <form"); 1782 1783 WriteLiteral(" class=\"search-form\""); 1784 1785 WriteLiteral(">\r\n <div"); 1786 1787 WriteLiteral(" class=\"row\""); 1788 1789 WriteLiteral(">\r\n <input"); 1790 1791 WriteLiteral(" type=\"text\""); 1792 1793 WriteLiteral(" class=\"u-full-width search-field\""); 1794 1795 WriteLiteral(" autofocus"); 1796 1797 WriteLiteral(" placeholder=\"Ange ort eller postnr\""); 1798 1799 WriteLiteral(" value=\"\""); 1800 1801 WriteLiteral(">\r\n <button"); 1802 1803 WriteLiteral(" type=\"submit\""); 1804 1805 WriteLiteral(" class=\"button-primary\""); 1806 1807 WriteLiteral("><i"); 1808 1809 WriteLiteral(" class=\"fa fa-search\""); 1810 1811 WriteLiteral("></i></button>\r\n </div>\r\n <div"); 1812 1813 WriteLiteral(" class=\"row address\""); 1814 1815 WriteLiteral(">\r\n <small"); 1816 1817 WriteLiteral(" class=\"formatted-address\""); 1818 1819 WriteLiteral("></small>\r\n </div>\r\n </form>\r\n\r\n "); 1820 1821 WriteLiteral("\r\n\r\n <div"); 1822 1823 WriteLiteral(" class=\"stores\""); 1824 1825 WriteLiteral(">\r\n\r\n <div"); 1826 1827 WriteLiteral(" class=\"grid row-headings\""); 1828 1829 WriteLiteral("></div>\r\n <div"); 1830 1831 WriteLiteral(" class=\"stores-list\""); 1832 1833 WriteLiteral("></div>\r\n\r\n </div>\r\n </div>\r\n\r\n"); 1834 1835 1836 #line 29 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1837 1838 1839 #line default 1840 #line hidden 1841 WriteLiteral("\r\n"); 1842 1843 WriteLiteral("\r\n"); 1844 1845 WriteLiteral("\r\n\r\n"); 1846 1847 WriteLiteral("\r\n"); 1848 1849 WriteLiteral("\r\n"); 1850 1851 WriteLiteral("\r\n"); 1852 1853 WriteLiteral("\r\n"); 1854 1855 WriteLiteral("\r\n"); 1856 1857 WriteLiteral("\r\n"); 1858 1859 WriteLiteral("\r\n\r\n<div"); 1860 1861 WriteAttribute("class", Tuple.Create(" class=\"", 18301), Tuple.Create("\"", 18332) 1862 1863 #line 424 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1864 , Tuple.Create(Tuple.Create("", 18309), Tuple.Create<System.Object, System.Int32>(columnClass() 1865 1866 #line default 1867 #line hidden 1868 , 18309), false) 1869 , Tuple.Create(Tuple.Create(" ", 18323), Tuple.Create("webshops", 18324), true) 1870 ); 1871 1872 WriteLiteral(">\r\n"); 1873 1874 WriteLiteral(" "); 1875 1876 1877 #line 425 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\Stores.cshtml" 1878 Write(RenderContent(Model.Item)); 1879 1880 1881 #line default 1882 #line hidden 1883 WriteLiteral("\r\n</div>\r\n</div>\r\n"); 1884 1885 } 1886 } 1887 } 1888

1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 2 3 4 <div class="@columnClass() find-store"> 5 6 <div class="grid"> 7 <form class="search-form"> 8 <div class="row"> 9 <input type="text" class="u-full-width search-field" autofocus placeholder="Ange ort eller postnr" value=""> 10 <button type="submit" class="button-primary"><i class="fa fa-search"></i></button> 11 </div> 12 <div class="row address"> 13 <small class="formatted-address"></small> 14 </div> 15 </form> 16 17 @*<ul class="search-filter"> 18 <li><label for="Test"><input type="checkbox" id="Test"><icon class="check"></icon>Test</label></li> 19 </ul>*@ 20 21 <div class="stores"> 22 23 <div class="grid row-headings"></div> 24 <div class="stores-list"></div> 25 26 </div> 27 </div> 28 29 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 30 31 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 32 33 @functions { 34 public string columnClass() 35 { 36 string columnValue = Model.Item.GetList("Width") != null ? Model.Item.GetList("Width").SelectedValue.ToString() : "12"; 37 string columnClasses = "grid__col-lg-" + columnValue + " grid__col-md-" + columnValue + " grid__col-sm-" + columnValue; 38 string hideOnMobile = Model.Item.GetList("WidthMobile").SelectedValue.ToLower() == "hide" ? " u-hidden-xs u-hidden-xxs" : " grid__col-xs-" + Model.Item.GetList("WidthMobile").SelectedValue; 39 40 return columnClasses + hideOnMobile; 41 } 42 } 43 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 44 @using Dynamicweb.Frontend 45 @using Dynamicweb.Rapido.Blocks.Components.General 46 @using Dynamicweb.Rapido.Blocks.Components 47 48 @functions { 49 public class ContentParagraph 50 { 51 public string Title { get; set; } 52 public Image Image { get; set; } 53 public string Text { get; set; } 54 public string Link { get; set; } 55 public bool SetImageAsBackground { get; set; } 56 public bool HideOuterPadding { get; set; } 57 public string InnerPaddingCss { get; set; } 58 public string CardCss { get; set; } 59 public string ButtonWrapperCss { get; set; } 60 public string Layout { get; set; } 61 public string Module { get; set; } 62 public Link ButtonPrimary { get; set; } 63 public Link ButtonSecondary { get; set; } 64 } 65 } 66 67 @helper RenderParagraph(ItemViewModel item, bool renderModule = true) 68 { 69 if (item != null) { 70 string layout = item.GetList("ContentPositions").SelectedValue; 71 72 string paragraphClasses = ""; 73 string paragraphWidth = !String.IsNullOrEmpty(item.GetString("Width")) ? item.GetList("Width").SelectedValue : "12"; 74 paragraphClasses += " grid__col-lg-" + paragraphWidth + " grid__col-md-" + paragraphWidth + " grid__col-sm-" + paragraphWidth; 75 if (item.GetList("WidthMobile").SelectedValue == "hide") 76 { 77 paragraphClasses += " u-hidden-xs"; 78 } 79 else 80 { 81 paragraphClasses += " grid__col-xs-" + item.GetList("WidthMobile").SelectedValue; 82 } 83 paragraphClasses += item.GetBoolean("HidePadding") ? " paragraph-container--no-padding" : ""; 84 paragraphClasses += layout == "middle-center" || layout == "middle-left" ? " u-middle-horizontal grid--justify-center grid--align-self-center" : ""; 85 86 //Alternative Design Layout 87 var designLayout = Model.Item.GetItem("CustomSettings") != null ? Model.Item.GetItem("CustomSettings").GetString("DesignLayout") != null ? Model.Item.GetItem("CustomSettings").GetList("DesignLayout").SelectedValue : "" : ""; 88 paragraphClasses += !String.IsNullOrEmpty(designLayout) ? designLayout : ""; 89 90 string title = item.GetBoolean("ShowTitle") ? item.GetString("Title") : ""; 91 string cardClass = item.GetBoolean("ShowAsCard") ? "paragraph-card" : ""; 92 string buttonSpacing = ""; 93 string buttonAlignment = layout == "all-centered" || layout == "middle-center" ? "grid--justify-center" : ""; 94 95 string image = item.GetFile("Image") != null ? item.GetFile("Image").ToString() + "&" + item.GetFile("Image").GetFocalPointParameters() : ""; 96 int cropMode = !String.IsNullOrEmpty(Converter.ToString(item.GetList("ImageCrop"))) ? Convert.ToInt32(item.GetList("ImageCrop").SelectedValue) : 0; 97 ImageStyle imageStyle = item.GetList("ImageStyle").SelectedValue == "ball" ? ImageStyle.Ball : ImageStyle.None; 98 ButtonLayout primaryButtonLayout = !String.IsNullOrEmpty(item.GetList("ButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("ButtonDesign").SelectedValue[0]) + item.GetList("ButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Primary; 99 if (primaryButtonLayout == ButtonLayout.Link) 100 { 101 primaryButtonLayout = ButtonLayout.LinkClean; 102 } 103 ButtonLayout secondaryButtonLayout = !String.IsNullOrEmpty(item.GetList("SecondaryButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("SecondaryButtonDesign").SelectedValue[0]) + item.GetList("SecondaryButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Secondary; 104 if (secondaryButtonLayout == ButtonLayout.Link) 105 { 106 secondaryButtonLayout = ButtonLayout.LinkClean; 107 } 108 ImageFilter primaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterPrimary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterPrimary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 109 ImageFilter secondaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterSecondary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterSecondary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 110 string imageFilterColorCode = item.GetString("ColorForTheFilter").StartsWith("#") && primaryImageFilter == ImageFilter.Colorize ? GenerateRgba(item.GetString("ColorForTheFilter"), 0.3) : ""; 111 bool setImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false; 112 113 Image paragraphImage = null; 114 if (!String.IsNullOrEmpty(image)) 115 { 116 paragraphImage = new Image 117 { 118 Path = image, 119 Link = item.GetString("Link"), 120 FilterPrimary = primaryImageFilter, 121 FilterSecondary = secondaryImageFilter, 122 FilterColor = imageFilterColorCode, 123 Style = imageStyle, 124 ImageDefault = new ImageSettings 125 { 126 Crop = cropMode, 127 Height = 845, 128 Width = 1920 129 }, 130 ImageMedium = new ImageSettings 131 { 132 Crop = cropMode, 133 Height = 450, 134 Width = 1024 135 }, 136 ImageSmall = new ImageSettings 137 { 138 Crop = cropMode, 139 Height = 544, 140 Width = 640 141 } 142 }; 143 } 144 145 ContentParagraph paragraph = new ContentParagraph 146 { 147 Title = title, 148 Text = item.GetString("Text"), 149 Image = paragraphImage, 150 Link = item.GetString("Link"), 151 Module = !String.IsNullOrEmpty(Model.GetModuleOutput()) && renderModule ? Model.GetModuleOutput() : "", 152 InnerPaddingCss = item.GetList("InnerPadding") != null ? "paragraph-container__body--padding-" + item.GetList("InnerPadding").SelectedValue : "", 153 CardCss = cardClass, 154 HideOuterPadding = item.GetBoolean("HidePadding"), 155 SetImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false, 156 ButtonWrapperCss = buttonSpacing + buttonAlignment, 157 Layout = layout 158 }; 159 160 if (!String.IsNullOrEmpty(item.GetString("Link"))) 161 { 162 paragraph.ButtonPrimary = new Link 163 { 164 Href = item.GetString("Link"), 165 Title = item.GetString("LinkText"), 166 ButtonLayout = primaryButtonLayout, 167 CssClass = "u-no-margin" 168 }; 169 170 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) { 171 paragraph.ButtonPrimary.CssClass = ""; 172 } 173 } 174 175 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) 176 { 177 if (!String.IsNullOrEmpty(item.GetString("Link"))) 178 { 179 paragraph.ButtonPrimary.CssClass += " u-margin-right--lg"; 180 } 181 182 paragraph.ButtonSecondary = new Link 183 { 184 Href = item.GetString("SecondaryLink"), 185 Title = item.GetString("SecondaryLinkText"), 186 ButtonLayout = secondaryButtonLayout 187 }; 188 } 189 190 <div class="paragraph-container @paragraphClasses dw-mod"> 191 @if (setImageAsBackground == true && paragraphImage != null) 192 { 193 paragraphImage.CssClass = "background-image__cover"; 194 195 <div class="background-image dw-mod"> 196 <div class="background-image__wrapper dw-mod"> 197 @Render(paragraphImage) 198 </div> 199 </div> 200 } 201 @{ 202 switch (layout) 203 { 204 case "title-top": 205 @RenderLayoutTitleTop(paragraph) 206 break; 207 case "image-left": 208 @RenderLayoutImageLeft(paragraph) 209 break; 210 case "image-right": 211 @RenderLayoutImageRight(paragraph) 212 break; 213 case "image-centered": 214 @RenderLayoutImageCentered(paragraph) 215 break; 216 case "all-centered": 217 @RenderLayoutAllCentered(paragraph) 218 break; 219 case "middle-center": 220 case "middle-left": 221 @RenderLayoutMiddle(paragraph) 222 break; 223 default: 224 @RenderLayoutImageTop(paragraph) 225 break; 226 } 227 } 228 </div> 229 } 230 } 231 232 233 @helper RenderLayoutTitleTop(ContentParagraph settings) 234 { 235 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 236 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 237 @if (!settings.SetImageAsBackground && settings.Image != null) 238 { 239 <div class="u-margin-bottom--lg"> 240 @Render(settings.Image) 241 </div> 242 } 243 @Render(new Text { Content = settings.Text}) 244 @Render(new ContentModule { Content = settings.Module }) 245 246 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 247 { 248 <div class="grid__cell"> 249 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 250 @Render(settings.ButtonPrimary) 251 @Render(settings.ButtonSecondary) 252 </div> 253 </div> 254 } 255 </div> 256 } 257 258 @helper RenderLayoutImageLeft(ContentParagraph settings) 259 { 260 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 261 <div class="grid grid--external-bleed"> 262 @if (!settings.SetImageAsBackground && settings.Image != null) 263 { 264 <div class="grid__col-3"> 265 @Render(settings.Image) 266 </div> 267 } 268 <div class="grid__col-9 @settings.InnerPaddingCss dw-mod"> 269 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 270 @Render(new Text { Content = settings.Text }) 271 @Render(new ContentModule { Content = settings.Module }) 272 273 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 274 { 275 <div class="grid__cell"> 276 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 277 @Render(settings.ButtonPrimary) 278 @Render(settings.ButtonSecondary) 279 </div> 280 </div> 281 } 282 </div> 283 </div> 284 </div> 285 } 286 287 @helper RenderLayoutImageRight(ContentParagraph settings) 288 { 289 <div class="grid__cell @settings.CardCss"> 290 <div class="grid grid--external-bleed"> 291 <div class="grid__col-9 @settings.InnerPaddingCss dw-mod"> 292 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 293 @Render(new Text { Content = settings.Text }) 294 @Render(new ContentModule { Content = settings.Module }) 295 296 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 297 { 298 <div class="grid__cell"> 299 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 300 @Render(settings.ButtonPrimary) 301 @Render(settings.ButtonSecondary) 302 </div> 303 </div> 304 } 305 </div> 306 @if (!settings.SetImageAsBackground && settings.Image != null) 307 { 308 <div class="grid__col-3"> 309 @Render(settings.Image) 310 </div> 311 } 312 </div> 313 </div> 314 } 315 316 @helper RenderLayoutImageCentered(ContentParagraph settings) 317 { 318 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 319 320 <div class="u-ta-center"> 321 @if (!settings.SetImageAsBackground && settings.Image != null) 322 { 323 <div class="u-margin-bottom--lg u-inline-block"> 324 @Render(settings.Image) 325 </div> 326 } 327 </div> 328 329 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 330 @Render(new Text { Content = settings.Text }) 331 @Render(new ContentModule { Content = settings.Module }) 332 333 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 334 { 335 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 336 @Render(settings.ButtonPrimary) 337 @Render(settings.ButtonSecondary) 338 </div> 339 } 340 </div> 341 } 342 343 @helper RenderLayoutAllCentered(ContentParagraph settings) 344 { 345 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 346 347 <div class="u-ta-center"> 348 @if (!settings.SetImageAsBackground && settings.Image != null) 349 { 350 <div class="u-margin-bottom--lg u-inline-block"> 351 @Render(settings.Image) 352 </div> 353 } 354 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 355 @Render(new Text { Content = settings.Text }) 356 @Render(new ContentModule { Content = settings.Module }) 357 </div> 358 359 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 360 { 361 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 362 @Render(settings.ButtonPrimary) 363 @Render(settings.ButtonSecondary) 364 </div> 365 } 366 </div> 367 } 368 369 @helper RenderLayoutMiddle(ContentParagraph settings) 370 { 371 <div> 372 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 373 374 <div class="@(settings.Layout == "middle-center" ? "u-ta-center" : "")"> 375 @if (!settings.SetImageAsBackground && settings.Image != null) 376 { 377 <div class="u-margin-bottom--lg u-inline-block"> 378 @Render(settings.Image) 379 </div> 380 } 381 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 382 @Render(new Text { Content = settings.Text }) 383 @Render(new ContentModule { Content = settings.Module }) 384 </div> 385 386 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 387 { 388 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 389 @Render(settings.ButtonPrimary) 390 @Render(settings.ButtonSecondary) 391 </div> 392 } 393 </div> 394 </div> 395 } 396 397 @helper RenderLayoutImageTop(ContentParagraph settings) 398 { 399 <div class="grid__cell @settings.CardCss"> 400 @if (!settings.SetImageAsBackground && settings.Image != null) 401 { 402 <div class="u-margin-bottom--lg"> 403 @Render(settings.Image) 404 </div> 405 } 406 407 <div class="@settings.InnerPaddingCss dw-mod"> 408 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 409 @Render(new Text { Content = settings.Text }) 410 @Render(new ContentModule { Content = settings.Module }) 411 412 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 413 { 414 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 415 @Render(settings.ButtonPrimary) 416 @Render(settings.ButtonSecondary) 417 </div> 418 } 419 </div> 420 </div> 421 } 422 423 424 <div class="@columnClass() webshops"> 425 @RenderContent(Model.Item) 426 </div> 427 </div> 428
Error compiling template "/Designs/Rapido/Paragraph/StoresList.cshtml"
Line 113: Using the generic type 'Converter' requires 2 type arguments
Line 127: The name 'GenerateRgba' does not exist in the current context
Line 257: The name 'Render' does not exist in the current context
Line 453: The name 'Render' does not exist in the current context
Line 484: The name 'Render' does not exist in the current context
Line 502: The name 'Render' does not exist in the current context
Line 513: The name 'Render' does not exist in the current context
Line 558: The name 'Render' does not exist in the current context
Line 569: The name 'Render' does not exist in the current context
Line 663: The name 'Render' does not exist in the current context
Line 697: The name 'Render' does not exist in the current context
Line 708: The name 'Render' does not exist in the current context
Line 719: The name 'Render' does not exist in the current context
Line 764: The name 'Render' does not exist in the current context
Line 775: The name 'Render' does not exist in the current context
Line 855: The name 'Render' does not exist in the current context
Line 866: The name 'Render' does not exist in the current context
Line 877: The name 'Render' does not exist in the current context
Line 922: The name 'Render' does not exist in the current context
Line 933: The name 'Render' does not exist in the current context
Line 973: The name 'Render' does not exist in the current context
Line 1067: The name 'Render' does not exist in the current context
Line 1087: The name 'Render' does not exist in the current context
Line 1098: The name 'Render' does not exist in the current context
Line 1109: The name 'Render' does not exist in the current context
Line 1150: The name 'Render' does not exist in the current context
Line 1161: The name 'Render' does not exist in the current context
Line 1255: The name 'Render' does not exist in the current context
Line 1273: The name 'Render' does not exist in the current context
Line 1284: The name 'Render' does not exist in the current context
Line 1295: The name 'Render' does not exist in the current context
Line 1336: The name 'Render' does not exist in the current context
Line 1347: The name 'Render' does not exist in the current context
Line 1449: The name 'Render' does not exist in the current context
Line 1467: The name 'Render' does not exist in the current context
Line 1478: The name 'Render' does not exist in the current context
Line 1489: The name 'Render' does not exist in the current context
Line 1530: The name 'Render' does not exist in the current context
Line 1541: The name 'Render' does not exist in the current context
Line 1623: The name 'Render' does not exist in the current context
Line 1656: The name 'Render' does not exist in the current context
Line 1667: The name 'Render' does not exist in the current context
Line 1678: The name 'Render' does not exist in the current context
Line 1719: The name 'Render' does not exist in the current context
Line 1730: The name 'Render' does not exist in the current context
Line 1801: The name 'RenderContent' does not exist in the current context

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 #line 16 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 17 using Dynamicweb.Frontend; 18 19 #line default 20 #line hidden 21 22 #line 17 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 23 using Dynamicweb.Rapido.Blocks.Components.General; 24 25 #line default 26 #line hidden 27 28 #line 18 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 29 using Dynamicweb.Rapido.Blocks.Components; 30 31 #line default 32 #line hidden 33 34 35 public class RazorEngine_063c5cefd8e94e27bb4545976410ee33 : Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> { 36 37 #line hidden 38 39 #line 5 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 40 41 public string columnClass() 42 { 43 string columnValue = Model.Item.GetList("Width") != null ? Model.Item.GetList("Width").SelectedValue.ToString() : "12"; 44 string columnClasses = "grid__col-lg-" + columnValue + " grid__col-md-" + columnValue + " grid__col-sm-" + columnValue; 45 string hideOnMobile = Model.Item.GetList("WidthMobile").SelectedValue.ToLower() == "hide" ? " u-hidden-xs u-hidden-xxs" : " grid__col-xs-" + Model.Item.GetList("WidthMobile").SelectedValue; 46 47 return columnClasses + hideOnMobile; 48 } 49 50 #line default 51 #line hidden 52 53 54 #line 20 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 55 56 public class ContentParagraph 57 { 58 public string Title { get; set; } 59 public Image Image { get; set; } 60 public string Text { get; set; } 61 public string Link { get; set; } 62 public bool SetImageAsBackground { get; set; } 63 public bool HideOuterPadding { get; set; } 64 public string InnerPaddingCss { get; set; } 65 public string CardCss { get; set; } 66 public string ButtonWrapperCss { get; set; } 67 public string Layout { get; set; } 68 public string Module { get; set; } 69 public Link ButtonPrimary { get; set; } 70 public Link ButtonSecondary { get; set; } 71 } 72 73 #line default 74 #line hidden 75 76 77 #line 39 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 78 public RazorEngine.Templating.TemplateWriter RenderParagraph(ItemViewModel item, bool renderModule = true) 79 { 80 #line default 81 #line hidden 82 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 83 84 #line 40 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 85 86 if (item != null) { 87 string layout = item.GetList("ContentPositions").SelectedValue; 88 89 string paragraphClasses = ""; 90 string paragraphWidth = !String.IsNullOrEmpty(item.GetString("Width")) ? item.GetList("Width").SelectedValue : "12"; 91 paragraphClasses += " grid__col-lg-" + paragraphWidth + " grid__col-md-" + paragraphWidth + " grid__col-sm-" + paragraphWidth; 92 if (item.GetList("WidthMobile").SelectedValue == "hide") 93 { 94 paragraphClasses += " u-hidden-xs"; 95 } 96 else 97 { 98 paragraphClasses += " grid__col-xs-" + item.GetList("WidthMobile").SelectedValue; 99 } 100 paragraphClasses += item.GetBoolean("HidePadding") ? " paragraph-container--no-padding" : ""; 101 paragraphClasses += layout == "middle-center" || layout == "middle-left" ? " u-middle-horizontal grid--justify-center grid--align-self-center" : ""; 102 103 //Alternative Design Layout 104 var designLayout = Model.Item.GetItem("CustomSettings") != null ? Model.Item.GetItem("CustomSettings").GetString("DesignLayout") != null ? Model.Item.GetItem("CustomSettings").GetList("DesignLayout").SelectedValue : "" : ""; 105 paragraphClasses += !String.IsNullOrEmpty(designLayout) ? designLayout : ""; 106 107 string title = item.GetBoolean("ShowTitle") ? item.GetString("Title") : ""; 108 string cardClass = item.GetBoolean("ShowAsCard") ? "paragraph-card" : ""; 109 string buttonSpacing = ""; 110 string buttonAlignment = layout == "all-centered" || layout == "middle-center" ? "grid--justify-center" : ""; 111 112 string image = item.GetFile("Image") != null ? item.GetFile("Image").ToString() + "&" + item.GetFile("Image").GetFocalPointParameters() : ""; 113 int cropMode = !String.IsNullOrEmpty(Converter.ToString(item.GetList("ImageCrop"))) ? Convert.ToInt32(item.GetList("ImageCrop").SelectedValue) : 0; 114 ImageStyle imageStyle = item.GetList("ImageStyle").SelectedValue == "ball" ? ImageStyle.Ball : ImageStyle.None; 115 ButtonLayout primaryButtonLayout = !String.IsNullOrEmpty(item.GetList("ButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("ButtonDesign").SelectedValue[0]) + item.GetList("ButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Primary; 116 if (primaryButtonLayout == ButtonLayout.Link) 117 { 118 primaryButtonLayout = ButtonLayout.LinkClean; 119 } 120 ButtonLayout secondaryButtonLayout = !String.IsNullOrEmpty(item.GetList("SecondaryButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("SecondaryButtonDesign").SelectedValue[0]) + item.GetList("SecondaryButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Secondary; 121 if (secondaryButtonLayout == ButtonLayout.Link) 122 { 123 secondaryButtonLayout = ButtonLayout.LinkClean; 124 } 125 ImageFilter primaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterPrimary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterPrimary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 126 ImageFilter secondaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterSecondary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterSecondary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 127 string imageFilterColorCode = item.GetString("ColorForTheFilter").StartsWith("#") && primaryImageFilter == ImageFilter.Colorize ? GenerateRgba(item.GetString("ColorForTheFilter"), 0.3) : ""; 128 bool setImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false; 129 130 Image paragraphImage = null; 131 if (!String.IsNullOrEmpty(image)) 132 { 133 paragraphImage = new Image 134 { 135 Path = image, 136 Link = item.GetString("Link"), 137 FilterPrimary = primaryImageFilter, 138 FilterSecondary = secondaryImageFilter, 139 FilterColor = imageFilterColorCode, 140 Style = imageStyle, 141 ImageDefault = new ImageSettings 142 { 143 Crop = cropMode, 144 Height = 845, 145 Width = 1920 146 }, 147 ImageMedium = new ImageSettings 148 { 149 Crop = cropMode, 150 Height = 450, 151 Width = 1024 152 }, 153 ImageSmall = new ImageSettings 154 { 155 Crop = cropMode, 156 Height = 544, 157 Width = 640 158 } 159 }; 160 } 161 162 ContentParagraph paragraph = new ContentParagraph 163 { 164 Title = title, 165 Text = item.GetString("Text"), 166 Image = paragraphImage, 167 Link = item.GetString("Link"), 168 Module = !String.IsNullOrEmpty(Model.GetModuleOutput()) && renderModule ? Model.GetModuleOutput() : "", 169 InnerPaddingCss = item.GetList("InnerPadding") != null ? "paragraph-container__body--padding-" + item.GetList("InnerPadding").SelectedValue : "", 170 CardCss = cardClass, 171 HideOuterPadding = item.GetBoolean("HidePadding"), 172 SetImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false, 173 ButtonWrapperCss = buttonSpacing + buttonAlignment, 174 Layout = layout 175 }; 176 177 if (!String.IsNullOrEmpty(item.GetString("Link"))) 178 { 179 paragraph.ButtonPrimary = new Link 180 { 181 Href = item.GetString("Link"), 182 Title = item.GetString("LinkText"), 183 ButtonLayout = primaryButtonLayout, 184 CssClass = "u-no-margin" 185 }; 186 187 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) { 188 paragraph.ButtonPrimary.CssClass = ""; 189 } 190 } 191 192 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) 193 { 194 if (!String.IsNullOrEmpty(item.GetString("Link"))) 195 { 196 paragraph.ButtonPrimary.CssClass += " u-margin-right--lg"; 197 } 198 199 paragraph.ButtonSecondary = new Link 200 { 201 Href = item.GetString("SecondaryLink"), 202 Title = item.GetString("SecondaryLinkText"), 203 ButtonLayout = secondaryButtonLayout 204 }; 205 } 206 207 208 209 #line default 210 #line hidden 211 WriteLiteralTo(__razor_helper_writer, " <div"); 212 213 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 8445), Tuple.Create("\"", 8497) 214 , Tuple.Create(Tuple.Create("", 8453), Tuple.Create("paragraph-container", 8453), true) 215 216 #line 162 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 217 , Tuple.Create(Tuple.Create(" ", 8472), Tuple.Create<System.Object, System.Int32>(paragraphClasses 218 219 #line default 220 #line hidden 221 , 8473), false) 222 , Tuple.Create(Tuple.Create(" ", 8490), Tuple.Create("dw-mod", 8491), true) 223 ); 224 225 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 226 227 228 #line 163 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 229 230 231 #line default 232 #line hidden 233 234 #line 163 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 235 if (setImageAsBackground == true && paragraphImage != null) 236 { 237 paragraphImage.CssClass = "background-image__cover"; 238 239 240 241 #line default 242 #line hidden 243 WriteLiteralTo(__razor_helper_writer, " <div"); 244 245 WriteLiteralTo(__razor_helper_writer, " class=\"background-image dw-mod\""); 246 247 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 248 249 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__wrapper dw-mod\""); 250 251 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 252 253 WriteLiteralTo(__razor_helper_writer, " "); 254 255 256 #line 169 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 257 WriteTo(__razor_helper_writer, Render(paragraphImage)); 258 259 260 #line default 261 #line hidden 262 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 263 264 265 #line 172 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 266 } 267 268 269 #line default 270 #line hidden 271 WriteLiteralTo(__razor_helper_writer, " "); 272 273 274 #line 173 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 275 276 switch (layout) 277 { 278 case "title-top": 279 280 281 #line default 282 #line hidden 283 284 #line 177 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 285 WriteTo(__razor_helper_writer, RenderLayoutTitleTop(paragraph)); 286 287 288 #line default 289 #line hidden 290 291 #line 177 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 292 293 break; 294 case "image-left": 295 296 297 #line default 298 #line hidden 299 300 #line 180 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 301 WriteTo(__razor_helper_writer, RenderLayoutImageLeft(paragraph)); 302 303 304 #line default 305 #line hidden 306 307 #line 180 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 308 309 break; 310 case "image-right": 311 312 313 #line default 314 #line hidden 315 316 #line 183 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 317 WriteTo(__razor_helper_writer, RenderLayoutImageRight(paragraph)); 318 319 320 #line default 321 #line hidden 322 323 #line 183 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 324 325 break; 326 case "image-centered": 327 328 329 #line default 330 #line hidden 331 332 #line 186 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 333 WriteTo(__razor_helper_writer, RenderLayoutImageCentered(paragraph)); 334 335 336 #line default 337 #line hidden 338 339 #line 186 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 340 341 break; 342 case "all-centered": 343 344 345 #line default 346 #line hidden 347 348 #line 189 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 349 WriteTo(__razor_helper_writer, RenderLayoutAllCentered(paragraph)); 350 351 352 #line default 353 #line hidden 354 355 #line 189 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 356 357 break; 358 case "middle-center": 359 case "middle-left": 360 361 362 #line default 363 #line hidden 364 365 #line 193 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 366 WriteTo(__razor_helper_writer, RenderLayoutMiddle(paragraph)); 367 368 369 #line default 370 #line hidden 371 372 #line 193 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 373 374 break; 375 default: 376 377 378 #line default 379 #line hidden 380 381 #line 196 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 382 WriteTo(__razor_helper_writer, RenderLayoutImageTop(paragraph)); 383 384 385 #line default 386 #line hidden 387 388 #line 196 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 389 390 break; 391 } 392 393 394 #line default 395 #line hidden 396 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 397 398 399 #line 201 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 400 } 401 402 403 #line default 404 #line hidden 405 }); 406 407 #line 202 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 408 } 409 #line default 410 #line hidden 411 412 413 #line 205 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 414 public RazorEngine.Templating.TemplateWriter RenderLayoutTitleTop(ContentParagraph settings) 415 { 416 #line default 417 #line hidden 418 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 419 420 #line 206 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 421 422 423 424 #line default 425 #line hidden 426 WriteLiteralTo(__razor_helper_writer, " <div"); 427 428 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 9952), Tuple.Create("\"", 10021) 429 , Tuple.Create(Tuple.Create("", 9960), Tuple.Create("grid__cell", 9960), true) 430 431 #line 207 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 432 , Tuple.Create(Tuple.Create(" ", 9970), Tuple.Create<System.Object, System.Int32>(settings.CardCss 433 434 #line default 435 #line hidden 436 , 9971), false) 437 438 #line 207 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 439 , Tuple.Create(Tuple.Create(" ", 9988), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 440 441 #line default 442 #line hidden 443 , 9989), false) 444 , Tuple.Create(Tuple.Create(" ", 10014), Tuple.Create("dw-mod", 10015), true) 445 ); 446 447 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 448 449 WriteLiteralTo(__razor_helper_writer, " "); 450 451 452 #line 208 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 453 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 454 455 456 #line default 457 #line hidden 458 WriteLiteralTo(__razor_helper_writer, "\r\n"); 459 460 461 #line 209 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 462 463 464 #line default 465 #line hidden 466 467 #line 209 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 468 if (!settings.SetImageAsBackground && settings.Image != null) 469 { 470 471 472 #line default 473 #line hidden 474 WriteLiteralTo(__razor_helper_writer, " <div"); 475 476 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 477 478 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 479 480 WriteLiteralTo(__razor_helper_writer, " "); 481 482 483 #line 212 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 484 WriteTo(__razor_helper_writer, Render(settings.Image)); 485 486 487 #line default 488 #line hidden 489 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 490 491 492 #line 214 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 493 } 494 495 496 #line default 497 #line hidden 498 WriteLiteralTo(__razor_helper_writer, " "); 499 500 501 #line 215 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 502 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text})); 503 504 505 #line default 506 #line hidden 507 WriteLiteralTo(__razor_helper_writer, "\r\n"); 508 509 WriteLiteralTo(__razor_helper_writer, " "); 510 511 512 #line 216 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 513 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 514 515 516 #line default 517 #line hidden 518 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 519 520 521 #line 218 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 522 523 524 #line default 525 #line hidden 526 527 #line 218 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 528 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 529 { 530 531 532 #line default 533 #line hidden 534 WriteLiteralTo(__razor_helper_writer, " <div"); 535 536 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 537 538 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 539 540 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10590), Tuple.Create("\"", 10659) 541 , Tuple.Create(Tuple.Create("", 10598), Tuple.Create("paragraph-container__button", 10598), true) 542 543 #line 221 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 544 , Tuple.Create(Tuple.Create(" ", 10625), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 545 546 #line default 547 #line hidden 548 , 10626), false) 549 , Tuple.Create(Tuple.Create(" ", 10652), Tuple.Create("dw-mod", 10653), true) 550 ); 551 552 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 553 554 WriteLiteralTo(__razor_helper_writer, " "); 555 556 557 #line 222 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 558 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 559 560 561 #line default 562 #line hidden 563 WriteLiteralTo(__razor_helper_writer, "\r\n"); 564 565 WriteLiteralTo(__razor_helper_writer, " "); 566 567 568 #line 223 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 569 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 570 571 572 #line default 573 #line hidden 574 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 575 576 577 #line 226 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 578 } 579 580 581 #line default 582 #line hidden 583 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 584 585 586 #line 228 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 587 588 589 #line default 590 #line hidden 591 }); 592 593 #line 228 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 594 } 595 #line default 596 #line hidden 597 598 599 #line 230 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 600 public RazorEngine.Templating.TemplateWriter RenderLayoutImageLeft(ContentParagraph settings) 601 { 602 #line default 603 #line hidden 604 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 605 606 #line 231 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 607 608 609 610 #line default 611 #line hidden 612 WriteLiteralTo(__razor_helper_writer, " <div"); 613 614 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10912), Tuple.Create("\"", 10981) 615 , Tuple.Create(Tuple.Create("", 10920), Tuple.Create("grid__cell", 10920), true) 616 617 #line 232 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 618 , Tuple.Create(Tuple.Create(" ", 10930), Tuple.Create<System.Object, System.Int32>(settings.CardCss 619 620 #line default 621 #line hidden 622 , 10931), false) 623 624 #line 232 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 625 , Tuple.Create(Tuple.Create(" ", 10948), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 626 627 #line default 628 #line hidden 629 , 10949), false) 630 , Tuple.Create(Tuple.Create(" ", 10974), Tuple.Create("dw-mod", 10975), true) 631 ); 632 633 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 634 635 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--external-bleed\""); 636 637 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 638 639 640 #line 234 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 641 642 643 #line default 644 #line hidden 645 646 #line 234 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 647 if (!settings.SetImageAsBackground && settings.Image != null) 648 { 649 650 651 #line default 652 #line hidden 653 WriteLiteralTo(__razor_helper_writer, " <div"); 654 655 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-3\""); 656 657 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 658 659 WriteLiteralTo(__razor_helper_writer, " "); 660 661 662 #line 237 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 663 WriteTo(__razor_helper_writer, Render(settings.Image)); 664 665 666 #line default 667 #line hidden 668 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 669 670 671 #line 239 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 672 } 673 674 675 #line default 676 #line hidden 677 WriteLiteralTo(__razor_helper_writer, " <div"); 678 679 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11268), Tuple.Create("\"", 11320) 680 , Tuple.Create(Tuple.Create("", 11276), Tuple.Create("grid__col-9", 11276), true) 681 682 #line 240 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 683 , Tuple.Create(Tuple.Create(" ", 11287), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 684 685 #line default 686 #line hidden 687 , 11288), false) 688 , Tuple.Create(Tuple.Create(" ", 11313), Tuple.Create("dw-mod", 11314), true) 689 ); 690 691 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 692 693 WriteLiteralTo(__razor_helper_writer, " "); 694 695 696 #line 241 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 697 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 698 699 700 #line default 701 #line hidden 702 WriteLiteralTo(__razor_helper_writer, "\r\n"); 703 704 WriteLiteralTo(__razor_helper_writer, " "); 705 706 707 #line 242 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 708 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 709 710 711 #line default 712 #line hidden 713 WriteLiteralTo(__razor_helper_writer, "\r\n"); 714 715 WriteLiteralTo(__razor_helper_writer, " "); 716 717 718 #line 243 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 719 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 720 721 722 #line default 723 #line hidden 724 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 725 726 727 #line 245 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 728 729 730 #line default 731 #line hidden 732 733 #line 245 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 734 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 735 { 736 737 738 #line default 739 #line hidden 740 WriteLiteralTo(__razor_helper_writer, " <div"); 741 742 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 743 744 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 745 746 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11744), Tuple.Create("\"", 11813) 747 , Tuple.Create(Tuple.Create("", 11752), Tuple.Create("paragraph-container__button", 11752), true) 748 749 #line 248 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 750 , Tuple.Create(Tuple.Create(" ", 11779), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 751 752 #line default 753 #line hidden 754 , 11780), false) 755 , Tuple.Create(Tuple.Create(" ", 11806), Tuple.Create("dw-mod", 11807), true) 756 ); 757 758 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 759 760 WriteLiteralTo(__razor_helper_writer, " "); 761 762 763 #line 249 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 764 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 765 766 767 #line default 768 #line hidden 769 WriteLiteralTo(__razor_helper_writer, "\r\n"); 770 771 WriteLiteralTo(__razor_helper_writer, " "); 772 773 774 #line 250 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 775 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 776 777 778 #line default 779 #line hidden 780 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 781 782 783 #line 253 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 784 } 785 786 787 #line default 788 #line hidden 789 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div>\r\n"); 790 791 792 #line 257 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 793 794 795 #line default 796 #line hidden 797 }); 798 799 #line 257 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 800 } 801 #line default 802 #line hidden 803 804 805 #line 259 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 806 public RazorEngine.Templating.TemplateWriter RenderLayoutImageRight(ContentParagraph settings) 807 { 808 #line default 809 #line hidden 810 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 811 812 #line 260 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 813 814 815 816 #line default 817 #line hidden 818 WriteLiteralTo(__razor_helper_writer, " <div"); 819 820 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12143), Tuple.Create("\"", 12179) 821 , Tuple.Create(Tuple.Create("", 12151), Tuple.Create("grid__cell", 12151), true) 822 823 #line 261 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 824 , Tuple.Create(Tuple.Create(" ", 12161), Tuple.Create<System.Object, System.Int32>(settings.CardCss 825 826 #line default 827 #line hidden 828 , 12162), false) 829 ); 830 831 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 832 833 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--external-bleed\""); 834 835 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 836 837 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12248), Tuple.Create("\"", 12300) 838 , Tuple.Create(Tuple.Create("", 12256), Tuple.Create("grid__col-9", 12256), true) 839 840 #line 263 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 841 , Tuple.Create(Tuple.Create(" ", 12267), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 842 843 #line default 844 #line hidden 845 , 12268), false) 846 , Tuple.Create(Tuple.Create(" ", 12293), Tuple.Create("dw-mod", 12294), true) 847 ); 848 849 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 850 851 WriteLiteralTo(__razor_helper_writer, " "); 852 853 854 #line 264 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 855 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 856 857 858 #line default 859 #line hidden 860 WriteLiteralTo(__razor_helper_writer, "\r\n"); 861 862 WriteLiteralTo(__razor_helper_writer, " "); 863 864 865 #line 265 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 866 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 867 868 869 #line default 870 #line hidden 871 WriteLiteralTo(__razor_helper_writer, "\r\n"); 872 873 WriteLiteralTo(__razor_helper_writer, " "); 874 875 876 #line 266 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 877 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 878 879 880 #line default 881 #line hidden 882 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 883 884 885 #line 268 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 886 887 888 #line default 889 #line hidden 890 891 #line 268 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 892 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 893 { 894 895 896 #line default 897 #line hidden 898 WriteLiteralTo(__razor_helper_writer, " <div"); 899 900 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 901 902 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 903 904 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12724), Tuple.Create("\"", 12793) 905 , Tuple.Create(Tuple.Create("", 12732), Tuple.Create("paragraph-container__button", 12732), true) 906 907 #line 271 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 908 , Tuple.Create(Tuple.Create(" ", 12759), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 909 910 #line default 911 #line hidden 912 , 12760), false) 913 , Tuple.Create(Tuple.Create(" ", 12786), Tuple.Create("dw-mod", 12787), true) 914 ); 915 916 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 917 918 WriteLiteralTo(__razor_helper_writer, " "); 919 920 921 #line 272 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 922 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 923 924 925 #line default 926 #line hidden 927 WriteLiteralTo(__razor_helper_writer, "\r\n"); 928 929 WriteLiteralTo(__razor_helper_writer, " "); 930 931 932 #line 273 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 933 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 934 935 936 #line default 937 #line hidden 938 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 939 940 941 #line 276 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 942 } 943 944 945 #line default 946 #line hidden 947 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 948 949 950 #line 278 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 951 952 953 #line default 954 #line hidden 955 956 #line 278 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 957 if (!settings.SetImageAsBackground && settings.Image != null) 958 { 959 960 961 #line default 962 #line hidden 963 WriteLiteralTo(__razor_helper_writer, " <div"); 964 965 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-3\""); 966 967 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 968 969 WriteLiteralTo(__razor_helper_writer, " "); 970 971 972 #line 281 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 973 WriteTo(__razor_helper_writer, Render(settings.Image)); 974 975 976 #line default 977 #line hidden 978 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 979 980 981 #line 283 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 982 } 983 984 985 #line default 986 #line hidden 987 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 988 989 990 #line 286 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 991 992 993 #line default 994 #line hidden 995 }); 996 997 #line 286 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 998 } 999 #line default 1000 #line hidden 1001 1002 1003 #line 288 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1004 public RazorEngine.Templating.TemplateWriter RenderLayoutImageCentered(ContentParagraph settings) 1005 { 1006 #line default 1007 #line hidden 1008 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1009 1010 #line 289 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1011 1012 1013 1014 #line default 1015 #line hidden 1016 WriteLiteralTo(__razor_helper_writer, " <div"); 1017 1018 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13344), Tuple.Create("\"", 13413) 1019 , Tuple.Create(Tuple.Create("", 13352), Tuple.Create("grid__cell", 13352), true) 1020 1021 #line 290 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1022 , Tuple.Create(Tuple.Create(" ", 13362), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1023 1024 #line default 1025 #line hidden 1026 , 13363), false) 1027 1028 #line 290 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1029 , Tuple.Create(Tuple.Create(" ", 13380), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1030 1031 #line default 1032 #line hidden 1033 , 13381), false) 1034 , Tuple.Create(Tuple.Create(" ", 13406), Tuple.Create("dw-mod", 13407), true) 1035 ); 1036 1037 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 1038 1039 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-center\""); 1040 1041 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1042 1043 1044 #line 293 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1045 1046 1047 #line default 1048 #line hidden 1049 1050 #line 293 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1051 if (!settings.SetImageAsBackground && settings.Image != null) 1052 { 1053 1054 1055 #line default 1056 #line hidden 1057 WriteLiteralTo(__razor_helper_writer, " <div"); 1058 1059 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg u-inline-block\""); 1060 1061 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1062 1063 WriteLiteralTo(__razor_helper_writer, " "); 1064 1065 1066 #line 296 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1067 WriteTo(__razor_helper_writer, Render(settings.Image)); 1068 1069 1070 #line default 1071 #line hidden 1072 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1073 1074 1075 #line 298 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1076 } 1077 1078 1079 #line default 1080 #line hidden 1081 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 1082 1083 WriteLiteralTo(__razor_helper_writer, " "); 1084 1085 1086 #line 301 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1087 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1088 1089 1090 #line default 1091 #line hidden 1092 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1093 1094 WriteLiteralTo(__razor_helper_writer, " "); 1095 1096 1097 #line 302 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1098 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1099 1100 1101 #line default 1102 #line hidden 1103 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1104 1105 WriteLiteralTo(__razor_helper_writer, " "); 1106 1107 1108 #line 303 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1109 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1110 1111 1112 #line default 1113 #line hidden 1114 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 1115 1116 1117 #line 305 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1118 1119 1120 #line default 1121 #line hidden 1122 1123 #line 305 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1124 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1125 { 1126 1127 1128 #line default 1129 #line hidden 1130 WriteLiteralTo(__razor_helper_writer, " <div"); 1131 1132 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14035), Tuple.Create("\"", 14104) 1133 , Tuple.Create(Tuple.Create("", 14043), Tuple.Create("paragraph-container__button", 14043), true) 1134 1135 #line 307 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1136 , Tuple.Create(Tuple.Create(" ", 14070), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1137 1138 #line default 1139 #line hidden 1140 , 14071), false) 1141 , Tuple.Create(Tuple.Create(" ", 14097), Tuple.Create("dw-mod", 14098), true) 1142 ); 1143 1144 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1145 1146 WriteLiteralTo(__razor_helper_writer, " "); 1147 1148 1149 #line 308 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1150 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1151 1152 1153 #line default 1154 #line hidden 1155 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1156 1157 WriteLiteralTo(__razor_helper_writer, " "); 1158 1159 1160 #line 309 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1161 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1162 1163 1164 #line default 1165 #line hidden 1166 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1167 1168 1169 #line 311 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1170 } 1171 1172 1173 #line default 1174 #line hidden 1175 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1176 1177 1178 #line 313 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1179 1180 1181 #line default 1182 #line hidden 1183 }); 1184 1185 #line 313 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1186 } 1187 #line default 1188 #line hidden 1189 1190 1191 #line 315 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1192 public RazorEngine.Templating.TemplateWriter RenderLayoutAllCentered(ContentParagraph settings) 1193 { 1194 #line default 1195 #line hidden 1196 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1197 1198 #line 316 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1199 1200 1201 1202 #line default 1203 #line hidden 1204 WriteLiteralTo(__razor_helper_writer, " <div"); 1205 1206 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 14327), Tuple.Create("\"", 14396) 1207 , Tuple.Create(Tuple.Create("", 14335), Tuple.Create("grid__cell", 14335), true) 1208 1209 #line 317 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1210 , Tuple.Create(Tuple.Create(" ", 14345), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1211 1212 #line default 1213 #line hidden 1214 , 14346), false) 1215 1216 #line 317 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1217 , Tuple.Create(Tuple.Create(" ", 14363), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1218 1219 #line default 1220 #line hidden 1221 , 14364), false) 1222 , Tuple.Create(Tuple.Create(" ", 14389), Tuple.Create("dw-mod", 14390), true) 1223 ); 1224 1225 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 1226 1227 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-center\""); 1228 1229 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1230 1231 1232 #line 320 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1233 1234 1235 #line default 1236 #line hidden 1237 1238 #line 320 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1239 if (!settings.SetImageAsBackground && settings.Image != null) 1240 { 1241 1242 1243 #line default 1244 #line hidden 1245 WriteLiteralTo(__razor_helper_writer, " <div"); 1246 1247 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg u-inline-block\""); 1248 1249 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1250 1251 WriteLiteralTo(__razor_helper_writer, " "); 1252 1253 1254 #line 323 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1255 WriteTo(__razor_helper_writer, Render(settings.Image)); 1256 1257 1258 #line default 1259 #line hidden 1260 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1261 1262 1263 #line 325 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1264 } 1265 1266 1267 #line default 1268 #line hidden 1269 WriteLiteralTo(__razor_helper_writer, " "); 1270 1271 1272 #line 326 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1273 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1274 1275 1276 #line default 1277 #line hidden 1278 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1279 1280 WriteLiteralTo(__razor_helper_writer, " "); 1281 1282 1283 #line 327 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1284 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1285 1286 1287 #line default 1288 #line hidden 1289 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1290 1291 WriteLiteralTo(__razor_helper_writer, " "); 1292 1293 1294 #line 328 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1295 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1296 1297 1298 #line default 1299 #line hidden 1300 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 1301 1302 1303 #line 331 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1304 1305 1306 #line default 1307 #line hidden 1308 1309 #line 331 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1310 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1311 { 1312 1313 1314 #line default 1315 #line hidden 1316 WriteLiteralTo(__razor_helper_writer, " <div"); 1317 1318 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15028), Tuple.Create("\"", 15097) 1319 , Tuple.Create(Tuple.Create("", 15036), Tuple.Create("paragraph-container__button", 15036), true) 1320 1321 #line 333 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1322 , Tuple.Create(Tuple.Create(" ", 15063), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1323 1324 #line default 1325 #line hidden 1326 , 15064), false) 1327 , Tuple.Create(Tuple.Create(" ", 15090), Tuple.Create("dw-mod", 15091), true) 1328 ); 1329 1330 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1331 1332 WriteLiteralTo(__razor_helper_writer, " "); 1333 1334 1335 #line 334 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1336 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1337 1338 1339 #line default 1340 #line hidden 1341 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1342 1343 WriteLiteralTo(__razor_helper_writer, " "); 1344 1345 1346 #line 335 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1347 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1348 1349 1350 #line default 1351 #line hidden 1352 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1353 1354 1355 #line 337 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1356 } 1357 1358 1359 #line default 1360 #line hidden 1361 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1362 1363 1364 #line 339 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1365 1366 1367 #line default 1368 #line hidden 1369 }); 1370 1371 #line 339 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1372 } 1373 #line default 1374 #line hidden 1375 1376 1377 #line 341 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1378 public RazorEngine.Templating.TemplateWriter RenderLayoutMiddle(ContentParagraph settings) 1379 { 1380 #line default 1381 #line hidden 1382 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1383 1384 #line 342 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1385 1386 1387 1388 #line default 1389 #line hidden 1390 WriteLiteralTo(__razor_helper_writer, " <div>\r\n <div"); 1391 1392 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15330), Tuple.Create("\"", 15399) 1393 , Tuple.Create(Tuple.Create("", 15338), Tuple.Create("grid__cell", 15338), true) 1394 1395 #line 344 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1396 , Tuple.Create(Tuple.Create(" ", 15348), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1397 1398 #line default 1399 #line hidden 1400 , 15349), false) 1401 1402 #line 344 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1403 , Tuple.Create(Tuple.Create(" ", 15366), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1404 1405 #line default 1406 #line hidden 1407 , 15367), false) 1408 , Tuple.Create(Tuple.Create(" ", 15392), Tuple.Create("dw-mod", 15393), true) 1409 ); 1410 1411 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 1412 1413 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15421), Tuple.Create("\"", 15487) 1414 1415 #line 346 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1416 , Tuple.Create(Tuple.Create("", 15429), Tuple.Create<System.Object, System.Int32>(settings.Layout == "middle-center" ? "u-ta-center" : "" 1417 1418 #line default 1419 #line hidden 1420 , 15429), false) 1421 ); 1422 1423 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1424 1425 1426 #line 347 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1427 1428 1429 #line default 1430 #line hidden 1431 1432 #line 347 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1433 if (!settings.SetImageAsBackground && settings.Image != null) 1434 { 1435 1436 1437 #line default 1438 #line hidden 1439 WriteLiteralTo(__razor_helper_writer, " <div"); 1440 1441 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg u-inline-block\""); 1442 1443 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1444 1445 WriteLiteralTo(__razor_helper_writer, " "); 1446 1447 1448 #line 350 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1449 WriteTo(__razor_helper_writer, Render(settings.Image)); 1450 1451 1452 #line default 1453 #line hidden 1454 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1455 1456 1457 #line 352 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1458 } 1459 1460 1461 #line default 1462 #line hidden 1463 WriteLiteralTo(__razor_helper_writer, " "); 1464 1465 1466 #line 353 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1467 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1468 1469 1470 #line default 1471 #line hidden 1472 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1473 1474 WriteLiteralTo(__razor_helper_writer, " "); 1475 1476 1477 #line 354 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1478 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1479 1480 1481 #line default 1482 #line hidden 1483 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1484 1485 WriteLiteralTo(__razor_helper_writer, " "); 1486 1487 1488 #line 355 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1489 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1490 1491 1492 #line default 1493 #line hidden 1494 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 1495 1496 1497 #line 358 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1498 1499 1500 #line default 1501 #line hidden 1502 1503 #line 358 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1504 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1505 { 1506 1507 1508 #line default 1509 #line hidden 1510 WriteLiteralTo(__razor_helper_writer, " <div"); 1511 1512 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16134), Tuple.Create("\"", 16203) 1513 , Tuple.Create(Tuple.Create("", 16142), Tuple.Create("paragraph-container__button", 16142), true) 1514 1515 #line 360 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1516 , Tuple.Create(Tuple.Create(" ", 16169), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1517 1518 #line default 1519 #line hidden 1520 , 16170), false) 1521 , Tuple.Create(Tuple.Create(" ", 16196), Tuple.Create("dw-mod", 16197), true) 1522 ); 1523 1524 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1525 1526 WriteLiteralTo(__razor_helper_writer, " "); 1527 1528 1529 #line 361 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1530 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1531 1532 1533 #line default 1534 #line hidden 1535 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1536 1537 WriteLiteralTo(__razor_helper_writer, " "); 1538 1539 1540 #line 362 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1541 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1542 1543 1544 #line default 1545 #line hidden 1546 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1547 1548 1549 #line 364 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1550 } 1551 1552 1553 #line default 1554 #line hidden 1555 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 1556 1557 1558 #line 367 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1559 1560 1561 #line default 1562 #line hidden 1563 }); 1564 1565 #line 367 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1566 } 1567 #line default 1568 #line hidden 1569 1570 1571 #line 369 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1572 public RazorEngine.Templating.TemplateWriter RenderLayoutImageTop(ContentParagraph settings) 1573 { 1574 #line default 1575 #line hidden 1576 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1577 1578 #line 370 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1579 1580 1581 1582 #line default 1583 #line hidden 1584 WriteLiteralTo(__razor_helper_writer, " <div"); 1585 1586 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16455), Tuple.Create("\"", 16491) 1587 , Tuple.Create(Tuple.Create("", 16463), Tuple.Create("grid__cell", 16463), true) 1588 1589 #line 371 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1590 , Tuple.Create(Tuple.Create(" ", 16473), Tuple.Create<System.Object, System.Int32>(settings.CardCss 1591 1592 #line default 1593 #line hidden 1594 , 16474), false) 1595 ); 1596 1597 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1598 1599 1600 #line 372 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1601 1602 1603 #line default 1604 #line hidden 1605 1606 #line 372 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1607 if (!settings.SetImageAsBackground && settings.Image != null) 1608 { 1609 1610 1611 #line default 1612 #line hidden 1613 WriteLiteralTo(__razor_helper_writer, " <div"); 1614 1615 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 1616 1617 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1618 1619 WriteLiteralTo(__razor_helper_writer, " "); 1620 1621 1622 #line 375 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1623 WriteTo(__razor_helper_writer, Render(settings.Image)); 1624 1625 1626 #line default 1627 #line hidden 1628 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1629 1630 1631 #line 377 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1632 } 1633 1634 1635 #line default 1636 #line hidden 1637 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 1638 1639 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16699), Tuple.Create("\"", 16739) 1640 1641 #line 379 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1642 , Tuple.Create(Tuple.Create("", 16707), Tuple.Create<System.Object, System.Int32>(settings.InnerPaddingCss 1643 1644 #line default 1645 #line hidden 1646 , 16707), false) 1647 , Tuple.Create(Tuple.Create(" ", 16732), Tuple.Create("dw-mod", 16733), true) 1648 ); 1649 1650 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1651 1652 WriteLiteralTo(__razor_helper_writer, " "); 1653 1654 1655 #line 380 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1656 WriteTo(__razor_helper_writer, Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link })); 1657 1658 1659 #line default 1660 #line hidden 1661 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1662 1663 WriteLiteralTo(__razor_helper_writer, " "); 1664 1665 1666 #line 381 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1667 WriteTo(__razor_helper_writer, Render(new Text { Content = settings.Text })); 1668 1669 1670 #line default 1671 #line hidden 1672 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1673 1674 WriteLiteralTo(__razor_helper_writer, " "); 1675 1676 1677 #line 382 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1678 WriteTo(__razor_helper_writer, Render(new ContentModule { Content = settings.Module })); 1679 1680 1681 #line default 1682 #line hidden 1683 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 1684 1685 1686 #line 384 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1687 1688 1689 #line default 1690 #line hidden 1691 1692 #line 384 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1693 if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 1694 { 1695 1696 1697 #line default 1698 #line hidden 1699 WriteLiteralTo(__razor_helper_writer, " <div"); 1700 1701 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 17089), Tuple.Create("\"", 17158) 1702 , Tuple.Create(Tuple.Create("", 17097), Tuple.Create("paragraph-container__button", 17097), true) 1703 1704 #line 386 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1705 , Tuple.Create(Tuple.Create(" ", 17124), Tuple.Create<System.Object, System.Int32>(settings.ButtonWrapperCss 1706 1707 #line default 1708 #line hidden 1709 , 17125), false) 1710 , Tuple.Create(Tuple.Create(" ", 17151), Tuple.Create("dw-mod", 17152), true) 1711 ); 1712 1713 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1714 1715 WriteLiteralTo(__razor_helper_writer, " "); 1716 1717 1718 #line 387 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1719 WriteTo(__razor_helper_writer, Render(settings.ButtonPrimary)); 1720 1721 1722 #line default 1723 #line hidden 1724 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1725 1726 WriteLiteralTo(__razor_helper_writer, " "); 1727 1728 1729 #line 388 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1730 WriteTo(__razor_helper_writer, Render(settings.ButtonSecondary)); 1731 1732 1733 #line default 1734 #line hidden 1735 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1736 1737 1738 #line 390 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1739 } 1740 1741 1742 #line default 1743 #line hidden 1744 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 1745 1746 1747 #line 393 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1748 1749 1750 #line default 1751 #line hidden 1752 }); 1753 1754 #line 393 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1755 } 1756 #line default 1757 #line hidden 1758 1759 1760 public RazorEngine_063c5cefd8e94e27bb4545976410ee33() { 1761 } 1762 1763 public override void Execute() { 1764 WriteLiteral("\r\n"); 1765 1766 WriteLiteral("\r\n"); 1767 1768 WriteLiteral("\r\n\r\n"); 1769 1770 WriteLiteral("\r\n"); 1771 1772 WriteLiteral("\r\n"); 1773 1774 WriteLiteral("\r\n"); 1775 1776 WriteLiteral("\r\n"); 1777 1778 WriteLiteral("\r\n"); 1779 1780 WriteLiteral("\r\n"); 1781 1782 WriteLiteral("\r\n\r\n<div"); 1783 1784 WriteAttribute("class", Tuple.Create(" class=\"", 17348), Tuple.Create("\"", 17379) 1785 1786 #line 396 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1787 , Tuple.Create(Tuple.Create("", 17356), Tuple.Create<System.Object, System.Int32>(columnClass() 1788 1789 #line default 1790 #line hidden 1791 , 17356), false) 1792 , Tuple.Create(Tuple.Create(" ", 17370), Tuple.Create("webshops", 17371), true) 1793 ); 1794 1795 WriteLiteral(">\r\n"); 1796 1797 WriteLiteral(" "); 1798 1799 1800 #line 397 "E:\dynamicweb.net\solutions\Capo\hepacgroup.dw9.dynamicweb-cms.com\files\Templates\Designs\Rapido\Paragraph\StoresList.cshtml" 1801 Write(RenderContent(Model.Item)); 1802 1803 1804 #line default 1805 #line hidden 1806 WriteLiteral("\r\n</div>"); 1807 1808 } 1809 } 1810 } 1811

1 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 2 3 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 4 5 @functions { 6 public string columnClass() 7 { 8 string columnValue = Model.Item.GetList("Width") != null ? Model.Item.GetList("Width").SelectedValue.ToString() : "12"; 9 string columnClasses = "grid__col-lg-" + columnValue + " grid__col-md-" + columnValue + " grid__col-sm-" + columnValue; 10 string hideOnMobile = Model.Item.GetList("WidthMobile").SelectedValue.ToLower() == "hide" ? " u-hidden-xs u-hidden-xxs" : " grid__col-xs-" + Model.Item.GetList("WidthMobile").SelectedValue; 11 12 return columnClasses + hideOnMobile; 13 } 14 } 15 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel> 16 @using Dynamicweb.Frontend 17 @using Dynamicweb.Rapido.Blocks.Components.General 18 @using Dynamicweb.Rapido.Blocks.Components 19 20 @functions { 21 public class ContentParagraph 22 { 23 public string Title { get; set; } 24 public Image Image { get; set; } 25 public string Text { get; set; } 26 public string Link { get; set; } 27 public bool SetImageAsBackground { get; set; } 28 public bool HideOuterPadding { get; set; } 29 public string InnerPaddingCss { get; set; } 30 public string CardCss { get; set; } 31 public string ButtonWrapperCss { get; set; } 32 public string Layout { get; set; } 33 public string Module { get; set; } 34 public Link ButtonPrimary { get; set; } 35 public Link ButtonSecondary { get; set; } 36 } 37 } 38 39 @helper RenderParagraph(ItemViewModel item, bool renderModule = true) 40 { 41 if (item != null) { 42 string layout = item.GetList("ContentPositions").SelectedValue; 43 44 string paragraphClasses = ""; 45 string paragraphWidth = !String.IsNullOrEmpty(item.GetString("Width")) ? item.GetList("Width").SelectedValue : "12"; 46 paragraphClasses += " grid__col-lg-" + paragraphWidth + " grid__col-md-" + paragraphWidth + " grid__col-sm-" + paragraphWidth; 47 if (item.GetList("WidthMobile").SelectedValue == "hide") 48 { 49 paragraphClasses += " u-hidden-xs"; 50 } 51 else 52 { 53 paragraphClasses += " grid__col-xs-" + item.GetList("WidthMobile").SelectedValue; 54 } 55 paragraphClasses += item.GetBoolean("HidePadding") ? " paragraph-container--no-padding" : ""; 56 paragraphClasses += layout == "middle-center" || layout == "middle-left" ? " u-middle-horizontal grid--justify-center grid--align-self-center" : ""; 57 58 //Alternative Design Layout 59 var designLayout = Model.Item.GetItem("CustomSettings") != null ? Model.Item.GetItem("CustomSettings").GetString("DesignLayout") != null ? Model.Item.GetItem("CustomSettings").GetList("DesignLayout").SelectedValue : "" : ""; 60 paragraphClasses += !String.IsNullOrEmpty(designLayout) ? designLayout : ""; 61 62 string title = item.GetBoolean("ShowTitle") ? item.GetString("Title") : ""; 63 string cardClass = item.GetBoolean("ShowAsCard") ? "paragraph-card" : ""; 64 string buttonSpacing = ""; 65 string buttonAlignment = layout == "all-centered" || layout == "middle-center" ? "grid--justify-center" : ""; 66 67 string image = item.GetFile("Image") != null ? item.GetFile("Image").ToString() + "&" + item.GetFile("Image").GetFocalPointParameters() : ""; 68 int cropMode = !String.IsNullOrEmpty(Converter.ToString(item.GetList("ImageCrop"))) ? Convert.ToInt32(item.GetList("ImageCrop").SelectedValue) : 0; 69 ImageStyle imageStyle = item.GetList("ImageStyle").SelectedValue == "ball" ? ImageStyle.Ball : ImageStyle.None; 70 ButtonLayout primaryButtonLayout = !String.IsNullOrEmpty(item.GetList("ButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("ButtonDesign").SelectedValue[0]) + item.GetList("ButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Primary; 71 if (primaryButtonLayout == ButtonLayout.Link) 72 { 73 primaryButtonLayout = ButtonLayout.LinkClean; 74 } 75 ButtonLayout secondaryButtonLayout = !String.IsNullOrEmpty(item.GetList("SecondaryButtonDesign").SelectedValue) ? (ButtonLayout)System.Enum.Parse(typeof(ButtonLayout), char.ToUpper(item.GetList("SecondaryButtonDesign").SelectedValue[0]) + item.GetList("SecondaryButtonDesign").SelectedValue.Substring(1)) : ButtonLayout.Secondary; 76 if (secondaryButtonLayout == ButtonLayout.Link) 77 { 78 secondaryButtonLayout = ButtonLayout.LinkClean; 79 } 80 ImageFilter primaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterPrimary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterPrimary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 81 ImageFilter secondaryImageFilter = !string.IsNullOrEmpty(item.GetList("ImageFilterSecondary").SelectedValue) ? (ImageFilter) Enum.Parse(typeof(ImageFilter), item.GetList("ImageFilterSecondary").SelectedValue.Replace("-", ""), true) : ImageFilter.None; 82 string imageFilterColorCode = item.GetString("ColorForTheFilter").StartsWith("#") && primaryImageFilter == ImageFilter.Colorize ? GenerateRgba(item.GetString("ColorForTheFilter"), 0.3) : ""; 83 bool setImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false; 84 85 Image paragraphImage = null; 86 if (!String.IsNullOrEmpty(image)) 87 { 88 paragraphImage = new Image 89 { 90 Path = image, 91 Link = item.GetString("Link"), 92 FilterPrimary = primaryImageFilter, 93 FilterSecondary = secondaryImageFilter, 94 FilterColor = imageFilterColorCode, 95 Style = imageStyle, 96 ImageDefault = new ImageSettings 97 { 98 Crop = cropMode, 99 Height = 845, 100 Width = 1920 101 }, 102 ImageMedium = new ImageSettings 103 { 104 Crop = cropMode, 105 Height = 450, 106 Width = 1024 107 }, 108 ImageSmall = new ImageSettings 109 { 110 Crop = cropMode, 111 Height = 544, 112 Width = 640 113 } 114 }; 115 } 116 117 ContentParagraph paragraph = new ContentParagraph 118 { 119 Title = title, 120 Text = item.GetString("Text"), 121 Image = paragraphImage, 122 Link = item.GetString("Link"), 123 Module = !String.IsNullOrEmpty(Model.GetModuleOutput()) && renderModule ? Model.GetModuleOutput() : "", 124 InnerPaddingCss = item.GetList("InnerPadding") != null ? "paragraph-container__body--padding-" + item.GetList("InnerPadding").SelectedValue : "", 125 CardCss = cardClass, 126 HideOuterPadding = item.GetBoolean("HidePadding"), 127 SetImageAsBackground = item.GetList("ImageStyle").SelectedValue.ToLower() == "background" ? true : false, 128 ButtonWrapperCss = buttonSpacing + buttonAlignment, 129 Layout = layout 130 }; 131 132 if (!String.IsNullOrEmpty(item.GetString("Link"))) 133 { 134 paragraph.ButtonPrimary = new Link 135 { 136 Href = item.GetString("Link"), 137 Title = item.GetString("LinkText"), 138 ButtonLayout = primaryButtonLayout, 139 CssClass = "u-no-margin" 140 }; 141 142 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) { 143 paragraph.ButtonPrimary.CssClass = ""; 144 } 145 } 146 147 if (!String.IsNullOrEmpty(item.GetString("SecondaryLink"))) 148 { 149 if (!String.IsNullOrEmpty(item.GetString("Link"))) 150 { 151 paragraph.ButtonPrimary.CssClass += " u-margin-right--lg"; 152 } 153 154 paragraph.ButtonSecondary = new Link 155 { 156 Href = item.GetString("SecondaryLink"), 157 Title = item.GetString("SecondaryLinkText"), 158 ButtonLayout = secondaryButtonLayout 159 }; 160 } 161 162 <div class="paragraph-container @paragraphClasses dw-mod"> 163 @if (setImageAsBackground == true && paragraphImage != null) 164 { 165 paragraphImage.CssClass = "background-image__cover"; 166 167 <div class="background-image dw-mod"> 168 <div class="background-image__wrapper dw-mod"> 169 @Render(paragraphImage) 170 </div> 171 </div> 172 } 173 @{ 174 switch (layout) 175 { 176 case "title-top": 177 @RenderLayoutTitleTop(paragraph) 178 break; 179 case "image-left": 180 @RenderLayoutImageLeft(paragraph) 181 break; 182 case "image-right": 183 @RenderLayoutImageRight(paragraph) 184 break; 185 case "image-centered": 186 @RenderLayoutImageCentered(paragraph) 187 break; 188 case "all-centered": 189 @RenderLayoutAllCentered(paragraph) 190 break; 191 case "middle-center": 192 case "middle-left": 193 @RenderLayoutMiddle(paragraph) 194 break; 195 default: 196 @RenderLayoutImageTop(paragraph) 197 break; 198 } 199 } 200 </div> 201 } 202 } 203 204 205 @helper RenderLayoutTitleTop(ContentParagraph settings) 206 { 207 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 208 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 209 @if (!settings.SetImageAsBackground && settings.Image != null) 210 { 211 <div class="u-margin-bottom--lg"> 212 @Render(settings.Image) 213 </div> 214 } 215 @Render(new Text { Content = settings.Text}) 216 @Render(new ContentModule { Content = settings.Module }) 217 218 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 219 { 220 <div class="grid__cell"> 221 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 222 @Render(settings.ButtonPrimary) 223 @Render(settings.ButtonSecondary) 224 </div> 225 </div> 226 } 227 </div> 228 } 229 230 @helper RenderLayoutImageLeft(ContentParagraph settings) 231 { 232 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 233 <div class="grid grid--external-bleed"> 234 @if (!settings.SetImageAsBackground && settings.Image != null) 235 { 236 <div class="grid__col-3"> 237 @Render(settings.Image) 238 </div> 239 } 240 <div class="grid__col-9 @settings.InnerPaddingCss dw-mod"> 241 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 242 @Render(new Text { Content = settings.Text }) 243 @Render(new ContentModule { Content = settings.Module }) 244 245 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 246 { 247 <div class="grid__cell"> 248 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 249 @Render(settings.ButtonPrimary) 250 @Render(settings.ButtonSecondary) 251 </div> 252 </div> 253 } 254 </div> 255 </div> 256 </div> 257 } 258 259 @helper RenderLayoutImageRight(ContentParagraph settings) 260 { 261 <div class="grid__cell @settings.CardCss"> 262 <div class="grid grid--external-bleed"> 263 <div class="grid__col-9 @settings.InnerPaddingCss dw-mod"> 264 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 265 @Render(new Text { Content = settings.Text }) 266 @Render(new ContentModule { Content = settings.Module }) 267 268 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 269 { 270 <div class="grid__cell"> 271 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 272 @Render(settings.ButtonPrimary) 273 @Render(settings.ButtonSecondary) 274 </div> 275 </div> 276 } 277 </div> 278 @if (!settings.SetImageAsBackground && settings.Image != null) 279 { 280 <div class="grid__col-3"> 281 @Render(settings.Image) 282 </div> 283 } 284 </div> 285 </div> 286 } 287 288 @helper RenderLayoutImageCentered(ContentParagraph settings) 289 { 290 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 291 292 <div class="u-ta-center"> 293 @if (!settings.SetImageAsBackground && settings.Image != null) 294 { 295 <div class="u-margin-bottom--lg u-inline-block"> 296 @Render(settings.Image) 297 </div> 298 } 299 </div> 300 301 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 302 @Render(new Text { Content = settings.Text }) 303 @Render(new ContentModule { Content = settings.Module }) 304 305 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 306 { 307 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 308 @Render(settings.ButtonPrimary) 309 @Render(settings.ButtonSecondary) 310 </div> 311 } 312 </div> 313 } 314 315 @helper RenderLayoutAllCentered(ContentParagraph settings) 316 { 317 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 318 319 <div class="u-ta-center"> 320 @if (!settings.SetImageAsBackground && settings.Image != null) 321 { 322 <div class="u-margin-bottom--lg u-inline-block"> 323 @Render(settings.Image) 324 </div> 325 } 326 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 327 @Render(new Text { Content = settings.Text }) 328 @Render(new ContentModule { Content = settings.Module }) 329 </div> 330 331 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 332 { 333 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 334 @Render(settings.ButtonPrimary) 335 @Render(settings.ButtonSecondary) 336 </div> 337 } 338 </div> 339 } 340 341 @helper RenderLayoutMiddle(ContentParagraph settings) 342 { 343 <div> 344 <div class="grid__cell @settings.CardCss @settings.InnerPaddingCss dw-mod"> 345 346 <div class="@(settings.Layout == "middle-center" ? "u-ta-center" : "")"> 347 @if (!settings.SetImageAsBackground && settings.Image != null) 348 { 349 <div class="u-margin-bottom--lg u-inline-block"> 350 @Render(settings.Image) 351 </div> 352 } 353 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 354 @Render(new Text { Content = settings.Text }) 355 @Render(new ContentModule { Content = settings.Module }) 356 </div> 357 358 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 359 { 360 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 361 @Render(settings.ButtonPrimary) 362 @Render(settings.ButtonSecondary) 363 </div> 364 } 365 </div> 366 </div> 367 } 368 369 @helper RenderLayoutImageTop(ContentParagraph settings) 370 { 371 <div class="grid__cell @settings.CardCss"> 372 @if (!settings.SetImageAsBackground && settings.Image != null) 373 { 374 <div class="u-margin-bottom--lg"> 375 @Render(settings.Image) 376 </div> 377 } 378 379 <div class="@settings.InnerPaddingCss dw-mod"> 380 @Render(new Heading { Level = 2, Title = settings.Title, Link = settings.Link }) 381 @Render(new Text { Content = settings.Text }) 382 @Render(new ContentModule { Content = settings.Module }) 383 384 @if (settings.ButtonPrimary != null || settings.ButtonSecondary != null) 385 { 386 <div class="paragraph-container__button @settings.ButtonWrapperCss dw-mod"> 387 @Render(settings.ButtonPrimary) 388 @Render(settings.ButtonSecondary) 389 </div> 390 } 391 </div> 392 </div> 393 } 394 395 396 <div class="@columnClass() webshops"> 397 @RenderContent(Model.Item) 398 </div>