Error compiling template "Designs/Rapido/_parsed/Print.parsed.cshtml"
Line 176: The type or namespace name 'dynamicweb' could not be found (are you missing a using directive or an assembly reference?)
Line 16072: Type of conditional expression cannot be determined because there is no implicit conversion between 'int' and 'string'

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 13 #line 7720 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 19 #line 7722 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 20 using System.Collections.Generic; 21 22 #line default 23 #line hidden 24 25 #line 2040 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 26 using System.Linq; 27 28 #line default 29 #line hidden 30 31 #line 7955 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 32 using System.Web; 33 34 #line default 35 #line hidden 36 37 #line 7954 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 38 using Dynamicweb.Frontend; 39 40 #line default 41 #line hidden 42 43 #line 7539 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 44 using Dynamicweb.Frontend.Devices; 45 46 #line default 47 #line hidden 48 49 #line 6 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 50 using Dynamicweb.Extensibility; 51 52 #line default 53 #line hidden 54 55 #line 7 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 56 using Dynamicweb.Content; 57 58 #line default 59 #line hidden 60 61 #line 8 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 62 using Dynamicweb.Security; 63 64 #line default 65 #line hidden 66 67 #line 4631 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 68 using Dynamicweb.Core; 69 70 #line default 71 #line hidden 72 73 #line 7063 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 74 using System.IO; 75 76 #line default 77 #line hidden 78 79 #line 7723 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 80 using Dynamicweb.Rapido.Blocks; 81 82 #line default 83 #line hidden 84 85 #line 14 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 86 using System.Net; 87 88 #line default 89 #line hidden 90 91 #line 4632 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 92 using System.Text.RegularExpressions; 93 94 #line default 95 #line hidden 96 97 #line 7502 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 98 using System.Reflection; 99 100 #line default 101 #line hidden 102 103 #line 2132 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 104 using System.Web.UI.HtmlControls; 105 106 #line default 107 #line hidden 108 109 #line 7536 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 110 using Dynamicweb.Rapido.Blocks.Components; 111 112 #line default 113 #line hidden 114 115 #line 3318 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 116 using Dynamicweb.Rapido.Blocks.Components.Articles; 117 118 #line default 119 #line hidden 120 121 #line 137 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 122 using Dynamicweb.Rapido.Blocks.Components.Documentation; 123 124 #line default 125 #line hidden 126 127 #line 7541 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 128 using Dynamicweb.Rapido.Blocks.Components.General; 129 130 #line default 131 #line hidden 132 133 #line 7540 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 134 using Dynamicweb.Rapido.Blocks.Components.Ecommerce; 135 136 #line default 137 #line hidden 138 139 #line 2489 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 140 using Dynamicweb.Content.Items; 141 142 #line default 143 #line hidden 144 145 #line 7636 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 146 using Dynamicweb.Rapido.Blocks.Extensibility; 147 148 #line default 149 #line hidden 150 151 #line 3537 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 152 using Dynamicweb.Security.UserManagement; 153 154 #line default 155 #line hidden 156 157 #line 3538 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 158 using Dynamicweb.Security.UserManagement.ExternalAuthentication; 159 160 #line default 161 #line hidden 162 163 #line 6865 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 164 using Dynamicweb.Rapido.Services; 165 166 #line default 167 #line hidden 168 169 #line 6830 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 170 using Dynamicweb.Ecommerce.Common; 171 172 #line default 173 #line hidden 174 175 176 public class RazorEngine_ded6ceba2f01473cb51725f2a532192e : Dynamicweb.Rendering.ViewModelTemplate<dynamicweb.frontend.pageviewmodel> { 177 178 #line hidden 179 180 #line 17 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 181 182 BlocksPage masterPage = BlocksPage.GetBlockPage("Master"); 183 184 string getFontFamily(params string[] items) 185 { 186 var itemParent = Pageview.AreaSettings; 187 foreach (var item in items) 188 { 189 itemParent = itemParent.GetItem(item); 190 if (itemParent == null) 191 { 192 return null; 193 } 194 } 195 196 var googleFont = itemParent.GetGoogleFont("FontFamily"); 197 if (googleFont == null) 198 { 199 return null; 200 } 201 return googleFont.Family.Replace(" ", "+"); 202 } 203 204 #line default 205 #line hidden 206 207 208 #line 143 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 209 public RazorEngine.Templating.TemplateWriter RenderBlockList(List<Block> blocks) 210 { 211 #line default 212 #line hidden 213 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 214 215 #line 144 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 216 217 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 218 blocks = blocks.OrderBy(item => item.SortId).ToList(); 219 220 foreach (Block item in blocks) 221 { 222 if (debug) { 223 224 225 #line default 226 #line hidden 227 WriteLiteralTo(__razor_helper_writer, " <!-- Block START: "); 228 229 230 #line 151 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 231 WriteTo(__razor_helper_writer, item.Id); 232 233 234 #line default 235 #line hidden 236 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 237 238 239 #line 152 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 240 } 241 242 if (item.Design == null) 243 { 244 245 246 #line default 247 #line hidden 248 249 #line 156 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 250 WriteTo(__razor_helper_writer, RenderBlock(item)); 251 252 253 #line default 254 #line hidden 255 256 #line 156 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 257 258 } 259 else if (item.Design.RenderType == RenderType.None) { 260 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 261 262 263 264 #line default 265 #line hidden 266 WriteLiteralTo(__razor_helper_writer, " <div"); 267 268 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 5322), Tuple.Create("\"", 5346) 269 270 #line 161 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 271 , Tuple.Create(Tuple.Create("", 5330), Tuple.Create<System.Object, System.Int32>(cssClass 272 273 #line default 274 #line hidden 275 , 5330), false) 276 , Tuple.Create(Tuple.Create(" ", 5339), Tuple.Create("dw-mod", 5340), true) 277 ); 278 279 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 280 281 WriteLiteralTo(__razor_helper_writer, " "); 282 283 284 #line 162 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 285 WriteTo(__razor_helper_writer, RenderBlock(item)); 286 287 288 #line default 289 #line hidden 290 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 291 292 293 #line 164 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 294 } 295 else if (item.Design.RenderType != RenderType.Hide) 296 { 297 string cssClass = item.Design.CssClass != null ? item.Design.CssClass : ""; 298 299 if (!item.SkipRenderBlocksList) { 300 if (item.Design.RenderType == RenderType.Row) 301 { 302 303 304 #line default 305 #line hidden 306 WriteLiteralTo(__razor_helper_writer, " <div"); 307 308 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 5732), Tuple.Create("\"", 5787) 309 , Tuple.Create(Tuple.Create("", 5740), Tuple.Create("grid", 5740), true) 310 , Tuple.Create(Tuple.Create(" ", 5744), Tuple.Create("grid--align-content-start", 5745), true) 311 312 #line 172 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 313 , Tuple.Create(Tuple.Create(" ", 5770), Tuple.Create<System.Object, System.Int32>(cssClass 314 315 #line default 316 #line hidden 317 , 5771), false) 318 , Tuple.Create(Tuple.Create(" ", 5780), Tuple.Create("dw-mod", 5781), true) 319 ); 320 321 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 5788), Tuple.Create("\"", 5808) 322 , Tuple.Create(Tuple.Create("", 5793), Tuple.Create("Block__", 5793), true) 323 324 #line 172 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 325 , Tuple.Create(Tuple.Create("", 5800), Tuple.Create<System.Object, System.Int32>(item.Id 326 327 #line default 328 #line hidden 329 , 5800), false) 330 ); 331 332 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 333 334 WriteLiteralTo(__razor_helper_writer, " "); 335 336 337 #line 173 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 338 WriteTo(__razor_helper_writer, RenderBlock(item)); 339 340 341 #line default 342 #line hidden 343 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 344 345 346 #line 175 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 347 } 348 349 if (item.Design.RenderType == RenderType.Column) 350 { 351 string hidePadding = item.Design.HidePadding ? "u-no-padding" : ""; 352 string size = item.Design.Size ?? "12"; 353 size = Regex.IsMatch(size, @"\d") ? "md-" + item.Design.Size : item.Design.Size; 354 355 356 357 #line default 358 #line hidden 359 WriteLiteralTo(__razor_helper_writer, " <div"); 360 361 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6268), Tuple.Create("\"", 6399) 362 , Tuple.Create(Tuple.Create("", 6276), Tuple.Create("grid__col-lg-", 6276), true) 363 364 #line 183 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 365 , Tuple.Create(Tuple.Create("", 6289), Tuple.Create<System.Object, System.Int32>(item.Design.Size 366 367 #line default 368 #line hidden 369 , 6289), false) 370 , Tuple.Create(Tuple.Create(" ", 6306), Tuple.Create("grid__col-md-", 6307), true) 371 372 #line 183 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 373 , Tuple.Create(Tuple.Create("", 6320), Tuple.Create<System.Object, System.Int32>(item.Design.Size 374 375 #line default 376 #line hidden 377 , 6320), false) 378 , Tuple.Create(Tuple.Create(" ", 6337), Tuple.Create("grid__col-sm-12", 6338), true) 379 , Tuple.Create(Tuple.Create(" ", 6353), Tuple.Create("grid__col-xs-12", 6354), true) 380 381 #line 183 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 382 , Tuple.Create(Tuple.Create(" ", 6369), Tuple.Create<System.Object, System.Int32>(hidePadding 383 384 #line default 385 #line hidden 386 , 6370), false) 387 388 #line 183 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 389 , Tuple.Create(Tuple.Create(" ", 6382), Tuple.Create<System.Object, System.Int32>(cssClass 390 391 #line default 392 #line hidden 393 , 6383), false) 394 , Tuple.Create(Tuple.Create(" ", 6392), Tuple.Create("dw-mod", 6393), true) 395 ); 396 397 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6400), Tuple.Create("\"", 6420) 398 , Tuple.Create(Tuple.Create("", 6405), Tuple.Create("Block__", 6405), true) 399 400 #line 183 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 401 , Tuple.Create(Tuple.Create("", 6412), Tuple.Create<System.Object, System.Int32>(item.Id 402 403 #line default 404 #line hidden 405 , 6412), false) 406 ); 407 408 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 409 410 WriteLiteralTo(__razor_helper_writer, " "); 411 412 413 #line 184 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 414 WriteTo(__razor_helper_writer, RenderBlock(item)); 415 416 417 #line default 418 #line hidden 419 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 420 421 422 #line 186 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 423 } 424 425 if (item.Design.RenderType == RenderType.Table) 426 { 427 428 429 #line default 430 #line hidden 431 WriteLiteralTo(__razor_helper_writer, " <table"); 432 433 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6627), Tuple.Create("\"", 6657) 434 , Tuple.Create(Tuple.Create("", 6635), Tuple.Create("table", 6635), true) 435 436 #line 190 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 437 , Tuple.Create(Tuple.Create(" ", 6640), Tuple.Create<System.Object, System.Int32>(cssClass 438 439 #line default 440 #line hidden 441 , 6641), false) 442 , Tuple.Create(Tuple.Create(" ", 6650), Tuple.Create("dw-mod", 6651), true) 443 ); 444 445 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6658), Tuple.Create("\"", 6678) 446 , Tuple.Create(Tuple.Create("", 6663), Tuple.Create("Block__", 6663), true) 447 448 #line 190 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 449 , Tuple.Create(Tuple.Create("", 6670), Tuple.Create<System.Object, System.Int32>(item.Id 450 451 #line default 452 #line hidden 453 , 6670), false) 454 ); 455 456 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 457 458 WriteLiteralTo(__razor_helper_writer, " "); 459 460 461 #line 191 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 462 WriteTo(__razor_helper_writer, RenderBlock(item)); 463 464 465 #line default 466 #line hidden 467 WriteLiteralTo(__razor_helper_writer, "\r\n </table>\r\n"); 468 469 470 #line 193 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 471 } 472 473 if (item.Design.RenderType == RenderType.TableRow) 474 { 475 476 477 #line default 478 #line hidden 479 WriteLiteralTo(__razor_helper_writer, " <tr"); 480 481 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 6887), Tuple.Create("\"", 6911) 482 483 #line 197 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 484 , Tuple.Create(Tuple.Create("", 6895), Tuple.Create<System.Object, System.Int32>(cssClass 485 486 #line default 487 #line hidden 488 , 6895), false) 489 , Tuple.Create(Tuple.Create(" ", 6904), Tuple.Create("dw-mod", 6905), true) 490 ); 491 492 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 6912), Tuple.Create("\"", 6932) 493 , Tuple.Create(Tuple.Create("", 6917), Tuple.Create("Block__", 6917), true) 494 495 #line 197 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 496 , Tuple.Create(Tuple.Create("", 6924), Tuple.Create<System.Object, System.Int32>(item.Id 497 498 #line default 499 #line hidden 500 , 6924), false) 501 ); 502 503 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 504 505 WriteLiteralTo(__razor_helper_writer, " "); 506 507 508 #line 198 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 509 WriteTo(__razor_helper_writer, RenderBlock(item)); 510 511 512 #line default 513 #line hidden 514 WriteLiteralTo(__razor_helper_writer, "\r\n </tr>\r\n"); 515 516 517 #line 200 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 518 } 519 520 if (item.Design.RenderType == RenderType.TableColumn) 521 { 522 523 524 #line default 525 #line hidden 526 WriteLiteralTo(__razor_helper_writer, " <td"); 527 528 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7141), Tuple.Create("\"", 7165) 529 530 #line 204 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 531 , Tuple.Create(Tuple.Create("", 7149), Tuple.Create<System.Object, System.Int32>(cssClass 532 533 #line default 534 #line hidden 535 , 7149), false) 536 , Tuple.Create(Tuple.Create(" ", 7158), Tuple.Create("dw-mod", 7159), true) 537 ); 538 539 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 7166), Tuple.Create("\"", 7186) 540 , Tuple.Create(Tuple.Create("", 7171), Tuple.Create("Block__", 7171), true) 541 542 #line 204 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 543 , Tuple.Create(Tuple.Create("", 7178), Tuple.Create<System.Object, System.Int32>(item.Id 544 545 #line default 546 #line hidden 547 , 7178), false) 548 ); 549 550 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 551 552 WriteLiteralTo(__razor_helper_writer, " "); 553 554 555 #line 205 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 556 WriteTo(__razor_helper_writer, RenderBlock(item)); 557 558 559 #line default 560 #line hidden 561 WriteLiteralTo(__razor_helper_writer, "\r\n </td>\r\n"); 562 563 564 #line 207 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 565 } 566 567 if (item.Design.RenderType == RenderType.CardHeader) 568 { 569 570 571 #line default 572 #line hidden 573 WriteLiteralTo(__razor_helper_writer, " <div"); 574 575 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7395), Tuple.Create("\"", 7431) 576 , Tuple.Create(Tuple.Create("", 7403), Tuple.Create("card-header", 7403), true) 577 578 #line 211 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 579 , Tuple.Create(Tuple.Create(" ", 7414), Tuple.Create<System.Object, System.Int32>(cssClass 580 581 #line default 582 #line hidden 583 , 7415), false) 584 , Tuple.Create(Tuple.Create(" ", 7424), Tuple.Create("dw-mod", 7425), true) 585 ); 586 587 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 588 589 WriteLiteralTo(__razor_helper_writer, " "); 590 591 592 #line 212 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 593 WriteTo(__razor_helper_writer, RenderBlock(item)); 594 595 596 #line default 597 #line hidden 598 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 599 600 601 #line 214 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 602 } 603 604 if (item.Design.RenderType == RenderType.CardBody) 605 { 606 607 608 #line default 609 #line hidden 610 WriteLiteralTo(__razor_helper_writer, " <div"); 611 612 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7639), Tuple.Create("\"", 7668) 613 , Tuple.Create(Tuple.Create("", 7647), Tuple.Create("card", 7647), true) 614 615 #line 218 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 616 , Tuple.Create(Tuple.Create(" ", 7651), Tuple.Create<System.Object, System.Int32>(cssClass 617 618 #line default 619 #line hidden 620 , 7652), false) 621 , Tuple.Create(Tuple.Create(" ", 7661), Tuple.Create("dw-mod", 7662), true) 622 ); 623 624 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 625 626 WriteLiteralTo(__razor_helper_writer, " "); 627 628 629 #line 219 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 630 WriteTo(__razor_helper_writer, RenderBlock(item)); 631 632 633 #line default 634 #line hidden 635 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 636 637 638 #line 221 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 639 } 640 641 if (item.Design.RenderType == RenderType.CardFooter) 642 { 643 644 645 #line default 646 #line hidden 647 WriteLiteralTo(__razor_helper_writer, " <div"); 648 649 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 7878), Tuple.Create("\"", 7914) 650 , Tuple.Create(Tuple.Create("", 7886), Tuple.Create("card-footer", 7886), true) 651 652 #line 225 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 653 , Tuple.Create(Tuple.Create(" ", 7897), Tuple.Create<System.Object, System.Int32>(cssClass 654 655 #line default 656 #line hidden 657 , 7898), false) 658 , Tuple.Create(Tuple.Create(" ", 7907), Tuple.Create("dw-mod", 7908), true) 659 ); 660 661 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 662 663 WriteLiteralTo(__razor_helper_writer, " "); 664 665 666 #line 226 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 667 WriteTo(__razor_helper_writer, RenderBlock(item)); 668 669 670 #line default 671 #line hidden 672 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 673 674 675 #line 228 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 676 } 677 } 678 else 679 { 680 681 682 #line default 683 #line hidden 684 685 #line 232 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 686 WriteTo(__razor_helper_writer, RenderBlock(item)); 687 688 689 #line default 690 #line hidden 691 692 #line 232 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 693 694 } 695 } 696 697 if (debug) { 698 699 700 #line default 701 #line hidden 702 WriteLiteralTo(__razor_helper_writer, " <!-- Block END: "); 703 704 705 #line 237 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 706 WriteTo(__razor_helper_writer, item.Id); 707 708 709 #line default 710 #line hidden 711 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 712 713 714 #line 238 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 715 } 716 } 717 718 719 #line default 720 #line hidden 721 }); 722 723 #line 240 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 724 } 725 #line default 726 #line hidden 727 728 729 #line 242 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 730 public RazorEngine.Templating.TemplateWriter RenderBlock(Block item) 731 { 732 #line default 733 #line hidden 734 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 735 736 #line 243 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 737 738 bool debug = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("debug")) ? Convert.ToBoolean(HttpContext.Current.Request.QueryString.Get("debug")) : false; 739 740 if (item.Template != null) 741 { 742 743 744 #line default 745 #line hidden 746 747 #line 248 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 748 WriteTo(__razor_helper_writer, BlocksPage.RenderTemplate(item.Template)); 749 750 751 #line default 752 #line hidden 753 754 #line 248 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 755 756 } 757 758 if (item.Component != null) 759 { 760 string customSufix = "Custom"; 761 string methodName = item.Component.HelperName; 762 763 ComponentBase[] methodParameters = new ComponentBase[1]; 764 methodParameters[0] = item.Component; 765 Type methodType = this.GetType(); 766 767 MethodInfo customMethod = methodType.GetMethod(methodName + customSufix); 768 MethodInfo generalMethod = methodType.GetMethod(methodName); 769 770 try { 771 if (debug) { 772 773 774 #line default 775 #line hidden 776 WriteLiteralTo(__razor_helper_writer, " <!-- Component: "); 777 778 779 #line 265 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 780 WriteTo(__razor_helper_writer, methodName.Replace("Render", "")); 781 782 783 #line default 784 #line hidden 785 WriteLiteralTo(__razor_helper_writer, " -->\r\n"); 786 787 788 #line 266 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 789 } 790 791 792 #line default 793 #line hidden 794 795 #line 267 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 796 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 797 798 799 #line default 800 #line hidden 801 802 #line 267 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 803 ; 804 } catch { 805 try { 806 807 808 #line default 809 #line hidden 810 811 #line 270 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 812 WriteTo(__razor_helper_writer, generalMethod.Invoke(this, methodParameters).ToString()); 813 814 815 #line default 816 #line hidden 817 818 #line 270 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 819 ; 820 } catch(Exception ex) { 821 throw new Exception(item.Component.GetType().Name + " method '" + methodName +"' could not be invoked", ex); 822 } 823 } 824 } 825 826 if (item.BlocksList.Count > 0 && !item.SkipRenderBlocksList) 827 { 828 829 830 #line default 831 #line hidden 832 833 #line 279 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 834 WriteTo(__razor_helper_writer, RenderBlockList(item.BlocksList)); 835 836 837 #line default 838 #line hidden 839 840 #line 279 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 841 842 } 843 844 845 #line default 846 #line hidden 847 }); 848 849 #line 281 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 850 } 851 #line default 852 #line hidden 853 854 855 #line 298 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 856 public RazorEngine.Templating.TemplateWriter Render(ComponentBase component) 857 { 858 #line default 859 #line hidden 860 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 861 862 #line 299 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 863 864 if (component != null) 865 { 866 867 868 #line default 869 #line hidden 870 871 #line 302 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 872 WriteTo(__razor_helper_writer, component.Render(this)); 873 874 875 #line default 876 #line hidden 877 878 #line 302 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 879 880 } 881 882 883 #line default 884 #line hidden 885 }); 886 887 #line 304 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 888 } 889 #line default 890 #line hidden 891 892 893 #line 313 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 894 public RazorEngine.Templating.TemplateWriter RenderIcon(Icon settings) 895 { 896 #line default 897 #line hidden 898 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 899 900 #line 314 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 901 902 if (settings != null) 903 { 904 string color = settings.Color != null ? "style=\"color: " + settings.Color + "\"" : ""; 905 906 if (settings.Name != null) 907 { 908 if (string.IsNullOrEmpty(settings.Label)) 909 { 910 911 912 #line default 913 #line hidden 914 WriteLiteralTo(__razor_helper_writer, " <i"); 915 916 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10524), Tuple.Create("\"", 10582) 917 918 #line 323 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 919 , Tuple.Create(Tuple.Create("", 10532), Tuple.Create<System.Object, System.Int32>(settings.Prefix 920 921 #line default 922 #line hidden 923 , 10532), false) 924 925 #line 323 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 926 , Tuple.Create(Tuple.Create(" ", 10548), Tuple.Create<System.Object, System.Int32>(settings.Name 927 928 #line default 929 #line hidden 930 , 10549), false) 931 932 #line 323 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 933 , Tuple.Create(Tuple.Create(" ", 10563), Tuple.Create<System.Object, System.Int32>(settings.CssClass 934 935 #line default 936 #line hidden 937 , 10564), false) 938 ); 939 940 WriteLiteralTo(__razor_helper_writer, " "); 941 942 943 #line 323 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 944 WriteTo(__razor_helper_writer, color); 945 946 947 #line default 948 #line hidden 949 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 950 951 952 #line 324 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 953 } 954 else 955 { 956 if (settings.LabelPosition == IconLabelPosition.Before) 957 { 958 959 960 #line default 961 #line hidden 962 WriteLiteralTo(__razor_helper_writer, " <span>"); 963 964 965 #line 329 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 966 WriteTo(__razor_helper_writer, settings.Label); 967 968 969 #line default 970 #line hidden 971 WriteLiteralTo(__razor_helper_writer, " <i"); 972 973 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10781), Tuple.Create("\"", 10839) 974 975 #line 329 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 976 , Tuple.Create(Tuple.Create("", 10789), Tuple.Create<System.Object, System.Int32>(settings.Prefix 977 978 #line default 979 #line hidden 980 , 10789), false) 981 982 #line 329 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 983 , Tuple.Create(Tuple.Create(" ", 10805), Tuple.Create<System.Object, System.Int32>(settings.Name 984 985 #line default 986 #line hidden 987 , 10806), false) 988 989 #line 329 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 990 , Tuple.Create(Tuple.Create(" ", 10820), Tuple.Create<System.Object, System.Int32>(settings.CssClass 991 992 #line default 993 #line hidden 994 , 10821), false) 995 ); 996 997 WriteLiteralTo(__razor_helper_writer, " "); 998 999 1000 #line 329 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1001 WriteTo(__razor_helper_writer, color); 1002 1003 1004 #line default 1005 #line hidden 1006 WriteLiteralTo(__razor_helper_writer, "></i></span>\r\n"); 1007 1008 1009 #line 330 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1010 } 1011 else 1012 { 1013 1014 1015 #line default 1016 #line hidden 1017 WriteLiteralTo(__razor_helper_writer, " <span><i"); 1018 1019 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 10949), Tuple.Create("\"", 11034) 1020 1021 #line 333 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1022 , Tuple.Create(Tuple.Create("", 10957), Tuple.Create<System.Object, System.Int32>(settings.Prefix 1023 1024 #line default 1025 #line hidden 1026 , 10957), false) 1027 1028 #line 333 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1029 , Tuple.Create(Tuple.Create(" ", 10973), Tuple.Create<System.Object, System.Int32>(settings.Name 1030 1031 #line default 1032 #line hidden 1033 , 10974), false) 1034 , Tuple.Create(Tuple.Create(" ", 10988), Tuple.Create("u-margin-right--lg", 10989), true) 1035 1036 #line 333 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1037 , Tuple.Create(Tuple.Create(" ", 11007), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1038 1039 #line default 1040 #line hidden 1041 , 11008), false) 1042 , Tuple.Create(Tuple.Create(" ", 11026), Tuple.Create("u-w20px", 11027), true) 1043 ); 1044 1045 WriteLiteralTo(__razor_helper_writer, " "); 1046 1047 1048 #line 333 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1049 WriteTo(__razor_helper_writer, color); 1050 1051 1052 #line default 1053 #line hidden 1054 WriteLiteralTo(__razor_helper_writer, "></i>"); 1055 1056 1057 #line 333 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1058 WriteTo(__razor_helper_writer, settings.Label); 1059 1060 1061 #line default 1062 #line hidden 1063 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 1064 1065 1066 #line 334 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1067 } 1068 } 1069 } 1070 else if (!string.IsNullOrEmpty(settings.Label)) 1071 { 1072 1073 1074 #line default 1075 #line hidden 1076 1077 #line 339 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1078 WriteTo(__razor_helper_writer, settings.Label); 1079 1080 1081 #line default 1082 #line hidden 1083 1084 #line 339 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1085 1086 } 1087 } 1088 1089 1090 #line default 1091 #line hidden 1092 }); 1093 1094 #line 342 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1095 } 1096 #line default 1097 #line hidden 1098 1099 1100 #line 350 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1101 public RazorEngine.Templating.TemplateWriter RenderButton(Button settings) 1102 { 1103 #line default 1104 #line hidden 1105 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1106 1107 #line 351 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1108 1109 if (settings != null && (!string.IsNullOrEmpty(settings.Title) || settings.Icon != null)) 1110 { 1111 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1112 List<string> classList = settings.CssClass != null ? settings.CssClass.Split(' ').ToList() : new List<string>(); 1113 if (settings.Disabled) { 1114 attributes.Add("disabled", "true"); 1115 classList.Add("disabled"); 1116 } 1117 1118 if (!string.IsNullOrEmpty(settings.ConfirmText) || !string.IsNullOrEmpty(settings.ConfirmTitle)) 1119 { 1120 settings.Id = !string.IsNullOrEmpty(settings.Id) ? settings.Id : Guid.NewGuid().ToString("N"); 1121 1122 1123 #line default 1124 #line hidden 1125 1126 #line 364 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1127 WriteTo(__razor_helper_writer, RenderConfirmDialog(settings)); 1128 1129 1130 #line default 1131 #line hidden 1132 1133 #line 364 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1134 ; 1135 settings.OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = true"; 1136 } 1137 1138 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1139 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 1140 if (!string.IsNullOrEmpty(settings.AltText)) 1141 { 1142 attributes.Add("title", settings.AltText); 1143 } 1144 else if (!string.IsNullOrEmpty(settings.Title)) 1145 { 1146 attributes.Add("title", settings.Title); 1147 } 1148 1149 var onClickEvents = new List<string>(); 1150 if (!string.IsNullOrEmpty(settings.OnClick)) 1151 { 1152 onClickEvents.Add(settings.OnClick); 1153 } 1154 if (!string.IsNullOrEmpty(settings.Href)) 1155 { 1156 onClickEvents.Add("location.href='" + settings.Href + "'"); 1157 } 1158 if (onClickEvents.Count > 0) 1159 { 1160 attributes.Add("onClick", string.Join(";", onClickEvents)); 1161 } 1162 1163 if (settings.ButtonLayout != ButtonLayout.None) 1164 { 1165 classList.Add("btn"); 1166 string btnLayout = Enum.GetName(typeof(ButtonLayout), settings.ButtonLayout).ToLower(); 1167 if (btnLayout == "linkclean") 1168 { 1169 btnLayout = "link-clean"; //fix 1170 } 1171 classList.Add("btn--" + btnLayout); 1172 } 1173 1174 if (settings.Icon == null) 1175 { 1176 settings.Icon = new Icon(); 1177 } 1178 settings.Icon.Label = settings.Title; 1179 1180 attributes.Add("type", Enum.GetName(typeof(ButtonType), settings.ButtonType).ToLower()); 1181 1182 1183 1184 #line default 1185 #line hidden 1186 WriteLiteralTo(__razor_helper_writer, " <button"); 1187 1188 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 13678), Tuple.Create("\"", 13721) 1189 1190 #line 412 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1191 , Tuple.Create(Tuple.Create("", 13686), Tuple.Create<System.Object, System.Int32>(string.Join(" ", classList) 1192 1193 #line default 1194 #line hidden 1195 , 13686), false) 1196 , Tuple.Create(Tuple.Create(" ", 13714), Tuple.Create("dw-mod", 13715), true) 1197 ); 1198 1199 WriteLiteralTo(__razor_helper_writer, " "); 1200 1201 1202 #line 412 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1203 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1204 1205 1206 #line default 1207 #line hidden 1208 WriteLiteralTo(__razor_helper_writer, " "); 1209 1210 1211 #line 412 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1212 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1213 1214 1215 #line default 1216 #line hidden 1217 WriteLiteralTo(__razor_helper_writer, ">"); 1218 1219 1220 #line 412 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1221 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1222 1223 1224 #line default 1225 #line hidden 1226 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 1227 1228 1229 #line 413 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1230 } 1231 1232 1233 #line default 1234 #line hidden 1235 }); 1236 1237 #line 414 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1238 } 1239 #line default 1240 #line hidden 1241 1242 1243 #line 416 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1244 public RazorEngine.Templating.TemplateWriter RenderConfirmDialog(Button settings) 1245 { 1246 #line default 1247 #line hidden 1248 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1249 1250 #line 417 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1251 1252 Modal confirmDialog = new Modal { 1253 Id = settings.Id, 1254 Width = ModalWidth.Sm, 1255 Heading = new Heading 1256 { 1257 Level = 2, 1258 Title = settings.ConfirmTitle 1259 }, 1260 BodyText = settings.ConfirmText 1261 }; 1262 1263 confirmDialog.AddAction(new Button { Title = Translate("Cancel"), ButtonLayout = ButtonLayout.Secondary, OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = false"}); 1264 confirmDialog.AddAction(new Button { Title = Translate("OK"), ButtonLayout = ButtonLayout.Primary, OnClick = "document.getElementById('" + settings.Id + "ModalTrigger').checked = false;" + settings.OnClick }); 1265 1266 1267 1268 #line default 1269 #line hidden 1270 1271 #line 432 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1272 WriteTo(__razor_helper_writer, Render(confirmDialog)); 1273 1274 1275 #line default 1276 #line hidden 1277 1278 #line 432 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1279 1280 1281 1282 #line default 1283 #line hidden 1284 }); 1285 1286 #line 433 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1287 } 1288 #line default 1289 #line hidden 1290 1291 1292 #line 438 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1293 public RazorEngine.Templating.TemplateWriter RenderDashboard(Dashboard settings) 1294 { 1295 #line default 1296 #line hidden 1297 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1298 1299 #line 439 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1300 1301 var widgets = settings.GetWidgets(); 1302 1303 if (!string.IsNullOrEmpty(settings.WidgetsBaseBackgroundColor)) 1304 { 1305 //set bg color for them 1306 1307 System.Drawing.Color color = System.Drawing.ColorTranslator.FromHtml(settings.WidgetsBaseBackgroundColor); 1308 int r = Convert.ToInt16(color.R); 1309 int g = Convert.ToInt16(color.G); 1310 int b = Convert.ToInt16(color.B); 1311 1312 var count = widgets.Length; 1313 var max = Math.Max(r, Math.Max(g, b)); 1314 double step = 255.0 / (max * count); 1315 var i = 0; 1316 foreach (var widget in widgets) 1317 { 1318 i++; 1319 1320 var shade = "rgb(" + Converter.ToString(r * step * i).Replace(",", ".") + ", " + Converter.ToString(g * step * i).Replace(",", ".") + ", " + Converter.ToString(b * step * i).Replace(",", ".") + ")"; 1321 widget.BackgroundColor = shade; 1322 } 1323 } 1324 1325 1326 1327 #line default 1328 #line hidden 1329 WriteLiteralTo(__razor_helper_writer, " <div"); 1330 1331 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 15717), Tuple.Create("\"", 15760) 1332 , Tuple.Create(Tuple.Create("", 15725), Tuple.Create("dashboard", 15725), true) 1333 1334 #line 464 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1335 , Tuple.Create(Tuple.Create(" ", 15734), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1336 1337 #line default 1338 #line hidden 1339 , 15735), false) 1340 , Tuple.Create(Tuple.Create(" ", 15753), Tuple.Create("dw-mod", 15754), true) 1341 ); 1342 1343 WriteLiteralTo(__razor_helper_writer, " "); 1344 1345 1346 #line 464 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1347 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1348 1349 1350 #line default 1351 #line hidden 1352 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1353 1354 1355 #line 465 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1356 1357 1358 #line default 1359 #line hidden 1360 1361 #line 465 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1362 foreach (var widget in widgets) 1363 { 1364 1365 1366 #line default 1367 #line hidden 1368 WriteLiteralTo(__razor_helper_writer, " <div"); 1369 1370 WriteLiteralTo(__razor_helper_writer, " class=\"dashboard__widget\""); 1371 1372 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1373 1374 WriteLiteralTo(__razor_helper_writer, " "); 1375 1376 1377 #line 468 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1378 WriteTo(__razor_helper_writer, Render(widget)); 1379 1380 1381 #line default 1382 #line hidden 1383 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1384 1385 1386 #line 470 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1387 } 1388 1389 1390 #line default 1391 #line hidden 1392 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1393 1394 1395 #line 472 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1396 1397 1398 #line default 1399 #line hidden 1400 }); 1401 1402 #line 472 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1403 } 1404 #line default 1405 #line hidden 1406 1407 1408 #line 476 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1409 public RazorEngine.Templating.TemplateWriter RenderDashboardWidgetLink(DashboardWidgetLink settings) 1410 { 1411 #line default 1412 #line hidden 1413 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1414 1415 #line 477 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1416 1417 if (!string.IsNullOrEmpty(settings.Link)) 1418 { 1419 var backgroundStyles = ""; 1420 if (!string.IsNullOrEmpty(settings.BackgroundColor)) 1421 { 1422 backgroundStyles = "style=\"background-color:" + settings.BackgroundColor + "\""; 1423 } 1424 1425 1426 1427 #line default 1428 #line hidden 1429 WriteLiteralTo(__razor_helper_writer, " <a"); 1430 1431 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 16446), Tuple.Create("\"", 16467) 1432 1433 #line 486 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1434 , Tuple.Create(Tuple.Create("", 16453), Tuple.Create<System.Object, System.Int32>(settings.Link 1435 1436 #line default 1437 #line hidden 1438 , 16453), false) 1439 ); 1440 1441 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 16468), Tuple.Create("\"", 16521) 1442 , Tuple.Create(Tuple.Create("", 16476), Tuple.Create("widget", 16476), true) 1443 , Tuple.Create(Tuple.Create(" ", 16482), Tuple.Create("widget--link", 16483), true) 1444 1445 #line 486 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1446 , Tuple.Create(Tuple.Create(" ", 16495), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1447 1448 #line default 1449 #line hidden 1450 , 16496), false) 1451 , Tuple.Create(Tuple.Create(" ", 16514), Tuple.Create("dw-mod", 16515), true) 1452 ); 1453 1454 WriteLiteralTo(__razor_helper_writer, " "); 1455 1456 1457 #line 486 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1458 WriteTo(__razor_helper_writer, backgroundStyles); 1459 1460 1461 #line default 1462 #line hidden 1463 WriteLiteralTo(__razor_helper_writer, " title=\""); 1464 1465 1466 #line 486 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1467 WriteTo(__razor_helper_writer, settings.Title); 1468 1469 1470 #line default 1471 #line hidden 1472 WriteLiteralTo(__razor_helper_writer, "\" "); 1473 1474 1475 #line 486 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1476 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1477 1478 1479 #line default 1480 #line hidden 1481 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1482 1483 WriteLiteralTo(__razor_helper_writer, " class=\"u-center-middle u-color-light\""); 1484 1485 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1486 1487 1488 #line 488 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1489 1490 1491 #line default 1492 #line hidden 1493 1494 #line 488 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1495 if (settings.Icon != null) 1496 { 1497 settings.Icon.CssClass += "widget__icon"; 1498 1499 1500 #line default 1501 #line hidden 1502 1503 #line 491 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1504 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1505 1506 1507 #line default 1508 #line hidden 1509 1510 #line 491 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1511 1512 } 1513 1514 1515 #line default 1516 #line hidden 1517 WriteLiteralTo(__razor_helper_writer, " <div"); 1518 1519 WriteLiteralTo(__razor_helper_writer, " class=\"widget__title\""); 1520 1521 WriteLiteralTo(__razor_helper_writer, ">"); 1522 1523 1524 #line 493 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1525 WriteTo(__razor_helper_writer, settings.Title); 1526 1527 1528 #line default 1529 #line hidden 1530 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n </a>\r\n"); 1531 1532 1533 #line 496 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1534 } 1535 1536 1537 #line default 1538 #line hidden 1539 }); 1540 1541 #line 497 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1542 } 1543 #line default 1544 #line hidden 1545 1546 1547 #line 501 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1548 public RazorEngine.Templating.TemplateWriter RenderDashboardWidgetCounter(DashboardWidgetCounter settings) 1549 { 1550 #line default 1551 #line hidden 1552 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1553 1554 #line 502 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1555 1556 var backgroundStyles = ""; 1557 if (!string.IsNullOrEmpty(settings.BackgroundColor)) 1558 { 1559 backgroundStyles = "style='background-color:" + settings.BackgroundColor + "'"; 1560 } 1561 1562 1563 1564 #line default 1565 #line hidden 1566 WriteLiteralTo(__razor_helper_writer, " <div"); 1567 1568 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 17357), Tuple.Create("\"", 17397) 1569 , Tuple.Create(Tuple.Create("", 17365), Tuple.Create("widget", 17365), true) 1570 1571 #line 509 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1572 , Tuple.Create(Tuple.Create(" ", 17371), Tuple.Create<System.Object, System.Int32>(settings.CssClass 1573 1574 #line default 1575 #line hidden 1576 , 17372), false) 1577 , Tuple.Create(Tuple.Create(" ", 17390), Tuple.Create("dw-mod", 17391), true) 1578 ); 1579 1580 WriteLiteralTo(__razor_helper_writer, " "); 1581 1582 1583 #line 509 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1584 WriteTo(__razor_helper_writer, backgroundStyles); 1585 1586 1587 #line default 1588 #line hidden 1589 WriteLiteralTo(__razor_helper_writer, " "); 1590 1591 1592 #line 509 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1593 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1594 1595 1596 #line default 1597 #line hidden 1598 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1599 1600 WriteLiteralTo(__razor_helper_writer, " class=\"u-center-middle u-color-light\""); 1601 1602 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1603 1604 1605 #line 511 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1606 1607 1608 #line default 1609 #line hidden 1610 1611 #line 511 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1612 if (settings.Icon != null) 1613 { 1614 settings.Icon.CssClass += "widget__icon"; 1615 1616 1617 #line default 1618 #line hidden 1619 1620 #line 514 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1621 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1622 1623 1624 #line default 1625 #line hidden 1626 1627 #line 514 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1628 1629 } 1630 1631 1632 #line default 1633 #line hidden 1634 WriteLiteralTo(__razor_helper_writer, " <div"); 1635 1636 WriteLiteralTo(__razor_helper_writer, " class=\"widget__counter\""); 1637 1638 WriteLiteralTo(__razor_helper_writer, ">"); 1639 1640 1641 #line 516 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1642 WriteTo(__razor_helper_writer, settings.Count); 1643 1644 1645 #line default 1646 #line hidden 1647 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <div"); 1648 1649 WriteLiteralTo(__razor_helper_writer, " class=\"widget__title\""); 1650 1651 WriteLiteralTo(__razor_helper_writer, ">"); 1652 1653 1654 #line 517 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1655 WriteTo(__razor_helper_writer, settings.Title); 1656 1657 1658 #line default 1659 #line hidden 1660 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n </div>\r\n"); 1661 1662 1663 #line 520 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1664 1665 1666 #line default 1667 #line hidden 1668 }); 1669 1670 #line 520 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1671 } 1672 #line default 1673 #line hidden 1674 1675 1676 #line 528 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1677 public RazorEngine.Templating.TemplateWriter RenderLink(Link settings) 1678 { 1679 #line default 1680 #line hidden 1681 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1682 1683 #line 529 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1684 1685 if (settings != null && !string.IsNullOrEmpty(settings.Href) && (!string.IsNullOrEmpty(settings.Title) || settings.Icon != null)) 1686 { 1687 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1688 List<string> classList = settings.CssClass != null ? settings.CssClass.Split(' ').ToList() : new List<string>(); 1689 if (settings.Disabled) 1690 { 1691 attributes.Add("disabled", "true"); 1692 classList.Add("disabled"); 1693 } 1694 1695 if (!string.IsNullOrEmpty(settings.AltText)) 1696 { 1697 attributes.Add("title", settings.AltText); 1698 } 1699 else if (!string.IsNullOrEmpty(settings.Title)) 1700 { 1701 attributes.Add("title", settings.Title); 1702 } 1703 1704 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1705 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 1706 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onClick", settings.OnClick); } 1707 attributes.Add("href", settings.Href); 1708 1709 if (settings.ButtonLayout != ButtonLayout.None) 1710 { 1711 classList.Add("btn"); 1712 string btnLayout = Enum.GetName(typeof(ButtonLayout), settings.ButtonLayout).ToLower(); 1713 if (btnLayout == "linkclean") 1714 { 1715 btnLayout = "link-clean"; //fix 1716 } 1717 classList.Add("btn--" + btnLayout); 1718 } 1719 1720 if (settings.Icon == null) 1721 { 1722 settings.Icon = new Icon(); 1723 } 1724 settings.Icon.Label = settings.Title; 1725 1726 if (settings.Target == LinkTargetType.Blank && settings.Rel == LinkRelType.None) 1727 { 1728 settings.Rel = LinkRelType.Noopener; 1729 } 1730 if (settings.Target != LinkTargetType.None) 1731 { 1732 attributes.Add("target", "_" + Enum.GetName(typeof(LinkTargetType), settings.Target).ToLower()); 1733 } 1734 if (settings.Download) 1735 { 1736 attributes.Add("download", "true"); 1737 } 1738 if (settings.Rel != LinkRelType.None) 1739 { 1740 attributes.Add("rel", Enum.GetName(typeof(LinkRelType), settings.Rel).ToLower()); 1741 } 1742 1743 1744 1745 #line default 1746 #line hidden 1747 WriteLiteralTo(__razor_helper_writer, " <a"); 1748 1749 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 20362), Tuple.Create("\"", 20405) 1750 1751 #line 588 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1752 , Tuple.Create(Tuple.Create("", 20370), Tuple.Create<System.Object, System.Int32>(string.Join(" ", classList) 1753 1754 #line default 1755 #line hidden 1756 , 20370), false) 1757 , Tuple.Create(Tuple.Create(" ", 20398), Tuple.Create("dw-mod", 20399), true) 1758 ); 1759 1760 WriteLiteralTo(__razor_helper_writer, " "); 1761 1762 1763 #line 588 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1764 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1765 1766 1767 #line default 1768 #line hidden 1769 WriteLiteralTo(__razor_helper_writer, " "); 1770 1771 1772 #line 588 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1773 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1774 1775 1776 #line default 1777 #line hidden 1778 WriteLiteralTo(__razor_helper_writer, ">"); 1779 1780 1781 #line 588 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1782 WriteTo(__razor_helper_writer, Render(settings.Icon)); 1783 1784 1785 #line default 1786 #line hidden 1787 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 1788 1789 1790 #line 589 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1791 } 1792 1793 1794 #line default 1795 #line hidden 1796 }); 1797 1798 #line 590 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1799 } 1800 #line default 1801 #line hidden 1802 1803 1804 #line 599 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1805 public RazorEngine.Templating.TemplateWriter RenderRating(Rating settings) 1806 { 1807 #line default 1808 #line hidden 1809 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1810 1811 #line 600 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1812 1813 if (settings.Score > 0) 1814 { 1815 int rating = settings.Score; 1816 string iconType = "fa-star"; 1817 1818 switch (settings.Type.ToString()) { 1819 case "Stars": 1820 iconType = "fa-star"; 1821 break; 1822 case "Hearts": 1823 iconType = "fa-heart"; 1824 break; 1825 case "Lemons": 1826 iconType = "fa-lemon"; 1827 break; 1828 case "Bombs": 1829 iconType = "fa-bomb"; 1830 break; 1831 } 1832 1833 1834 1835 #line default 1836 #line hidden 1837 WriteLiteralTo(__razor_helper_writer, " <div"); 1838 1839 WriteLiteralTo(__razor_helper_writer, " class=\"u-ta-right\""); 1840 1841 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1842 1843 1844 #line 622 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1845 1846 1847 #line default 1848 #line hidden 1849 1850 #line 622 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1851 for (int i = 0; i < settings.OutOf; i++) 1852 { 1853 1854 1855 #line default 1856 #line hidden 1857 WriteLiteralTo(__razor_helper_writer, " <i"); 1858 1859 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 21425), Tuple.Create("\"", 21472) 1860 1861 #line 624 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1862 , Tuple.Create(Tuple.Create("", 21433), Tuple.Create<System.Object, System.Int32>(rating > i ? "fas" : "far" 1863 1864 #line default 1865 #line hidden 1866 , 21433), false) 1867 1868 #line 624 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1869 , Tuple.Create(Tuple.Create(" ", 21462), Tuple.Create<System.Object, System.Int32>(iconType 1870 1871 #line default 1872 #line hidden 1873 , 21463), false) 1874 ); 1875 1876 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 1877 1878 1879 #line 625 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1880 } 1881 1882 1883 #line default 1884 #line hidden 1885 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 1886 1887 1888 #line 627 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1889 } 1890 1891 1892 #line default 1893 #line hidden 1894 }); 1895 1896 #line 628 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1897 } 1898 #line default 1899 #line hidden 1900 1901 1902 #line 636 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1903 public RazorEngine.Templating.TemplateWriter RenderSelectFieldOption(SelectFieldOption settings) 1904 { 1905 #line default 1906 #line hidden 1907 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1908 1909 #line 637 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1910 1911 Dictionary<string, string> attributes = new Dictionary<string, string>(); 1912 if (settings.Checked) { attributes.Add("selected", "true"); } 1913 if (settings.Disabled) { attributes.Add("disabled", "true"); } 1914 if (settings.Value != null) { attributes.Add("value", settings.Value); } 1915 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 1916 1917 1918 1919 #line default 1920 #line hidden 1921 WriteLiteralTo(__razor_helper_writer, " <option "); 1922 1923 1924 #line 644 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1925 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 1926 1927 1928 #line default 1929 #line hidden 1930 WriteLiteralTo(__razor_helper_writer, " "); 1931 1932 1933 #line 644 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1934 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 1935 1936 1937 #line default 1938 #line hidden 1939 WriteLiteralTo(__razor_helper_writer, ">"); 1940 1941 1942 #line 644 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1943 WriteTo(__razor_helper_writer, settings.Label); 1944 1945 1946 #line default 1947 #line hidden 1948 WriteLiteralTo(__razor_helper_writer, "</option>\r\n"); 1949 1950 1951 #line 645 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1952 1953 1954 #line default 1955 #line hidden 1956 }); 1957 1958 #line 645 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1959 } 1960 #line default 1961 #line hidden 1962 1963 1964 #line 653 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1965 public RazorEngine.Templating.TemplateWriter RenderNavigation(Navigation settings) { 1966 #line default 1967 #line hidden 1968 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1969 1970 #line 653 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1971 1972 1973 1974 #line default 1975 #line hidden 1976 1977 #line 654 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1978 WriteTo(__razor_helper_writer, RenderNavigation(new 1979 { 1980 id = settings.Id, 1981 cssclass = settings.CssClass, 1982 startLevel = settings.StartLevel, 1983 endlevel = settings.EndLevel, 1984 expandmode = settings.Expandmode, 1985 sitemapmode = settings.SitemapMode, 1986 template = settings.Template 1987 })); 1988 1989 1990 #line default 1991 #line hidden 1992 1993 #line 663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 1994 1995 1996 1997 #line default 1998 #line hidden 1999 }); 2000 2001 #line 664 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2002 } 2003 #line default 2004 #line hidden 2005 2006 2007 #line 671 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2008 public RazorEngine.Templating.TemplateWriter RenderBreadcrumbNavigation(BreadcrumbNavigation settings) { 2009 #line default 2010 #line hidden 2011 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2012 2013 #line 671 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2014 2015 settings.Id = String.IsNullOrEmpty(settings.Id) ? "breadcrumb" : settings.Id; 2016 settings.Template = String.IsNullOrEmpty(settings.Template) ? "Breadcrumb.xslt" : settings.Template; 2017 settings.StartLevel = settings.StartLevel == 0 ? 1 : settings.StartLevel; 2018 settings.EndLevel = settings.EndLevel == 10 ? 1 : settings.EndLevel; 2019 settings.Expandmode = String.IsNullOrEmpty(settings.Expandmode) ? "all" : settings.Expandmode; 2020 settings.SitemapMode = false; 2021 2022 2023 2024 #line default 2025 #line hidden 2026 2027 #line 679 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2028 WriteTo(__razor_helper_writer, RenderNavigation(settings)); 2029 2030 2031 #line default 2032 #line hidden 2033 2034 #line 679 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2035 2036 2037 2038 #line default 2039 #line hidden 2040 }); 2041 2042 #line 680 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2043 } 2044 #line default 2045 #line hidden 2046 2047 2048 #line 687 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2049 public RazorEngine.Templating.TemplateWriter RenderLeftNavigation(LeftNavigation settings) { 2050 #line default 2051 #line hidden 2052 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2053 2054 #line 687 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2055 2056 settings.Id = String.IsNullOrEmpty(settings.Id) ? "breadcrumb" : settings.Id; 2057 settings.Template = String.IsNullOrEmpty(settings.Template) ? "Breadcrumb.xslt" : settings.Template; 2058 settings.StartLevel = settings.StartLevel == 0 ? 1 : settings.StartLevel; 2059 settings.EndLevel = settings.EndLevel == 10 ? 1 : settings.EndLevel; 2060 settings.Expandmode = String.IsNullOrEmpty(settings.Expandmode) ? "all" : settings.Expandmode; 2061 2062 2063 2064 #line default 2065 #line hidden 2066 WriteLiteralTo(__razor_helper_writer, " <div"); 2067 2068 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 2069 2070 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2071 2072 WriteLiteralTo(__razor_helper_writer, " "); 2073 2074 2075 #line 695 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2076 WriteTo(__razor_helper_writer, RenderNavigation(settings)); 2077 2078 2079 #line default 2080 #line hidden 2081 WriteLiteralTo(__razor_helper_writer, " \r\n </div> \r\n"); 2082 2083 2084 #line 697 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2085 2086 2087 #line default 2088 #line hidden 2089 }); 2090 2091 #line 697 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2092 } 2093 #line default 2094 #line hidden 2095 2096 2097 #line 704 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2098 public RazorEngine.Templating.TemplateWriter RenderHeading(Heading settings) 2099 { 2100 #line default 2101 #line hidden 2102 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2103 2104 #line 705 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2105 2106 if (settings != null && !string.IsNullOrEmpty(settings.Title)) 2107 { 2108 string color = settings.Color != null ? "style=\"color: " + settings.Color + "\"" : ""; 2109 string tagName = settings.Level != 0 ? "h" + settings.Level.ToString() : "div"; 2110 2111 2112 2113 #line default 2114 #line hidden 2115 2116 #line 711 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2117 WriteTo(__razor_helper_writer, "<" + tagName + " class=\"" + settings.CssClass + " dw-mod\" " + color + ">"); 2118 2119 2120 #line default 2121 #line hidden 2122 2123 #line 711 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2124 2125 if (!string.IsNullOrEmpty(settings.Link)) 2126 { 2127 2128 2129 #line default 2130 #line hidden 2131 2132 #line 714 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2133 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Icon = settings.Icon, Title = settings.Title, ButtonLayout = ButtonLayout.None })); 2134 2135 2136 #line default 2137 #line hidden 2138 2139 #line 714 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2140 2141 } 2142 else 2143 { 2144 if (settings.Icon == null) 2145 { 2146 settings.Icon = new Icon(); 2147 } 2148 settings.Icon.Label = settings.Title; 2149 2150 2151 #line default 2152 #line hidden 2153 2154 #line 723 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2155 WriteTo(__razor_helper_writer, Render(settings.Icon)); 2156 2157 2158 #line default 2159 #line hidden 2160 2161 #line 723 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2162 2163 } 2164 2165 2166 #line default 2167 #line hidden 2168 2169 #line 725 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2170 WriteTo(__razor_helper_writer, "</" + tagName + ">"); 2171 2172 2173 #line default 2174 #line hidden 2175 2176 #line 725 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2177 ; 2178 } 2179 2180 2181 #line default 2182 #line hidden 2183 }); 2184 2185 #line 727 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2186 } 2187 #line default 2188 #line hidden 2189 2190 2191 #line 735 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2192 public RazorEngine.Templating.TemplateWriter RenderImage(Image settings) 2193 { 2194 #line default 2195 #line hidden 2196 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2197 2198 #line 736 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2199 2200 if (settings.FilterPrimary != ImageFilter.None || settings.FilterSecondary != ImageFilter.None) 2201 { 2202 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 2203 if (!string.IsNullOrEmpty(settings.FilterColor)) { optionalAttributes.Add("style", "background-color: " + settings.FilterColor); } 2204 2205 if (settings.Caption != null) 2206 { 2207 2208 2209 #line default 2210 #line hidden 2211 WriteLiteralTo(__razor_helper_writer, " "); 2212 2213 WriteLiteralTo(__razor_helper_writer, "<div>\r\n"); 2214 2215 2216 #line 745 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2217 } 2218 2219 var primaryFilterClass = settings.FilterPrimary.ToString().ToLower(); 2220 var secondaryFilterClass = settings.FilterSecondary.ToString().ToLower(); 2221 2222 2223 2224 #line default 2225 #line hidden 2226 WriteLiteralTo(__razor_helper_writer, " <div"); 2227 2228 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 26050), Tuple.Create("\"", 26131) 2229 , Tuple.Create(Tuple.Create("", 26058), Tuple.Create("image-filter", 26058), true) 2230 , Tuple.Create(Tuple.Create(" ", 26070), Tuple.Create("image-filter--", 26071), true) 2231 2232 #line 750 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2233 , Tuple.Create(Tuple.Create("", 26085), Tuple.Create<System.Object, System.Int32>(primaryFilterClass 2234 2235 #line default 2236 #line hidden 2237 , 26085), false) 2238 , Tuple.Create(Tuple.Create(" ", 26104), Tuple.Create("u-position-relative", 26105), true) 2239 , Tuple.Create(Tuple.Create(" ", 26124), Tuple.Create("dw-mod", 26125), true) 2240 ); 2241 2242 WriteLiteralTo(__razor_helper_writer, " "); 2243 2244 2245 #line 750 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2246 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2247 2248 2249 #line default 2250 #line hidden 2251 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2252 2253 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 26203), Tuple.Create("\"", 26266) 2254 , Tuple.Create(Tuple.Create("", 26211), Tuple.Create("image-filter", 26211), true) 2255 , Tuple.Create(Tuple.Create(" ", 26223), Tuple.Create("image-filter--", 26224), true) 2256 2257 #line 751 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2258 , Tuple.Create(Tuple.Create("", 26238), Tuple.Create<System.Object, System.Int32>(secondaryFilterClass 2259 2260 #line default 2261 #line hidden 2262 , 26238), false) 2263 , Tuple.Create(Tuple.Create(" ", 26259), Tuple.Create("dw-mod", 26260), true) 2264 ); 2265 2266 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2267 2268 2269 #line 752 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2270 2271 2272 #line default 2273 #line hidden 2274 2275 #line 752 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2276 if (settings.Link != null) 2277 { 2278 2279 2280 #line default 2281 #line hidden 2282 WriteLiteralTo(__razor_helper_writer, " <a"); 2283 2284 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 26356), Tuple.Create("\"", 26377) 2285 2286 #line 754 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2287 , Tuple.Create(Tuple.Create("", 26363), Tuple.Create<System.Object, System.Int32>(settings.Link 2288 2289 #line default 2290 #line hidden 2291 , 26363), false) 2292 ); 2293 2294 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2295 2296 WriteLiteralTo(__razor_helper_writer, " "); 2297 2298 2299 #line 755 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2300 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2301 2302 2303 #line default 2304 #line hidden 2305 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 2306 2307 2308 #line 757 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2309 } 2310 else 2311 { 2312 2313 2314 #line default 2315 #line hidden 2316 2317 #line 760 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2318 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2319 2320 2321 #line default 2322 #line hidden 2323 2324 #line 760 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2325 2326 } 2327 2328 2329 #line default 2330 #line hidden 2331 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 2332 2333 2334 #line 764 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2335 2336 if (settings.Caption != null) 2337 { 2338 2339 2340 #line default 2341 #line hidden 2342 WriteLiteralTo(__razor_helper_writer, " <span"); 2343 2344 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 2345 2346 WriteLiteralTo(__razor_helper_writer, ">"); 2347 2348 2349 #line 767 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2350 WriteTo(__razor_helper_writer, settings.Caption); 2351 2352 2353 #line default 2354 #line hidden 2355 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 2356 2357 WriteLiteralTo(__razor_helper_writer, " "); 2358 2359 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 2360 2361 2362 #line 769 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2363 } 2364 } 2365 else 2366 { 2367 if (settings.Caption != null) 2368 { 2369 2370 2371 #line default 2372 #line hidden 2373 WriteLiteralTo(__razor_helper_writer, " "); 2374 2375 WriteLiteralTo(__razor_helper_writer, "<div>\r\n"); 2376 2377 2378 #line 776 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2379 } 2380 if (!string.IsNullOrEmpty(settings.Link)) 2381 { 2382 2383 2384 #line default 2385 #line hidden 2386 WriteLiteralTo(__razor_helper_writer, " <a"); 2387 2388 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 26961), Tuple.Create("\"", 26982) 2389 2390 #line 779 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2391 , Tuple.Create(Tuple.Create("", 26968), Tuple.Create<System.Object, System.Int32>(settings.Link 2392 2393 #line default 2394 #line hidden 2395 , 26968), false) 2396 ); 2397 2398 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2399 2400 WriteLiteralTo(__razor_helper_writer, " "); 2401 2402 2403 #line 780 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2404 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2405 2406 2407 #line default 2408 #line hidden 2409 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 2410 2411 2412 #line 782 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2413 } 2414 else 2415 { 2416 2417 2418 #line default 2419 #line hidden 2420 2421 #line 785 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2422 WriteTo(__razor_helper_writer, RenderTheImage(settings)); 2423 2424 2425 #line default 2426 #line hidden 2427 2428 #line 785 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2429 2430 } 2431 2432 if (settings.Caption != null) 2433 { 2434 2435 2436 #line default 2437 #line hidden 2438 WriteLiteralTo(__razor_helper_writer, " <span"); 2439 2440 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 2441 2442 WriteLiteralTo(__razor_helper_writer, ">"); 2443 2444 2445 #line 790 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2446 WriteTo(__razor_helper_writer, settings.Caption); 2447 2448 2449 #line default 2450 #line hidden 2451 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 2452 2453 WriteLiteralTo(__razor_helper_writer, " "); 2454 2455 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 2456 2457 2458 #line 792 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2459 } 2460 } 2461 2462 2463 #line default 2464 #line hidden 2465 }); 2466 2467 #line 794 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2468 } 2469 #line default 2470 #line hidden 2471 2472 2473 #line 796 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2474 public RazorEngine.Templating.TemplateWriter RenderTheImage(Image settings) 2475 { 2476 #line default 2477 #line hidden 2478 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2479 2480 #line 797 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2481 2482 if (settings != null) 2483 { 2484 string placeholderImage = "/Files/Images/placeholder.gif"; 2485 string imageEngine = "/Admin/Public/GetImage.ashx?"; 2486 2487 string imageStyle = ""; 2488 2489 switch (settings.Style) 2490 { 2491 case ImageStyle.Ball: 2492 imageStyle = "grid__cell-img--ball"; 2493 break; 2494 2495 case ImageStyle.Triangle: 2496 imageStyle = "grid__cell-img--triangle"; 2497 break; 2498 } 2499 2500 if (settings.Style == ImageStyle.Ball || settings.Style == ImageStyle.Circle || settings.Style == ImageStyle.Triangle) 2501 { 2502 settings.ImageDefault.Crop = settings.ImageDefault.Crop == 5 ? settings.ImageDefault.Crop = 0 : settings.ImageDefault.Crop; 2503 2504 if (settings.ImageDefault != null) 2505 { 2506 settings.ImageDefault.Height = settings.ImageDefault.Width; 2507 } 2508 if (settings.ImageMedium != null) 2509 { 2510 settings.ImageMedium.Height = settings.ImageMedium.Width; 2511 } 2512 if (settings.ImageSmall != null) 2513 { 2514 settings.ImageSmall.Height = settings.ImageSmall.Width; 2515 } 2516 } 2517 2518 string defaultImage = imageEngine; 2519 string imageSmall = ""; 2520 string imageMedium = ""; 2521 2522 if (settings.DisableImageEngine) 2523 { 2524 defaultImage = settings.Path; 2525 } 2526 else 2527 { 2528 if (settings.ImageDefault != null) 2529 { 2530 defaultImage += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageDefault); 2531 2532 if (settings.Path.GetType() != typeof(string)) 2533 { 2534 defaultImage += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2535 defaultImage += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2536 } 2537 else 2538 { 2539 defaultImage += settings.Path != null ? "Image=" + settings.Path : ""; 2540 } 2541 } 2542 2543 if (settings.ImageSmall != null) 2544 { 2545 imageSmall = "data-src-small=\"" + imageEngine; 2546 imageSmall += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageSmall); 2547 2548 if (settings.Path.GetType() != typeof(string)) 2549 { 2550 imageSmall += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2551 imageSmall += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2552 } 2553 else 2554 { 2555 imageSmall += settings.Path != null ? "Image=" + settings.Path : ""; 2556 } 2557 2558 imageSmall += "\""; 2559 } 2560 2561 if (settings.ImageMedium != null) 2562 { 2563 imageMedium = "data-src-medium=\"" + imageEngine; 2564 imageMedium += Dynamicweb.Rapido.Services.Images.GetImagePathFromSettings(settings.ImageMedium); 2565 2566 if (settings.Path.GetType() != typeof(string)) 2567 { 2568 imageMedium += settings.Path != null ? "Image=" + settings.Path.PathUrlEncoded : ""; 2569 imageMedium += settings.Path != null ? "&" + settings.Path.GetFocalPointParameters() : ""; 2570 } 2571 else 2572 { 2573 imageMedium += settings.Path != null ? "Image=" + settings.Path : ""; 2574 } 2575 2576 imageMedium += "\""; 2577 } 2578 } 2579 2580 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 2581 if (!string.IsNullOrEmpty(settings.OnClick)) { optionalAttributes.Add("onclick", settings.OnClick); } 2582 if (!string.IsNullOrEmpty(settings.Title)) 2583 { 2584 optionalAttributes.Add("alt", settings.Title); 2585 optionalAttributes.Add("title", settings.Title); 2586 } 2587 2588 if (settings.DisableLazyLoad) 2589 { 2590 2591 2592 #line default 2593 #line hidden 2594 WriteLiteralTo(__razor_helper_writer, " <img"); 2595 2596 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 31426), Tuple.Create("\"", 31443) 2597 2598 #line 906 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2599 , Tuple.Create(Tuple.Create("", 31431), Tuple.Create<System.Object, System.Int32>(settings.Id 2600 2601 #line default 2602 #line hidden 2603 , 31431), false) 2604 ); 2605 2606 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 31444), Tuple.Create("\"", 31489) 2607 2608 #line 906 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2609 , Tuple.Create(Tuple.Create("", 31452), Tuple.Create<System.Object, System.Int32>(imageStyle 2610 2611 #line default 2612 #line hidden 2613 , 31452), false) 2614 2615 #line 906 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2616 , Tuple.Create(Tuple.Create(" ", 31463), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2617 2618 #line default 2619 #line hidden 2620 , 31464), false) 2621 , Tuple.Create(Tuple.Create(" ", 31482), Tuple.Create("dw-mod", 31483), true) 2622 ); 2623 2624 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 31490), Tuple.Create("\"", 31509) 2625 2626 #line 906 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2627 , Tuple.Create(Tuple.Create("", 31496), Tuple.Create<System.Object, System.Int32>(defaultImage 2628 2629 #line default 2630 #line hidden 2631 , 31496), false) 2632 ); 2633 2634 WriteLiteralTo(__razor_helper_writer, " "); 2635 2636 2637 #line 906 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2638 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2639 2640 2641 #line default 2642 #line hidden 2643 WriteLiteralTo(__razor_helper_writer, " "); 2644 2645 2646 #line 906 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2647 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2648 2649 2650 #line default 2651 #line hidden 2652 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2653 2654 2655 #line 907 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2656 } 2657 else 2658 { 2659 2660 2661 #line default 2662 #line hidden 2663 WriteLiteralTo(__razor_helper_writer, " <img"); 2664 2665 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 31679), Tuple.Create("\"", 31696) 2666 2667 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2668 , Tuple.Create(Tuple.Create("", 31684), Tuple.Create<System.Object, System.Int32>(settings.Id 2669 2670 #line default 2671 #line hidden 2672 , 31684), false) 2673 ); 2674 2675 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 31697), Tuple.Create("\"", 31749) 2676 , Tuple.Create(Tuple.Create("", 31705), Tuple.Create("b-lazy", 31705), true) 2677 2678 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2679 , Tuple.Create(Tuple.Create(" ", 31711), Tuple.Create<System.Object, System.Int32>(imageStyle 2680 2681 #line default 2682 #line hidden 2683 , 31712), false) 2684 2685 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2686 , Tuple.Create(Tuple.Create(" ", 31723), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2687 2688 #line default 2689 #line hidden 2690 , 31724), false) 2691 , Tuple.Create(Tuple.Create(" ", 31742), Tuple.Create("dw-mod", 31743), true) 2692 ); 2693 2694 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 31750), Tuple.Create("\"", 31773) 2695 2696 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2697 , Tuple.Create(Tuple.Create("", 31756), Tuple.Create<System.Object, System.Int32>(placeholderImage 2698 2699 #line default 2700 #line hidden 2701 , 31756), false) 2702 ); 2703 2704 WriteLiteralTo(__razor_helper_writer, " data-src=\""); 2705 2706 2707 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2708 WriteTo(__razor_helper_writer, defaultImage); 2709 2710 2711 #line default 2712 #line hidden 2713 WriteLiteralTo(__razor_helper_writer, "\""); 2714 2715 WriteLiteralTo(__razor_helper_writer, " "); 2716 2717 2718 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2719 WriteTo(__razor_helper_writer, imageSmall); 2720 2721 2722 #line default 2723 #line hidden 2724 WriteLiteralTo(__razor_helper_writer, " "); 2725 2726 2727 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2728 WriteTo(__razor_helper_writer, imageMedium); 2729 2730 2731 #line default 2732 #line hidden 2733 WriteLiteralTo(__razor_helper_writer, " "); 2734 2735 2736 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2737 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 2738 2739 2740 #line default 2741 #line hidden 2742 WriteLiteralTo(__razor_helper_writer, " "); 2743 2744 2745 #line 910 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2746 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 2747 2748 2749 #line default 2750 #line hidden 2751 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 2752 2753 2754 #line 911 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2755 } 2756 } 2757 2758 2759 #line default 2760 #line hidden 2761 }); 2762 2763 #line 913 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2764 } 2765 #line default 2766 #line hidden 2767 2768 2769 #line 920 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2770 public RazorEngine.Templating.TemplateWriter RenderFileField(FileField settings) 2771 { 2772 #line default 2773 #line hidden 2774 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2775 2776 #line 921 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2777 2778 var attributes = new Dictionary<string, string>(); 2779 if (string.IsNullOrEmpty(settings.Id)) 2780 { 2781 settings.Id = Guid.NewGuid().ToString("N"); 2782 } 2783 2784 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 2785 if (settings.Disabled) { attributes.Add("disabled", "true"); } 2786 if (settings.Required) { attributes.Add("required", "true"); } 2787 if (settings.Multiple) { attributes.Add("multiple", "true"); } 2788 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 2789 if (string.IsNullOrEmpty(settings.ChooseFileText)) 2790 { 2791 settings.ChooseFileText = Translate("Choose file"); 2792 } 2793 if (string.IsNullOrEmpty(settings.NoFilesChosenText)) 2794 { 2795 settings.NoFilesChosenText = Translate("No files chosen..."); 2796 } 2797 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 2798 2799 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 2800 2801 string setValueToFakeInput = "FileUpload.setValueToFakeInput(this)"; 2802 attributes.Add("onchange", setValueToFakeInput + (!string.IsNullOrEmpty(settings.OnChange) ? settings.OnChange : "")); 2803 2804 attributes.Add("type", "file"); 2805 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 2806 settings.CssClass = "u-full-width " + settings.CssClass; 2807 2808 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 2809 2810 2811 2812 #line default 2813 #line hidden 2814 WriteLiteralTo(__razor_helper_writer, " <div"); 2815 2816 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 33765), Tuple.Create("\"", 33836) 2817 , Tuple.Create(Tuple.Create("", 33773), Tuple.Create("form__field-group", 33773), true) 2818 , Tuple.Create(Tuple.Create(" ", 33790), Tuple.Create("u-full-width", 33791), true) 2819 2820 #line 954 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2821 , Tuple.Create(Tuple.Create(" ", 33803), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 2822 2823 #line default 2824 #line hidden 2825 , 33804), false) 2826 , Tuple.Create(Tuple.Create(" ", 33829), Tuple.Create("dw-mod", 33830), true) 2827 ); 2828 2829 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2830 2831 2832 #line 955 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2833 2834 2835 #line default 2836 #line hidden 2837 2838 #line 955 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2839 if (!string.IsNullOrEmpty(settings.Label)) 2840 { 2841 2842 2843 #line default 2844 #line hidden 2845 WriteLiteralTo(__razor_helper_writer, " <label"); 2846 2847 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 33922), Tuple.Create("\"", 33940) 2848 2849 #line 957 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2850 , Tuple.Create(Tuple.Create("", 33928), Tuple.Create<System.Object, System.Int32>(settings.Id 2851 2852 #line default 2853 #line hidden 2854 , 33928), false) 2855 ); 2856 2857 WriteLiteralTo(__razor_helper_writer, ">"); 2858 2859 2860 #line 957 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2861 WriteTo(__razor_helper_writer, settings.Label); 2862 2863 2864 #line default 2865 #line hidden 2866 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 2867 2868 2869 #line 958 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2870 } 2871 2872 2873 #line default 2874 #line hidden 2875 WriteLiteralTo(__razor_helper_writer, " "); 2876 2877 2878 #line 959 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2879 if (!string.IsNullOrEmpty(settings.HelpText)) 2880 { 2881 2882 2883 #line default 2884 #line hidden 2885 WriteLiteralTo(__razor_helper_writer, " <small"); 2886 2887 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 2888 2889 WriteLiteralTo(__razor_helper_writer, ">"); 2890 2891 2892 #line 961 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2893 WriteTo(__razor_helper_writer, settings.HelpText); 2894 2895 2896 #line default 2897 #line hidden 2898 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 2899 2900 2901 #line 962 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2902 } 2903 2904 2905 #line default 2906 #line hidden 2907 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 2908 2909 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi file-input u-no-margin dw-mod\""); 2910 2911 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 2912 2913 2914 #line 965 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2915 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 2916 2917 2918 #line default 2919 #line hidden 2920 WriteLiteralTo(__razor_helper_writer, " class=\"file-input__real-input\" data-no-files-text=\""); 2921 2922 2923 #line 965 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2924 WriteTo(__razor_helper_writer, settings.NoFilesChosenText); 2925 2926 2927 #line default 2928 #line hidden 2929 WriteLiteralTo(__razor_helper_writer, "\" data-many-files-text=\""); 2930 2931 2932 #line 965 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2933 WriteTo(__razor_helper_writer, Translate("files")); 2934 2935 2936 #line default 2937 #line hidden 2938 WriteLiteralTo(__razor_helper_writer, "\" />\r\n <label"); 2939 2940 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 34414), Tuple.Create("\"", 34432) 2941 2942 #line 966 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2943 , Tuple.Create(Tuple.Create("", 34420), Tuple.Create<System.Object, System.Int32>(settings.Id 2944 2945 #line default 2946 #line hidden 2947 , 34420), false) 2948 ); 2949 2950 WriteLiteralTo(__razor_helper_writer, " class=\"file-input__btn btn--secondary btn dw-mod\""); 2951 2952 WriteLiteralTo(__razor_helper_writer, ">"); 2953 2954 2955 #line 966 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2956 WriteTo(__razor_helper_writer, settings.ChooseFileText); 2957 2958 2959 #line default 2960 #line hidden 2961 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <label"); 2962 2963 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 34536), Tuple.Create("\"", 34554) 2964 2965 #line 967 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2966 , Tuple.Create(Tuple.Create("", 34542), Tuple.Create<System.Object, System.Int32>(settings.Id 2967 2968 #line default 2969 #line hidden 2970 , 34542), false) 2971 ); 2972 2973 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 34555), Tuple.Create("\"", 34625) 2974 2975 #line 967 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2976 , Tuple.Create(Tuple.Create("", 34563), Tuple.Create<System.Object, System.Int32>(settings.CssClass 2977 2978 #line default 2979 #line hidden 2980 , 34563), false) 2981 , Tuple.Create(Tuple.Create(" ", 34581), Tuple.Create("file-input__fake-input", 34582), true) 2982 , Tuple.Create(Tuple.Create(" ", 34604), Tuple.Create("js-fake-input", 34605), true) 2983 , Tuple.Create(Tuple.Create(" ", 34618), Tuple.Create("dw-mod", 34619), true) 2984 ); 2985 2986 WriteLiteralTo(__razor_helper_writer, ">"); 2987 2988 2989 #line 967 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2990 WriteTo(__razor_helper_writer, settings.NoFilesChosenText); 2991 2992 2993 #line default 2994 #line hidden 2995 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 2996 2997 2998 #line 968 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 2999 3000 3001 #line default 3002 #line hidden 3003 3004 #line 968 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3005 if (settings.UploadButton != null) 3006 { 3007 settings.UploadButton.CssClass += " btn--condensed u-no-margin"; 3008 3009 3010 #line default 3011 #line hidden 3012 3013 #line 971 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3014 WriteTo(__razor_helper_writer, Render(settings.UploadButton)); 3015 3016 3017 #line default 3018 #line hidden 3019 3020 #line 971 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3021 3022 } 3023 3024 3025 #line default 3026 #line hidden 3027 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 3028 3029 WriteLiteralTo(__razor_helper_writer, " "); 3030 3031 3032 #line 974 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3033 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3034 3035 3036 #line default 3037 #line hidden 3038 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3039 3040 3041 #line 976 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3042 3043 3044 #line default 3045 #line hidden 3046 }); 3047 3048 #line 976 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3049 } 3050 #line default 3051 #line hidden 3052 3053 3054 #line 985 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3055 public RazorEngine.Templating.TemplateWriter RenderDateTimeField(DateTimeField settings) 3056 { 3057 #line default 3058 #line hidden 3059 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3060 3061 #line 986 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3062 3063 if (string.IsNullOrEmpty(settings.Id)) 3064 { 3065 settings.Id = Guid.NewGuid().ToString("N"); 3066 } 3067 3068 var textField = new TextField { 3069 Name = settings.Name, 3070 Id = settings.Id, 3071 Label = settings.Label, 3072 HelpText = settings.HelpText, 3073 Value = settings.Value, 3074 Disabled = settings.Disabled, 3075 Required = settings.Required, 3076 ErrorMessage = settings.ErrorMessage, 3077 CssClass = settings.CssClass, 3078 WrapperCssClass = settings.WrapperCssClass, 3079 OnChange = settings.OnChange, 3080 OnClick = settings.OnClick, 3081 ExtraAttributes = settings.ExtraAttributes, 3082 // 3083 Placeholder = settings.Placeholder 3084 }; 3085 3086 3087 3088 #line default 3089 #line hidden 3090 3091 #line 1010 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3092 WriteTo(__razor_helper_writer, Render(textField)); 3093 3094 3095 #line default 3096 #line hidden 3097 3098 #line 1010 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3099 3100 3101 List<string> jsAttributes = new List<string>(); 3102 3103 jsAttributes.Add("mode: '" + Enum.GetName(typeof(DateTimeFieldMode), settings.Mode).ToLower() + "'"); 3104 3105 if (!string.IsNullOrEmpty(settings.DateFormat)) 3106 { 3107 jsAttributes.Add("dateFormat: '" + settings.DateFormat + "'"); 3108 } 3109 if (!string.IsNullOrEmpty(settings.MinDate)) 3110 { 3111 jsAttributes.Add("minDate: '" + settings.MinDate + "'"); 3112 } 3113 if (!string.IsNullOrEmpty(settings.MaxDate)) 3114 { 3115 jsAttributes.Add("maxDate: '" + settings.MaxDate + "'"); 3116 } 3117 if (settings.IsInline) 3118 { 3119 jsAttributes.Add("inline: " + Converter.ToString(settings.IsInline).ToLower()); 3120 } 3121 if (settings.EnableTime) 3122 { 3123 jsAttributes.Add("enableTime: " + Converter.ToString(settings.EnableTime).ToLower()); 3124 } 3125 if (settings.EnableWeekNumbers) 3126 { 3127 jsAttributes.Add("weekNumbers: " + Converter.ToString(settings.EnableWeekNumbers).ToLower()); 3128 } 3129 3130 jsAttributes.AddRange(settings.GetFlatPickrOptions().Select(x => x.Key + ": " + x.Value)); 3131 3132 3133 3134 #line default 3135 #line hidden 3136 WriteLiteralTo(__razor_helper_writer, " <script>\r\n document.addEventListener(\"DOMContentLoaded\", function () {" + 3137 "\r\n flatpickr(\"#"); 3138 3139 3140 #line 1045 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3141 WriteTo(__razor_helper_writer, textField.Id); 3142 3143 3144 #line default 3145 #line hidden 3146 WriteLiteralTo(__razor_helper_writer, "\", {\r\n"); 3147 3148 WriteLiteralTo(__razor_helper_writer, " "); 3149 3150 3151 #line 1046 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3152 WriteTo(__razor_helper_writer, string.Join(",", jsAttributes)); 3153 3154 3155 #line default 3156 #line hidden 3157 WriteLiteralTo(__razor_helper_writer, "\r\n });\r\n });\r\n </script>\r\n"); 3158 3159 3160 #line 1050 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3161 3162 3163 #line default 3164 #line hidden 3165 }); 3166 3167 #line 1050 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3168 } 3169 #line default 3170 #line hidden 3171 3172 3173 #line 1057 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3174 public RazorEngine.Templating.TemplateWriter RenderTextField(TextField settings) 3175 { 3176 #line default 3177 #line hidden 3178 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3179 3180 #line 1058 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3181 3182 var attributes = new Dictionary<string, string>(); 3183 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3184 { 3185 settings.Id = Guid.NewGuid().ToString("N"); 3186 } 3187 3188 /*base settings*/ 3189 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3190 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3191 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3192 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3193 if (settings.Required) { attributes.Add("required", "true"); } 3194 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3195 /*end*/ 3196 3197 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3198 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3199 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3200 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3201 if (settings.MaxLength != 0) { attributes.Add("maxlength", settings.MaxLength.ToString()); } 3202 if (!string.IsNullOrEmpty(settings.Placeholder)) { attributes.Add("placeholder", settings.Placeholder); } 3203 attributes.Add("type", Enum.GetName(typeof(TextFieldType), settings.Type).ToLower()); 3204 if (settings.Type == TextFieldType.Password) { attributes.Add("autocomplete", "off"); }; 3205 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 3206 settings.CssClass = "u-full-width " + settings.CssClass; 3207 3208 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 3209 3210 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3211 3212 string noMargin = "u-no-margin"; 3213 if (!settings.ReadOnly) { 3214 noMargin = ""; 3215 } 3216 3217 3218 3219 #line default 3220 #line hidden 3221 WriteLiteralTo(__razor_helper_writer, " <div"); 3222 3223 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 39552), Tuple.Create("\"", 39633) 3224 , Tuple.Create(Tuple.Create("", 39560), Tuple.Create("form__field-group", 39560), true) 3225 , Tuple.Create(Tuple.Create(" ", 39577), Tuple.Create("u-full-width", 39578), true) 3226 3227 #line 1094 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3228 , Tuple.Create(Tuple.Create(" ", 39590), Tuple.Create<System.Object, System.Int32>(noMargin 3229 3230 #line default 3231 #line hidden 3232 , 39591), false) 3233 3234 #line 1094 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3235 , Tuple.Create(Tuple.Create(" ", 39600), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3236 3237 #line default 3238 #line hidden 3239 , 39601), false) 3240 , Tuple.Create(Tuple.Create(" ", 39626), Tuple.Create("dw-mod", 39627), true) 3241 ); 3242 3243 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3244 3245 3246 #line 1095 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3247 3248 3249 #line default 3250 #line hidden 3251 3252 #line 1095 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3253 if (!string.IsNullOrEmpty(settings.Label)) 3254 { 3255 3256 3257 #line default 3258 #line hidden 3259 WriteLiteralTo(__razor_helper_writer, " <label"); 3260 3261 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 39719), Tuple.Create("\"", 39737) 3262 3263 #line 1097 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3264 , Tuple.Create(Tuple.Create("", 39725), Tuple.Create<System.Object, System.Int32>(settings.Id 3265 3266 #line default 3267 #line hidden 3268 , 39725), false) 3269 ); 3270 3271 WriteLiteralTo(__razor_helper_writer, ">"); 3272 3273 3274 #line 1097 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3275 WriteTo(__razor_helper_writer, settings.Label); 3276 3277 3278 #line default 3279 #line hidden 3280 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3281 3282 3283 #line 1098 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3284 } 3285 3286 3287 #line default 3288 #line hidden 3289 WriteLiteralTo(__razor_helper_writer, " "); 3290 3291 3292 #line 1099 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3293 if (!string.IsNullOrEmpty(settings.HelpText)) 3294 { 3295 3296 3297 #line default 3298 #line hidden 3299 WriteLiteralTo(__razor_helper_writer, " <small"); 3300 3301 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3302 3303 WriteLiteralTo(__razor_helper_writer, ">"); 3304 3305 3306 #line 1101 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3307 WriteTo(__razor_helper_writer, settings.HelpText); 3308 3309 3310 #line default 3311 #line hidden 3312 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3313 3314 3315 #line 1102 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3316 } 3317 3318 3319 #line default 3320 #line hidden 3321 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3322 3323 3324 #line 1104 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3325 3326 3327 #line default 3328 #line hidden 3329 3330 #line 1104 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3331 if (settings.ActionButton != null) 3332 { 3333 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 3334 3335 3336 #line default 3337 #line hidden 3338 WriteLiteralTo(__razor_helper_writer, " <div"); 3339 3340 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 3341 3342 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3343 3344 3345 #line 1108 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3346 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3347 3348 3349 #line default 3350 #line hidden 3351 WriteLiteralTo(__razor_helper_writer, " class=\""); 3352 3353 3354 #line 1108 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3355 WriteTo(__razor_helper_writer, settings.CssClass); 3356 3357 3358 #line default 3359 #line hidden 3360 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3361 3362 WriteLiteralTo(__razor_helper_writer, " "); 3363 3364 3365 #line 1109 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3366 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 3367 3368 3369 #line default 3370 #line hidden 3371 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3372 3373 3374 #line 1111 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3375 } 3376 else 3377 { 3378 3379 3380 #line default 3381 #line hidden 3382 WriteLiteralTo(__razor_helper_writer, " <input "); 3383 3384 3385 #line 1114 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3386 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3387 3388 3389 #line default 3390 #line hidden 3391 WriteLiteralTo(__razor_helper_writer, " class=\""); 3392 3393 3394 #line 1114 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3395 WriteTo(__razor_helper_writer, settings.CssClass); 3396 3397 3398 #line default 3399 #line hidden 3400 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3401 3402 3403 #line 1115 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3404 } 3405 3406 3407 #line default 3408 #line hidden 3409 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3410 3411 WriteLiteralTo(__razor_helper_writer, " "); 3412 3413 3414 #line 1117 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3415 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3416 3417 3418 #line default 3419 #line hidden 3420 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3421 3422 3423 #line 1119 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3424 3425 3426 #line default 3427 #line hidden 3428 }); 3429 3430 #line 1119 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3431 } 3432 #line default 3433 #line hidden 3434 3435 3436 #line 1126 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3437 public RazorEngine.Templating.TemplateWriter RenderNumberField(NumberField settings) 3438 { 3439 #line default 3440 #line hidden 3441 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3442 3443 #line 1127 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3444 3445 var attributes = new Dictionary<string, string>(); 3446 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3447 { 3448 settings.Id = Guid.NewGuid().ToString("N"); 3449 } 3450 3451 /*base settings*/ 3452 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3453 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3454 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3455 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3456 if (settings.Required) { attributes.Add("required", "true"); } 3457 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3458 /*end*/ 3459 3460 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3461 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3462 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3463 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3464 if (settings.Max != null) { attributes.Add("max", settings.Max.ToString()); } 3465 if (settings.Min != null) { attributes.Add("min", settings.Min.ToString()); } 3466 if (settings.Step != 0) { attributes.Add("step", settings.Step.ToString()); } 3467 if (settings.Value != null && !string.IsNullOrEmpty(settings.Value.ToString())) { attributes.Add("value", settings.Value.ToString()); } 3468 attributes.Add("type", "number"); 3469 3470 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3471 3472 3473 3474 #line default 3475 #line hidden 3476 WriteLiteralTo(__razor_helper_writer, " <div"); 3477 3478 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 42453), Tuple.Create("\"", 42524) 3479 , Tuple.Create(Tuple.Create("", 42461), Tuple.Create("form__field-group", 42461), true) 3480 , Tuple.Create(Tuple.Create(" ", 42478), Tuple.Create("u-full-width", 42479), true) 3481 3482 #line 1155 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3483 , Tuple.Create(Tuple.Create(" ", 42491), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3484 3485 #line default 3486 #line hidden 3487 , 42492), false) 3488 , Tuple.Create(Tuple.Create(" ", 42517), Tuple.Create("dw-mod", 42518), true) 3489 ); 3490 3491 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3492 3493 3494 #line 1156 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3495 3496 3497 #line default 3498 #line hidden 3499 3500 #line 1156 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3501 if (!string.IsNullOrEmpty(settings.Label)) 3502 { 3503 3504 3505 #line default 3506 #line hidden 3507 WriteLiteralTo(__razor_helper_writer, " <label"); 3508 3509 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 42610), Tuple.Create("\"", 42628) 3510 3511 #line 1158 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3512 , Tuple.Create(Tuple.Create("", 42616), Tuple.Create<System.Object, System.Int32>(settings.Id 3513 3514 #line default 3515 #line hidden 3516 , 42616), false) 3517 ); 3518 3519 WriteLiteralTo(__razor_helper_writer, ">"); 3520 3521 3522 #line 1158 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3523 WriteTo(__razor_helper_writer, settings.Label); 3524 3525 3526 #line default 3527 #line hidden 3528 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3529 3530 3531 #line 1159 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3532 } 3533 3534 3535 #line default 3536 #line hidden 3537 WriteLiteralTo(__razor_helper_writer, " "); 3538 3539 3540 #line 1160 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3541 if (!string.IsNullOrEmpty(settings.HelpText)) 3542 { 3543 3544 3545 #line default 3546 #line hidden 3547 WriteLiteralTo(__razor_helper_writer, " <small"); 3548 3549 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3550 3551 WriteLiteralTo(__razor_helper_writer, ">"); 3552 3553 3554 #line 1162 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3555 WriteTo(__razor_helper_writer, settings.HelpText); 3556 3557 3558 #line default 3559 #line hidden 3560 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3561 3562 3563 #line 1163 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3564 } 3565 3566 3567 #line default 3568 #line hidden 3569 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3570 3571 3572 #line 1165 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3573 3574 3575 #line default 3576 #line hidden 3577 3578 #line 1165 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3579 if (settings.ActionButton != null) 3580 { 3581 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 3582 3583 3584 #line default 3585 #line hidden 3586 WriteLiteralTo(__razor_helper_writer, " <div"); 3587 3588 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 3589 3590 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3591 3592 3593 #line 1169 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3594 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3595 3596 3597 #line default 3598 #line hidden 3599 WriteLiteralTo(__razor_helper_writer, " class=\""); 3600 3601 3602 #line 1169 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3603 WriteTo(__razor_helper_writer, settings.CssClass); 3604 3605 3606 #line default 3607 #line hidden 3608 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3609 3610 WriteLiteralTo(__razor_helper_writer, " "); 3611 3612 3613 #line 1170 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3614 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 3615 3616 3617 #line default 3618 #line hidden 3619 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3620 3621 3622 #line 1172 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3623 } 3624 else 3625 { 3626 3627 3628 #line default 3629 #line hidden 3630 WriteLiteralTo(__razor_helper_writer, " <input "); 3631 3632 3633 #line 1175 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3634 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3635 3636 3637 #line default 3638 #line hidden 3639 WriteLiteralTo(__razor_helper_writer, " class=\""); 3640 3641 3642 #line 1175 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3643 WriteTo(__razor_helper_writer, settings.CssClass); 3644 3645 3646 #line default 3647 #line hidden 3648 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 3649 3650 3651 #line 1176 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3652 } 3653 3654 3655 #line default 3656 #line hidden 3657 WriteLiteralTo(__razor_helper_writer, "\r\n"); 3658 3659 WriteLiteralTo(__razor_helper_writer, " "); 3660 3661 3662 #line 1178 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3663 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3664 3665 3666 #line default 3667 #line hidden 3668 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3669 3670 3671 #line 1180 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3672 3673 3674 #line default 3675 #line hidden 3676 }); 3677 3678 #line 1180 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3679 } 3680 #line default 3681 #line hidden 3682 3683 3684 #line 1188 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3685 public RazorEngine.Templating.TemplateWriter RenderTextareaField(TextareaField settings) 3686 { 3687 #line default 3688 #line hidden 3689 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3690 3691 #line 1189 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3692 3693 Dictionary<string, string> attributes = new Dictionary<string, string>(); 3694 string id = settings.Id; 3695 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(id)) 3696 { 3697 id = Guid.NewGuid().ToString("N"); 3698 } 3699 3700 if (!string.IsNullOrEmpty(id)) { attributes.Add("id", id); } 3701 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3702 if (!string.IsNullOrEmpty(settings.OnKeyUp)) { attributes.Add("onkeyup", settings.OnKeyUp); } 3703 if (!string.IsNullOrEmpty(settings.OnInput)) { attributes.Add("oninput", settings.OnInput); } 3704 if (!string.IsNullOrEmpty(settings.OnFocus)) { attributes.Add("onfocus", settings.OnFocus); } 3705 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3706 if (!string.IsNullOrEmpty(settings.Placeholder)) { attributes.Add("placeholder", settings.Placeholder); } 3707 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3708 if (settings.Required) { attributes.Add("required", "true"); } 3709 if (settings.ReadOnly) { attributes.Add("readonly", "true"); } 3710 if (settings.MaxLength != 0) { attributes.Add("maxlength", settings.MaxLength.ToString()); } 3711 if (settings.Rows != 0) { attributes.Add("rows", settings.Rows.ToString()); } 3712 attributes.Add("name", settings.Name); 3713 3714 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 3715 3716 3717 3718 #line default 3719 #line hidden 3720 WriteLiteralTo(__razor_helper_writer, " <div"); 3721 3722 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 45150), Tuple.Create("\"", 45208) 3723 , Tuple.Create(Tuple.Create("", 45158), Tuple.Create("form__field-group", 45158), true) 3724 3725 #line 1213 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3726 , Tuple.Create(Tuple.Create(" ", 45175), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3727 3728 #line default 3729 #line hidden 3730 , 45176), false) 3731 , Tuple.Create(Tuple.Create(" ", 45201), Tuple.Create("dw-mod", 45202), true) 3732 ); 3733 3734 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3735 3736 3737 #line 1214 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3738 3739 3740 #line default 3741 #line hidden 3742 3743 #line 1214 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3744 if (!string.IsNullOrEmpty(settings.Label)) 3745 { 3746 3747 3748 #line default 3749 #line hidden 3750 WriteLiteralTo(__razor_helper_writer, " <label"); 3751 3752 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 45294), Tuple.Create("\"", 45303) 3753 3754 #line 1216 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3755 , Tuple.Create(Tuple.Create("", 45300), Tuple.Create<System.Object, System.Int32>(id 3756 3757 #line default 3758 #line hidden 3759 , 45300), false) 3760 ); 3761 3762 WriteLiteralTo(__razor_helper_writer, ">"); 3763 3764 3765 #line 1216 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3766 WriteTo(__razor_helper_writer, settings.Label); 3767 3768 3769 #line default 3770 #line hidden 3771 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 3772 3773 3774 #line 1217 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3775 } 3776 3777 3778 #line default 3779 #line hidden 3780 WriteLiteralTo(__razor_helper_writer, " "); 3781 3782 3783 #line 1218 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3784 if (!string.IsNullOrEmpty(settings.HelpText)) 3785 { 3786 3787 3788 #line default 3789 #line hidden 3790 WriteLiteralTo(__razor_helper_writer, " <small"); 3791 3792 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 3793 3794 WriteLiteralTo(__razor_helper_writer, ">"); 3795 3796 3797 #line 1220 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3798 WriteTo(__razor_helper_writer, settings.HelpText); 3799 3800 3801 #line default 3802 #line hidden 3803 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 3804 3805 3806 #line 1221 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3807 } 3808 3809 3810 #line default 3811 #line hidden 3812 WriteLiteralTo(__razor_helper_writer, "\r\n <textarea"); 3813 3814 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 45509), Tuple.Create("\"", 45555) 3815 , Tuple.Create(Tuple.Create("", 45517), Tuple.Create("u-full-width", 45517), true) 3816 3817 #line 1223 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3818 , Tuple.Create(Tuple.Create(" ", 45529), Tuple.Create<System.Object, System.Int32>(settings.CssClass 3819 3820 #line default 3821 #line hidden 3822 , 45530), false) 3823 , Tuple.Create(Tuple.Create(" ", 45548), Tuple.Create("dw-mod", 45549), true) 3824 ); 3825 3826 WriteLiteralTo(__razor_helper_writer, " "); 3827 3828 3829 #line 1223 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3830 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 3831 3832 3833 #line default 3834 #line hidden 3835 WriteLiteralTo(__razor_helper_writer, " "); 3836 3837 3838 #line 1223 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3839 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3840 3841 3842 #line default 3843 #line hidden 3844 WriteLiteralTo(__razor_helper_writer, ">"); 3845 3846 3847 #line 1223 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3848 WriteTo(__razor_helper_writer, settings.Value); 3849 3850 3851 #line default 3852 #line hidden 3853 WriteLiteralTo(__razor_helper_writer, "</textarea>\r\n\r\n"); 3854 3855 WriteLiteralTo(__razor_helper_writer, " "); 3856 3857 3858 #line 1225 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3859 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 3860 3861 3862 #line default 3863 #line hidden 3864 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 3865 3866 3867 #line 1227 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3868 3869 3870 #line default 3871 #line hidden 3872 }); 3873 3874 #line 1227 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3875 } 3876 #line default 3877 #line hidden 3878 3879 3880 #line 1235 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3881 public RazorEngine.Templating.TemplateWriter RenderHiddenField(HiddenField settings) { 3882 #line default 3883 #line hidden 3884 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3885 3886 #line 1235 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3887 3888 var attributes = new Dictionary<string, string>(); 3889 attributes.Add("type", "hidden"); 3890 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3891 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 3892 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3893 3894 3895 3896 #line default 3897 #line hidden 3898 WriteLiteralTo(__razor_helper_writer, " <input "); 3899 3900 3901 #line 1242 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3902 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 3903 3904 3905 #line default 3906 #line hidden 3907 WriteLiteralTo(__razor_helper_writer, " "); 3908 3909 3910 #line 1242 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3911 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 3912 3913 3914 #line default 3915 #line hidden 3916 WriteLiteralTo(__razor_helper_writer, "/>\r\n"); 3917 3918 3919 #line 1243 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3920 3921 3922 #line default 3923 #line hidden 3924 }); 3925 3926 #line 1243 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3927 } 3928 #line default 3929 #line hidden 3930 3931 3932 #line 1250 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3933 public RazorEngine.Templating.TemplateWriter RenderCheckboxField(CheckboxField settings) 3934 { 3935 #line default 3936 #line hidden 3937 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3938 3939 #line 1251 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3940 3941 var attributes = new Dictionary<string, string>(); 3942 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 3943 { 3944 settings.Id = Guid.NewGuid().ToString("N"); 3945 } 3946 3947 /*base settings*/ 3948 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 3949 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 3950 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 3951 if (settings.Disabled) { attributes.Add("disabled", "true"); } 3952 if (settings.Required) { attributes.Add("required", "true"); } 3953 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 3954 /*end*/ 3955 3956 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 3957 3958 attributes.Add("type", "checkbox"); 3959 if (settings.Checked) { attributes.Add("checked", "true"); } 3960 settings.CssClass = "form__control " + settings.CssClass; 3961 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 3962 3963 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 3964 3965 3966 3967 #line default 3968 #line hidden 3969 WriteLiteralTo(__razor_helper_writer, " <div"); 3970 3971 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 47981), Tuple.Create("\"", 48039) 3972 , Tuple.Create(Tuple.Create("", 47989), Tuple.Create("form__field-group", 47989), true) 3973 3974 #line 1276 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3975 , Tuple.Create(Tuple.Create(" ", 48006), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 3976 3977 #line default 3978 #line hidden 3979 , 48007), false) 3980 , Tuple.Create(Tuple.Create(" ", 48032), Tuple.Create("dw-mod", 48033), true) 3981 ); 3982 3983 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 3984 3985 3986 #line 1277 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3987 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 3988 3989 3990 #line default 3991 #line hidden 3992 WriteLiteralTo(__razor_helper_writer, " class=\""); 3993 3994 3995 #line 1277 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 3996 WriteTo(__razor_helper_writer, settings.CssClass); 3997 3998 3999 #line default 4000 #line hidden 4001 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 4002 4003 4004 #line 1278 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4005 4006 4007 #line default 4008 #line hidden 4009 4010 #line 1278 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4011 if (!string.IsNullOrEmpty(settings.Label)) 4012 { 4013 4014 4015 #line default 4016 #line hidden 4017 WriteLiteralTo(__razor_helper_writer, " <label"); 4018 4019 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 48228), Tuple.Create("\"", 48246) 4020 4021 #line 1280 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4022 , Tuple.Create(Tuple.Create("", 48234), Tuple.Create<System.Object, System.Int32>(settings.Id 4023 4024 #line default 4025 #line hidden 4026 , 48234), false) 4027 ); 4028 4029 WriteLiteralTo(__razor_helper_writer, " class=\"dw-mod\""); 4030 4031 WriteLiteralTo(__razor_helper_writer, ">"); 4032 4033 4034 #line 1280 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4035 WriteTo(__razor_helper_writer, settings.Label); 4036 4037 4038 #line default 4039 #line hidden 4040 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4041 4042 4043 #line 1281 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4044 } 4045 4046 4047 #line default 4048 #line hidden 4049 WriteLiteralTo(__razor_helper_writer, " "); 4050 4051 4052 #line 1282 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4053 if (!string.IsNullOrEmpty(settings.HelpText)) 4054 { 4055 4056 4057 #line default 4058 #line hidden 4059 WriteLiteralTo(__razor_helper_writer, " <small"); 4060 4061 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4062 4063 WriteLiteralTo(__razor_helper_writer, ">"); 4064 4065 4066 #line 1284 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4067 WriteTo(__razor_helper_writer, settings.HelpText); 4068 4069 4070 #line default 4071 #line hidden 4072 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4073 4074 4075 #line 1285 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4076 } 4077 4078 4079 #line default 4080 #line hidden 4081 WriteLiteralTo(__razor_helper_writer, " "); 4082 4083 4084 #line 1286 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4085 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4086 4087 4088 #line default 4089 #line hidden 4090 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4091 4092 4093 #line 1288 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4094 4095 4096 #line default 4097 #line hidden 4098 }); 4099 4100 #line 1288 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4101 } 4102 #line default 4103 #line hidden 4104 4105 4106 #line 1296 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4107 public RazorEngine.Templating.TemplateWriter RenderCheckboxListField(CheckboxListField settings) 4108 { 4109 #line default 4110 #line hidden 4111 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4112 4113 #line 1297 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4114 4115 4116 4117 #line default 4118 #line hidden 4119 WriteLiteralTo(__razor_helper_writer, " <div"); 4120 4121 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 48758), Tuple.Create("\"", 48832) 4122 , Tuple.Create(Tuple.Create("", 48766), Tuple.Create("form__field-group", 48766), true) 4123 4124 #line 1298 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4125 , Tuple.Create(Tuple.Create(" ", 48783), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4126 4127 #line default 4128 #line hidden 4129 , 48784), false) 4130 , Tuple.Create(Tuple.Create(" ", 48809), Tuple.Create("u-margin-bottom", 48810), true) 4131 , Tuple.Create(Tuple.Create(" ", 48825), Tuple.Create("dw-mod", 48826), true) 4132 ); 4133 4134 WriteLiteralTo(__razor_helper_writer, " "); 4135 4136 4137 #line 1298 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4138 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 4139 4140 4141 #line default 4142 #line hidden 4143 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4144 4145 4146 #line 1299 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4147 4148 4149 #line default 4150 #line hidden 4151 4152 #line 1299 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4153 if (!string.IsNullOrEmpty(settings.Label)) 4154 { 4155 4156 4157 #line default 4158 #line hidden 4159 WriteLiteralTo(__razor_helper_writer, " <label>"); 4160 4161 4162 #line 1301 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4163 WriteTo(__razor_helper_writer, settings.Label); 4164 4165 4166 #line default 4167 #line hidden 4168 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4169 4170 4171 #line 1302 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4172 } 4173 4174 4175 #line default 4176 #line hidden 4177 WriteLiteralTo(__razor_helper_writer, " "); 4178 4179 4180 #line 1303 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4181 if (!string.IsNullOrEmpty(settings.HelpText)) 4182 { 4183 4184 4185 #line default 4186 #line hidden 4187 WriteLiteralTo(__razor_helper_writer, " <small"); 4188 4189 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4190 4191 WriteLiteralTo(__razor_helper_writer, ">"); 4192 4193 4194 #line 1305 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4195 WriteTo(__razor_helper_writer, settings.HelpText); 4196 4197 4198 #line default 4199 #line hidden 4200 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4201 4202 4203 #line 1306 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4204 } 4205 4206 4207 #line default 4208 #line hidden 4209 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4210 4211 4212 #line 1308 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4213 4214 4215 #line default 4216 #line hidden 4217 4218 #line 1308 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4219 foreach (var item in settings.Options) 4220 { 4221 if (settings.Required) 4222 { 4223 item.Required = true; 4224 } 4225 if (settings.Disabled) 4226 { 4227 item.Disabled = true; 4228 } 4229 if (!string.IsNullOrEmpty(settings.Name)) 4230 { 4231 item.Name = settings.Name; 4232 } 4233 if (!string.IsNullOrEmpty(settings.CssClass)) 4234 { 4235 item.CssClass += settings.CssClass; 4236 } 4237 4238 /* value is not supported */ 4239 4240 if (!string.IsNullOrEmpty(settings.OnClick)) 4241 { 4242 item.OnClick += settings.OnClick; 4243 } 4244 if (!string.IsNullOrEmpty(settings.OnChange)) 4245 { 4246 item.OnChange += settings.OnChange; 4247 } 4248 4249 4250 #line default 4251 #line hidden 4252 4253 #line 1337 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4254 WriteTo(__razor_helper_writer, Render(item)); 4255 4256 4257 #line default 4258 #line hidden 4259 4260 #line 1337 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4261 4262 } 4263 4264 4265 #line default 4266 #line hidden 4267 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4268 4269 WriteLiteralTo(__razor_helper_writer, " "); 4270 4271 4272 #line 1340 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4273 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4274 4275 4276 #line default 4277 #line hidden 4278 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4279 4280 4281 #line 1342 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4282 4283 4284 #line default 4285 #line hidden 4286 }); 4287 4288 #line 1342 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4289 } 4290 #line default 4291 #line hidden 4292 4293 4294 #line 1347 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4295 public RazorEngine.Templating.TemplateWriter RenderSearch(Search settings) 4296 { 4297 #line default 4298 #line hidden 4299 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4300 4301 #line 1348 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4302 4303 var searchValue = HttpContext.Current.Request.QueryString.Get(settings.SearchParameter) ?? ""; 4304 var groupValue = HttpContext.Current.Request.QueryString.Get(settings.GroupsParameter) ?? ""; 4305 4306 if (string.IsNullOrEmpty(settings.Id)) 4307 { 4308 settings.Id = Guid.NewGuid().ToString("N"); 4309 } 4310 4311 var resultAttributes = new Dictionary<string, string>(); 4312 4313 if (settings.PageSize != 0) 4314 { 4315 resultAttributes.Add("data-page-size", settings.PageSize.ToString()); 4316 } 4317 if (!string.IsNullOrEmpty(settings.GroupItemsFeedUrl)) 4318 { 4319 resultAttributes.Add("data-groups-feed-url", settings.GroupItemsFeedUrl); 4320 if (!string.IsNullOrEmpty(groupValue)) 4321 { 4322 resultAttributes.Add("data-selected-group", groupValue); 4323 } 4324 if (!string.IsNullOrEmpty(settings.GroupsParameter)) 4325 { 4326 resultAttributes.Add("data-groups-parameter", settings.GroupsParameter); 4327 } 4328 } 4329 resultAttributes.Add("data-force-init", "true"); 4330 if (settings.GoToFirstSearchResultOnEnter) 4331 { 4332 resultAttributes.Add("data-go-to-first-search-result-on-enter", settings.GoToFirstSearchResultOnEnter.ToString().ToLower()); 4333 } 4334 if (!string.IsNullOrEmpty(settings.SearchParameter)) 4335 { 4336 resultAttributes.Add("data-search-parameter", settings.SearchParameter); 4337 } 4338 resultAttributes.Add("data-search-feed-url", settings.SearchData.SearchFeedUrl); 4339 resultAttributes.Add("data-results-template-id", settings.SearchData.ResultsTemplateId); 4340 4341 if (settings.SecondSearchData != null) 4342 { 4343 resultAttributes.Add("data-second-search-feed-url", settings.SecondSearchData.SearchFeedUrl); 4344 resultAttributes.Add("data-second-results-template-id", settings.SecondSearchData.ResultsTemplateId); 4345 } 4346 if (!string.IsNullOrEmpty(settings.ResultsPageUrl)) 4347 { 4348 resultAttributes.Add("data-results-page-url", settings.ResultsPageUrl); 4349 } 4350 4351 resultAttributes = resultAttributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 4352 4353 string searchFieldCss = (settings.SearchButton == null) ? "search--with-icon" : ""; 4354 4355 4356 4357 #line default 4358 #line hidden 4359 WriteLiteralTo(__razor_helper_writer, " <div"); 4360 4361 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 52509), Tuple.Create("\"", 52587) 4362 , Tuple.Create(Tuple.Create("", 52517), Tuple.Create("search", 52517), true) 4363 4364 #line 1401 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4365 , Tuple.Create(Tuple.Create(" ", 52523), Tuple.Create<System.Object, System.Int32>(settings.CssClass 4366 4367 #line default 4368 #line hidden 4369 , 52524), false) 4370 4371 #line 1401 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4372 , Tuple.Create(Tuple.Create(" ", 52542), Tuple.Create<System.Object, System.Int32>(searchFieldCss 4373 4374 #line default 4375 #line hidden 4376 , 52543), false) 4377 , Tuple.Create(Tuple.Create(" ", 52558), Tuple.Create("js-search-data-source", 52559), true) 4378 , Tuple.Create(Tuple.Create(" ", 52580), Tuple.Create("dw-mod", 52581), true) 4379 ); 4380 4381 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 52588), Tuple.Create("\"", 52605) 4382 4383 #line 1401 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4384 , Tuple.Create(Tuple.Create("", 52593), Tuple.Create<System.Object, System.Int32>(settings.Id 4385 4386 #line default 4387 #line hidden 4388 , 52593), false) 4389 ); 4390 4391 WriteLiteralTo(__razor_helper_writer, " "); 4392 4393 4394 #line 1401 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4395 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 4396 4397 4398 #line default 4399 #line hidden 4400 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4401 4402 4403 #line 1402 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4404 4405 4406 #line default 4407 #line hidden 4408 4409 #line 1402 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4410 if (!string.IsNullOrEmpty(settings.GroupItemsFeedUrl)) 4411 { 4412 4413 4414 #line default 4415 #line hidden 4416 WriteLiteralTo(__razor_helper_writer, " <button"); 4417 4418 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 4419 4420 WriteLiteralTo(__razor_helper_writer, " class=\"search__groups-btn dw-mod js-search-groups-btn\""); 4421 4422 WriteLiteralTo(__razor_helper_writer, ">"); 4423 4424 4425 #line 1404 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4426 WriteTo(__razor_helper_writer, Translate("All")); 4427 4428 4429 #line default 4430 #line hidden 4431 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 4432 4433 WriteLiteralTo(__razor_helper_writer, " <ul"); 4434 4435 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown dropdown--absolute-position dw-mod search__groups-results js-sea" + 4436 "rch-groups-list\""); 4437 4438 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 4439 4440 4441 #line 1406 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4442 } 4443 4444 4445 #line default 4446 #line hidden 4447 WriteLiteralTo(__razor_helper_writer, "\r\n <input"); 4448 4449 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 4450 4451 WriteLiteralTo(__razor_helper_writer, " class=\"search__field dw-mod js-search-field\""); 4452 4453 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 53056), Tuple.Create("\"", 53091) 4454 4455 #line 1408 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4456 , Tuple.Create(Tuple.Create("", 53070), Tuple.Create<System.Object, System.Int32>(settings.Placeholder 4457 4458 #line default 4459 #line hidden 4460 , 53070), false) 4461 ); 4462 4463 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 53092), Tuple.Create("\"", 53112) 4464 4465 #line 1408 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4466 , Tuple.Create(Tuple.Create("", 53100), Tuple.Create<System.Object, System.Int32>(searchValue 4467 4468 #line default 4469 #line hidden 4470 , 53100), false) 4471 ); 4472 4473 WriteLiteralTo(__razor_helper_writer, ">\r\n \r\n <div"); 4474 4475 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 53138), Tuple.Create("\"", 53295) 4476 , Tuple.Create(Tuple.Create("", 53146), Tuple.Create("dropdown", 53146), true) 4477 , Tuple.Create(Tuple.Create(" ", 53154), Tuple.Create("dropdown--absolute-position", 53155), true) 4478 , Tuple.Create(Tuple.Create(" ", 53182), Tuple.Create("search__results", 53183), true) 4479 , Tuple.Create(Tuple.Create(" ", 53198), Tuple.Create("dw-mod", 53199), true) 4480 , Tuple.Create(Tuple.Create(" ", 53205), Tuple.Create("js-search-results", 53206), true) 4481 4482 #line 1410 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4483 , Tuple.Create(Tuple.Create(" ", 53223), Tuple.Create<System.Object, System.Int32>(settings.SecondSearchData != null ? "search__results--combined" : "" 4484 4485 #line default 4486 #line hidden 4487 , 53224), false) 4488 ); 4489 4490 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4491 4492 4493 #line 1411 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4494 4495 4496 #line default 4497 #line hidden 4498 4499 #line 1411 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4500 if (settings.SecondSearchData != null) 4501 { 4502 4503 4504 #line default 4505 #line hidden 4506 WriteLiteralTo(__razor_helper_writer, " <div"); 4507 4508 WriteLiteralTo(__razor_helper_writer, " class=\"search__column search__column--products dw-mod\""); 4509 4510 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 4511 4512 WriteLiteralTo(__razor_helper_writer, " class=\"search__column-header dw-mod\""); 4513 4514 WriteLiteralTo(__razor_helper_writer, ">"); 4515 4516 4517 #line 1414 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4518 WriteTo(__razor_helper_writer, Translate("Products")); 4519 4520 4521 #line default 4522 #line hidden 4523 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <ul"); 4524 4525 WriteLiteralTo(__razor_helper_writer, " class=\"search__results-list dw-mod js-search-results-list\""); 4526 4527 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 53619), Tuple.Create("\"", 53650) 4528 4529 #line 1415 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4530 , Tuple.Create(Tuple.Create("", 53624), Tuple.Create<System.Object, System.Int32>(settings.Id 4531 4532 #line default 4533 #line hidden 4534 , 53624), false) 4535 , Tuple.Create(Tuple.Create("", 53638), Tuple.Create("_ResultsList", 53638), true) 4536 ); 4537 4538 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 4539 4540 4541 #line 1416 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4542 4543 4544 #line default 4545 #line hidden 4546 4547 #line 1416 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4548 if (!string.IsNullOrEmpty(settings.SearchData.ResultsPageUrl)) 4549 { 4550 4551 4552 #line default 4553 #line hidden 4554 4555 #line 1418 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4556 WriteTo(__razor_helper_writer, Render(new Link { 4557 Title = Translate("View all"), 4558 CssClass = "js-view-all-button u-margin", 4559 Href = settings.SearchData.ResultsPageUrl 4560 })); 4561 4562 4563 #line default 4564 #line hidden 4565 4566 #line 1422 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4567 ; 4568 } 4569 4570 4571 #line default 4572 #line hidden 4573 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 4574 4575 WriteLiteralTo(__razor_helper_writer, " <div"); 4576 4577 WriteLiteralTo(__razor_helper_writer, " class=\"search__column search__column--pages dw-mod\""); 4578 4579 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 4580 4581 WriteLiteralTo(__razor_helper_writer, " class=\"search__column-header\""); 4582 4583 WriteLiteralTo(__razor_helper_writer, ">"); 4584 4585 4586 #line 1426 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4587 WriteTo(__razor_helper_writer, Translate("Pages")); 4588 4589 4590 #line default 4591 #line hidden 4592 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <ul"); 4593 4594 WriteLiteralTo(__razor_helper_writer, " class=\"search__results-list dw-mod js-search-results-second-list\""); 4595 4596 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 54335), Tuple.Create("\"", 54372) 4597 4598 #line 1427 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4599 , Tuple.Create(Tuple.Create("", 54340), Tuple.Create<System.Object, System.Int32>(settings.Id 4600 4601 #line default 4602 #line hidden 4603 , 54340), false) 4604 , Tuple.Create(Tuple.Create("", 54354), Tuple.Create("_SecondResultsList", 54354), true) 4605 ); 4606 4607 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 4608 4609 4610 #line 1428 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4611 4612 4613 #line default 4614 #line hidden 4615 4616 #line 1428 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4617 if (!string.IsNullOrEmpty(settings.SecondSearchData.ResultsPageUrl)) 4618 { 4619 4620 4621 #line default 4622 #line hidden 4623 4624 #line 1430 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4625 WriteTo(__razor_helper_writer, Render(new Link 4626 { 4627 Title = Translate("View all"), 4628 CssClass = "js-view-all-button u-margin", 4629 Href = settings.SecondSearchData.ResultsPageUrl 4630 })); 4631 4632 4633 #line default 4634 #line hidden 4635 4636 #line 1435 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4637 ; 4638 } 4639 4640 4641 #line default 4642 #line hidden 4643 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 4644 4645 4646 #line 1438 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4647 } 4648 else 4649 { 4650 4651 4652 #line default 4653 #line hidden 4654 WriteLiteralTo(__razor_helper_writer, " <div"); 4655 4656 WriteLiteralTo(__razor_helper_writer, " class=\"search__column search__column--only dw-mod\""); 4657 4658 WriteLiteralTo(__razor_helper_writer, ">\r\n <ul"); 4659 4660 WriteLiteralTo(__razor_helper_writer, " class=\"search__results-list dw-mod js-search-results-list\""); 4661 4662 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 55052), Tuple.Create("\"", 55083) 4663 4664 #line 1442 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4665 , Tuple.Create(Tuple.Create("", 55057), Tuple.Create<System.Object, System.Int32>(settings.Id 4666 4667 #line default 4668 #line hidden 4669 , 55057), false) 4670 , Tuple.Create(Tuple.Create("", 55071), Tuple.Create("_ResultsList", 55071), true) 4671 ); 4672 4673 WriteLiteralTo(__razor_helper_writer, "></ul>\r\n"); 4674 4675 4676 #line 1443 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4677 4678 4679 #line default 4680 #line hidden 4681 4682 #line 1443 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4683 if (!string.IsNullOrEmpty(settings.SearchData.ResultsPageUrl)) 4684 { 4685 4686 4687 #line default 4688 #line hidden 4689 4690 #line 1445 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4691 WriteTo(__razor_helper_writer, Render(new Link { 4692 Title = Translate("View all"), 4693 CssClass = "js-view-all-button u-margin", 4694 Href = settings.SearchData.ResultsPageUrl 4695 })); 4696 4697 4698 #line default 4699 #line hidden 4700 4701 #line 1449 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4702 ; 4703 } 4704 4705 4706 #line default 4707 #line hidden 4708 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 4709 4710 4711 #line 1452 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4712 } 4713 4714 4715 #line default 4716 #line hidden 4717 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 4718 4719 4720 #line 1455 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4721 4722 4723 #line default 4724 #line hidden 4725 4726 #line 1455 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4727 if (settings.SearchButton != null) 4728 { 4729 settings.SearchButton.CssClass += " search__btn js-search-btn"; 4730 if (settings.RenderDefaultSearchIcon) 4731 { 4732 settings.SearchButton.Icon = new Icon { Name = Pageview.AreaSettings.GetItem("Layout").GetItem("Icons").GetList("SearchIcon").SelectedValue }; 4733 } 4734 4735 4736 #line default 4737 #line hidden 4738 4739 #line 1462 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4740 WriteTo(__razor_helper_writer, Render(settings.SearchButton)); 4741 4742 4743 #line default 4744 #line hidden 4745 4746 #line 1462 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4747 ; 4748 } 4749 4750 4751 #line default 4752 #line hidden 4753 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 4754 4755 4756 #line 1465 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4757 4758 4759 #line default 4760 #line hidden 4761 }); 4762 4763 #line 1465 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4764 } 4765 #line default 4766 #line hidden 4767 4768 4769 #line 1473 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4770 public RazorEngine.Templating.TemplateWriter RenderSelectField(SelectField settings) 4771 { 4772 #line default 4773 #line hidden 4774 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4775 4776 #line 1474 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4777 4778 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 4779 { 4780 settings.Id = Guid.NewGuid().ToString("N"); 4781 } 4782 4783 4784 4785 #line default 4786 #line hidden 4787 WriteLiteralTo(__razor_helper_writer, " <div"); 4788 4789 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 56359), Tuple.Create("\"", 56430) 4790 , Tuple.Create(Tuple.Create("", 56367), Tuple.Create("form__field-group", 56367), true) 4791 , Tuple.Create(Tuple.Create(" ", 56384), Tuple.Create("u-full-width", 56385), true) 4792 4793 #line 1480 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4794 , Tuple.Create(Tuple.Create(" ", 56397), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 4795 4796 #line default 4797 #line hidden 4798 , 56398), false) 4799 , Tuple.Create(Tuple.Create(" ", 56423), Tuple.Create("dw-mod", 56424), true) 4800 ); 4801 4802 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4803 4804 4805 #line 1481 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4806 4807 4808 #line default 4809 #line hidden 4810 4811 #line 1481 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4812 if (!string.IsNullOrEmpty(settings.Label)) 4813 { 4814 4815 4816 #line default 4817 #line hidden 4818 WriteLiteralTo(__razor_helper_writer, " <label"); 4819 4820 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 56516), Tuple.Create("\"", 56534) 4821 4822 #line 1483 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4823 , Tuple.Create(Tuple.Create("", 56522), Tuple.Create<System.Object, System.Int32>(settings.Id 4824 4825 #line default 4826 #line hidden 4827 , 56522), false) 4828 ); 4829 4830 WriteLiteralTo(__razor_helper_writer, ">"); 4831 4832 4833 #line 1483 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4834 WriteTo(__razor_helper_writer, settings.Label); 4835 4836 4837 #line default 4838 #line hidden 4839 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 4840 4841 4842 #line 1484 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4843 } 4844 4845 4846 #line default 4847 #line hidden 4848 WriteLiteralTo(__razor_helper_writer, " "); 4849 4850 4851 #line 1485 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4852 if (!string.IsNullOrEmpty(settings.HelpText)) 4853 { 4854 4855 4856 #line default 4857 #line hidden 4858 WriteLiteralTo(__razor_helper_writer, " <small"); 4859 4860 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 4861 4862 WriteLiteralTo(__razor_helper_writer, ">"); 4863 4864 4865 #line 1487 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4866 WriteTo(__razor_helper_writer, settings.HelpText); 4867 4868 4869 #line default 4870 #line hidden 4871 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 4872 4873 4874 #line 1488 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4875 } 4876 4877 4878 #line default 4879 #line hidden 4880 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4881 4882 4883 #line 1490 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4884 4885 4886 #line default 4887 #line hidden 4888 4889 #line 1490 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4890 if (settings.ActionButton != null) 4891 { 4892 settings.ActionButton.CssClass += " btn--condensed u-no-margin"; 4893 4894 4895 #line default 4896 #line hidden 4897 WriteLiteralTo(__razor_helper_writer, " <div"); 4898 4899 WriteLiteralTo(__razor_helper_writer, " class=\"form__field-combi u-no-margin dw-mod\""); 4900 4901 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4902 4903 WriteLiteralTo(__razor_helper_writer, " "); 4904 4905 4906 #line 1494 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4907 WriteTo(__razor_helper_writer, RenderSelectBase(settings)); 4908 4909 4910 #line default 4911 #line hidden 4912 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4913 4914 WriteLiteralTo(__razor_helper_writer, " "); 4915 4916 4917 #line 1495 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4918 WriteTo(__razor_helper_writer, Render(settings.ActionButton)); 4919 4920 4921 #line default 4922 #line hidden 4923 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4924 4925 4926 #line 1497 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4927 } 4928 else 4929 { 4930 4931 4932 #line default 4933 #line hidden 4934 4935 #line 1500 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4936 WriteTo(__razor_helper_writer, RenderSelectBase(settings)); 4937 4938 4939 #line default 4940 #line hidden 4941 4942 #line 1500 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4943 4944 } 4945 4946 4947 #line default 4948 #line hidden 4949 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4950 4951 WriteLiteralTo(__razor_helper_writer, " "); 4952 4953 4954 #line 1503 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4955 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 4956 4957 4958 #line default 4959 #line hidden 4960 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4961 4962 4963 #line 1505 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4964 4965 4966 #line default 4967 #line hidden 4968 }); 4969 4970 #line 1505 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4971 } 4972 #line default 4973 #line hidden 4974 4975 4976 #line 1507 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4977 public RazorEngine.Templating.TemplateWriter RenderSelectBase(SelectField settings) 4978 { 4979 #line default 4980 #line hidden 4981 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4982 4983 #line 1508 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 4984 4985 var attributes = new Dictionary<string, string>(); 4986 4987 /*base settings*/ 4988 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 4989 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 4990 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 4991 if (settings.Disabled) { attributes.Add("disabled", "true"); } 4992 if (settings.Required) { attributes.Add("required", "true"); } 4993 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 4994 /*end*/ 4995 4996 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 4997 4998 4999 5000 #line default 5001 #line hidden 5002 WriteLiteralTo(__razor_helper_writer, " <select "); 5003 5004 5005 #line 1522 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5006 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 5007 5008 5009 #line default 5010 #line hidden 5011 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width "); 5012 5013 5014 #line 1522 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5015 WriteTo(__razor_helper_writer, settings.CssClass); 5016 5017 5018 #line default 5019 #line hidden 5020 WriteLiteralTo(__razor_helper_writer, " dw-mod\">\r\n"); 5021 5022 5023 #line 1523 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5024 5025 5026 #line default 5027 #line hidden 5028 5029 #line 1523 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5030 if (settings.Default != null) 5031 { 5032 5033 5034 #line default 5035 #line hidden 5036 5037 #line 1525 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5038 WriteTo(__razor_helper_writer, Render(settings.Default)); 5039 5040 5041 #line default 5042 #line hidden 5043 5044 #line 1525 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5045 5046 } 5047 5048 5049 #line default 5050 #line hidden 5051 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5052 5053 5054 #line 1528 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5055 5056 5057 #line default 5058 #line hidden 5059 5060 #line 1528 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5061 foreach (var item in settings.Options) 5062 { 5063 if (!string.IsNullOrEmpty(settings.Value)) { 5064 item.Checked = item.Value == settings.Value; 5065 } 5066 5067 5068 #line default 5069 #line hidden 5070 5071 #line 1533 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5072 WriteTo(__razor_helper_writer, Render(item)); 5073 5074 5075 #line default 5076 #line hidden 5077 5078 #line 1533 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5079 5080 } 5081 5082 5083 #line default 5084 #line hidden 5085 WriteLiteralTo(__razor_helper_writer, " </select>\r\n"); 5086 5087 5088 #line 1536 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5089 5090 5091 #line default 5092 #line hidden 5093 }); 5094 5095 #line 1536 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5096 } 5097 #line default 5098 #line hidden 5099 5100 5101 #line 1543 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5102 public RazorEngine.Templating.TemplateWriter RenderRadioButtonField(RadioButtonField settings) 5103 { 5104 #line default 5105 #line hidden 5106 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5107 5108 #line 1544 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5109 5110 var attributes = new Dictionary<string, string>(); 5111 if (!string.IsNullOrEmpty(settings.Label) && string.IsNullOrEmpty(settings.Id)) 5112 { 5113 settings.Id = Guid.NewGuid().ToString("N"); 5114 } 5115 5116 /*base settings*/ 5117 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 5118 if (!string.IsNullOrEmpty(settings.OnClick)) { attributes.Add("onclick", settings.OnClick); } 5119 if (!string.IsNullOrEmpty(settings.OnChange)) { attributes.Add("onchange", settings.OnChange); } 5120 if (settings.Disabled) { attributes.Add("disabled", "true"); } 5121 if (settings.Required) { attributes.Add("required", "true"); } 5122 if (!string.IsNullOrEmpty(settings.Name)) { attributes.Add("name", settings.Name); } 5123 /*end*/ 5124 5125 attributes.Add("type", "radio"); 5126 if (settings.Checked) { attributes.Add("checked", "true"); } 5127 settings.CssClass = "form__control " + settings.CssClass; 5128 if (!string.IsNullOrEmpty(settings.Value)) { attributes.Add("value", settings.Value); } 5129 5130 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary (d => d.Key, d => d.Last().Value); 5131 5132 5133 5134 #line default 5135 #line hidden 5136 WriteLiteralTo(__razor_helper_writer, " <div"); 5137 5138 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 59865), Tuple.Create("\"", 59923) 5139 , Tuple.Create(Tuple.Create("", 59873), Tuple.Create("form__field-group", 59873), true) 5140 5141 #line 1567 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5142 , Tuple.Create(Tuple.Create(" ", 59890), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 5143 5144 #line default 5145 #line hidden 5146 , 59891), false) 5147 , Tuple.Create(Tuple.Create(" ", 59916), Tuple.Create("dw-mod", 59917), true) 5148 ); 5149 5150 WriteLiteralTo(__razor_helper_writer, ">\r\n <input "); 5151 5152 5153 #line 1568 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5154 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 5155 5156 5157 #line default 5158 #line hidden 5159 WriteLiteralTo(__razor_helper_writer, " class=\""); 5160 5161 5162 #line 1568 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5163 WriteTo(__razor_helper_writer, settings.CssClass); 5164 5165 5166 #line default 5167 #line hidden 5168 WriteLiteralTo(__razor_helper_writer, " dw-mod\" />\r\n"); 5169 5170 5171 #line 1569 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5172 5173 5174 #line default 5175 #line hidden 5176 5177 #line 1569 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5178 if (!string.IsNullOrEmpty(settings.Label)) 5179 { 5180 5181 5182 #line default 5183 #line hidden 5184 WriteLiteralTo(__razor_helper_writer, " <label"); 5185 5186 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 60112), Tuple.Create("\"", 60130) 5187 5188 #line 1571 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5189 , Tuple.Create(Tuple.Create("", 60118), Tuple.Create<System.Object, System.Int32>(settings.Id 5190 5191 #line default 5192 #line hidden 5193 , 60118), false) 5194 ); 5195 5196 WriteLiteralTo(__razor_helper_writer, " class=\"dw-mod\""); 5197 5198 WriteLiteralTo(__razor_helper_writer, ">"); 5199 5200 5201 #line 1571 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5202 WriteTo(__razor_helper_writer, settings.Label); 5203 5204 5205 #line default 5206 #line hidden 5207 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 5208 5209 5210 #line 1572 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5211 } 5212 5213 5214 #line default 5215 #line hidden 5216 WriteLiteralTo(__razor_helper_writer, " "); 5217 5218 5219 #line 1573 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5220 if (!string.IsNullOrEmpty(settings.HelpText)) 5221 { 5222 5223 5224 #line default 5225 #line hidden 5226 WriteLiteralTo(__razor_helper_writer, " <small"); 5227 5228 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 5229 5230 WriteLiteralTo(__razor_helper_writer, ">"); 5231 5232 5233 #line 1575 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5234 WriteTo(__razor_helper_writer, settings.HelpText); 5235 5236 5237 #line default 5238 #line hidden 5239 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 5240 5241 5242 #line 1576 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5243 } 5244 5245 5246 #line default 5247 #line hidden 5248 WriteLiteralTo(__razor_helper_writer, " "); 5249 5250 5251 #line 1577 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5252 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 5253 5254 5255 #line default 5256 #line hidden 5257 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5258 5259 5260 #line 1579 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5261 5262 5263 #line default 5264 #line hidden 5265 }); 5266 5267 #line 1579 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5268 } 5269 #line default 5270 #line hidden 5271 5272 5273 #line 1587 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5274 public RazorEngine.Templating.TemplateWriter RenderRadioButtonListField(RadioButtonListField settings) 5275 { 5276 #line default 5277 #line hidden 5278 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5279 5280 #line 1588 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5281 5282 if (settings.Required && !String.IsNullOrEmpty(settings.Label)) { settings.Label += " <span class=\"required dw-mod\">*</span>"; } 5283 5284 5285 5286 #line default 5287 #line hidden 5288 WriteLiteralTo(__razor_helper_writer, " <div"); 5289 5290 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 60786), Tuple.Create("\"", 60860) 5291 , Tuple.Create(Tuple.Create("", 60794), Tuple.Create("form__field-group", 60794), true) 5292 5293 #line 1591 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5294 , Tuple.Create(Tuple.Create(" ", 60811), Tuple.Create<System.Object, System.Int32>(settings.WrapperCssClass 5295 5296 #line default 5297 #line hidden 5298 , 60812), false) 5299 , Tuple.Create(Tuple.Create(" ", 60837), Tuple.Create("u-margin-bottom", 60838), true) 5300 , Tuple.Create(Tuple.Create(" ", 60853), Tuple.Create("dw-mod", 60854), true) 5301 ); 5302 5303 WriteLiteralTo(__razor_helper_writer, " "); 5304 5305 5306 #line 1591 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5307 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5308 5309 5310 #line default 5311 #line hidden 5312 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5313 5314 5315 #line 1592 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5316 5317 5318 #line default 5319 #line hidden 5320 5321 #line 1592 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5322 if (!string.IsNullOrEmpty(settings.Label)) 5323 { 5324 5325 5326 #line default 5327 #line hidden 5328 WriteLiteralTo(__razor_helper_writer, " <label>"); 5329 5330 5331 #line 1594 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5332 WriteTo(__razor_helper_writer, settings.Label); 5333 5334 5335 #line default 5336 #line hidden 5337 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 5338 5339 5340 #line 1595 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5341 } 5342 5343 5344 #line default 5345 #line hidden 5346 WriteLiteralTo(__razor_helper_writer, " "); 5347 5348 5349 #line 1596 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5350 if (!string.IsNullOrEmpty(settings.HelpText)) 5351 { 5352 5353 5354 #line default 5355 #line hidden 5356 WriteLiteralTo(__razor_helper_writer, " <small"); 5357 5358 WriteLiteralTo(__razor_helper_writer, " class=\"form__help-text\""); 5359 5360 WriteLiteralTo(__razor_helper_writer, ">"); 5361 5362 5363 #line 1598 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5364 WriteTo(__razor_helper_writer, settings.HelpText); 5365 5366 5367 #line default 5368 #line hidden 5369 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 5370 5371 5372 #line 1599 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5373 } 5374 5375 5376 #line default 5377 #line hidden 5378 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5379 5380 5381 #line 1601 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5382 5383 5384 #line default 5385 #line hidden 5386 5387 #line 1601 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5388 foreach (var item in settings.Options) 5389 { 5390 if (settings.Required) 5391 { 5392 item.Required = true; 5393 } 5394 if (settings.Disabled) 5395 { 5396 item.Disabled = true; 5397 } 5398 if (!string.IsNullOrEmpty(settings.Name)) 5399 { 5400 item.Name = settings.Name; 5401 } 5402 if (!string.IsNullOrEmpty(settings.Value) && settings.Value == item.Value) 5403 { 5404 item.Checked = true; 5405 } 5406 if (!string.IsNullOrEmpty(settings.OnClick)) 5407 { 5408 item.OnClick += settings.OnClick; 5409 } 5410 if (!string.IsNullOrEmpty(settings.OnChange)) 5411 { 5412 item.OnChange += settings.OnChange; 5413 } 5414 if (!string.IsNullOrEmpty(settings.CssClass)) 5415 { 5416 item.CssClass += settings.CssClass; 5417 } 5418 5419 5420 #line default 5421 #line hidden 5422 5423 #line 1631 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5424 WriteTo(__razor_helper_writer, Render(item)); 5425 5426 5427 #line default 5428 #line hidden 5429 5430 #line 1631 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5431 5432 } 5433 5434 5435 #line default 5436 #line hidden 5437 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5438 5439 WriteLiteralTo(__razor_helper_writer, " "); 5440 5441 5442 #line 1634 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5443 WriteTo(__razor_helper_writer, Render(new NotificationMessage { Message = settings.ErrorMessage })); 5444 5445 5446 #line default 5447 #line hidden 5448 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5449 5450 5451 #line 1636 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5452 5453 5454 #line default 5455 #line hidden 5456 }); 5457 5458 #line 1636 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5459 } 5460 #line default 5461 #line hidden 5462 5463 5464 #line 1644 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5465 public RazorEngine.Templating.TemplateWriter RenderNotificationMessage(NotificationMessage settings) 5466 { 5467 #line default 5468 #line hidden 5469 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5470 5471 #line 1645 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5472 5473 if (!string.IsNullOrEmpty(settings.Message)) 5474 { 5475 var attributes = new Dictionary<string, string>(); 5476 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 5477 5478 string messageTypeClass = Enum.GetName(typeof(NotificationMessageType), settings.MessageType).ToLower(); 5479 5480 5481 #line default 5482 #line hidden 5483 WriteLiteralTo(__razor_helper_writer, " <div"); 5484 5485 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 62849), Tuple.Create("\"", 62919) 5486 , Tuple.Create(Tuple.Create("", 62857), Tuple.Create("field-", 62857), true) 5487 5488 #line 1652 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5489 , Tuple.Create(Tuple.Create("", 62863), Tuple.Create<System.Object, System.Int32>(messageTypeClass 5490 5491 #line default 5492 #line hidden 5493 , 62863), false) 5494 5495 #line 1652 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5496 , Tuple.Create(Tuple.Create(" ", 62880), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5497 5498 #line default 5499 #line hidden 5500 , 62881), false) 5501 , Tuple.Create(Tuple.Create(" ", 62899), Tuple.Create("u-full-width", 62900), true) 5502 , Tuple.Create(Tuple.Create(" ", 62912), Tuple.Create("dw-mod", 62913), true) 5503 ); 5504 5505 WriteLiteralTo(__razor_helper_writer, " "); 5506 5507 5508 #line 1652 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5509 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(attributes)); 5510 5511 5512 #line default 5513 #line hidden 5514 WriteLiteralTo(__razor_helper_writer, ">"); 5515 5516 5517 #line 1652 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5518 WriteTo(__razor_helper_writer, settings.Message); 5519 5520 5521 #line default 5522 #line hidden 5523 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 5524 5525 5526 #line 1653 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5527 } 5528 5529 5530 #line default 5531 #line hidden 5532 }); 5533 5534 #line 1654 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5535 } 5536 #line default 5537 #line hidden 5538 5539 5540 #line 1660 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5541 public RazorEngine.Templating.TemplateWriter RenderHandlebarsRoot(HandlebarsRoot settings) { 5542 #line default 5543 #line hidden 5544 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5545 5546 #line 1660 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5547 5548 string preRender = !String.IsNullOrEmpty(settings.PreRenderScriptTemplate) ? "data-pre-render-template=\"" + settings.PreRenderScriptTemplate + "\"" : ""; 5549 5550 5551 5552 #line default 5553 #line hidden 5554 WriteLiteralTo(__razor_helper_writer, " <div"); 5555 5556 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 63302), Tuple.Create("\"", 63354) 5557 5558 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5559 , Tuple.Create(Tuple.Create("", 63310), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5560 5561 #line default 5562 #line hidden 5563 , 63310), false) 5564 , Tuple.Create(Tuple.Create(" ", 63328), Tuple.Create("dw-mod", 63329), true) 5565 , Tuple.Create(Tuple.Create(" ", 63335), Tuple.Create("js-handlebars-root", 63336), true) 5566 ); 5567 5568 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 63355), Tuple.Create("\"", 63372) 5569 5570 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5571 , Tuple.Create(Tuple.Create("", 63360), Tuple.Create<System.Object, System.Int32>(settings.Id 5572 5573 #line default 5574 #line hidden 5575 , 63360), false) 5576 ); 5577 5578 WriteLiteralTo(__razor_helper_writer, " data-template=\""); 5579 5580 5581 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5582 WriteTo(__razor_helper_writer, settings.ScriptTemplate); 5583 5584 5585 #line default 5586 #line hidden 5587 WriteLiteralTo(__razor_helper_writer, "\""); 5588 5589 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\""); 5590 5591 5592 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5593 WriteTo(__razor_helper_writer, settings.FeedUrl); 5594 5595 5596 #line default 5597 #line hidden 5598 WriteLiteralTo(__razor_helper_writer, "\""); 5599 5600 WriteLiteralTo(__razor_helper_writer, " data-init-onload=\""); 5601 5602 5603 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5604 WriteTo(__razor_helper_writer, settings.InitOnLoad.ToString()); 5605 5606 5607 #line default 5608 #line hidden 5609 WriteLiteralTo(__razor_helper_writer, "\""); 5610 5611 WriteLiteralTo(__razor_helper_writer, " data-preloader=\""); 5612 5613 5614 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5615 WriteTo(__razor_helper_writer, settings.Preloader); 5616 5617 5618 #line default 5619 #line hidden 5620 WriteLiteralTo(__razor_helper_writer, "\""); 5621 5622 WriteLiteralTo(__razor_helper_writer, " "); 5623 5624 5625 #line 1663 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5626 WriteTo(__razor_helper_writer, preRender); 5627 5628 5629 #line default 5630 #line hidden 5631 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5632 5633 5634 #line 1664 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5635 5636 5637 #line default 5638 #line hidden 5639 5640 #line 1664 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5641 if (settings.SubBlocks != null) { 5642 5643 5644 #line default 5645 #line hidden 5646 5647 #line 1665 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5648 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 5649 5650 5651 #line default 5652 #line hidden 5653 5654 #line 1665 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5655 5656 } 5657 5658 5659 #line default 5660 #line hidden 5661 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 5662 5663 5664 #line 1668 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5665 5666 5667 #line default 5668 #line hidden 5669 }); 5670 5671 #line 1668 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5672 } 5673 #line default 5674 #line hidden 5675 5676 5677 #line 1677 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5678 public RazorEngine.Templating.TemplateWriter RenderSticker(Sticker settings) { 5679 #line default 5680 #line hidden 5681 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5682 5683 #line 1677 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5684 5685 if (!String.IsNullOrEmpty(settings.Title)) { 5686 string size = settings.Size.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Size.ToString().ToLower() : ""; 5687 string style = settings.Style.ToString() != "None" ? "" + "stickers-container__tag--" + settings.Style.ToString().ToLower() : ""; 5688 5689 Dictionary<String, String> optionalAttributes = new Dictionary<string, string>(); 5690 if (!String.IsNullOrEmpty(settings.Color) || !String.IsNullOrEmpty(settings.BackgroundColor)) { 5691 string styleTag = !String.IsNullOrEmpty(settings.Color) ? "color: " + settings.Color + "; " : ""; 5692 styleTag += !String.IsNullOrEmpty(settings.BackgroundColor) ? "background-color: " + settings.BackgroundColor + "; " : ""; 5693 optionalAttributes.Add("style", styleTag); 5694 } 5695 5696 5697 5698 #line default 5699 #line hidden 5700 WriteLiteralTo(__razor_helper_writer, " <div"); 5701 5702 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 64749), Tuple.Create("\"", 64819) 5703 , Tuple.Create(Tuple.Create("", 64757), Tuple.Create("stickers-container__tag", 64757), true) 5704 5705 #line 1689 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5706 , Tuple.Create(Tuple.Create(" ", 64780), Tuple.Create<System.Object, System.Int32>(size 5707 5708 #line default 5709 #line hidden 5710 , 64781), false) 5711 5712 #line 1689 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5713 , Tuple.Create(Tuple.Create(" ", 64786), Tuple.Create<System.Object, System.Int32>(style 5714 5715 #line default 5716 #line hidden 5717 , 64787), false) 5718 5719 #line 1689 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5720 , Tuple.Create(Tuple.Create(" ", 64793), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5721 5722 #line default 5723 #line hidden 5724 , 64794), false) 5725 , Tuple.Create(Tuple.Create(" ", 64812), Tuple.Create("dw-mod", 64813), true) 5726 ); 5727 5728 WriteLiteralTo(__razor_helper_writer, " "); 5729 5730 5731 #line 1689 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5732 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 5733 5734 5735 #line default 5736 #line hidden 5737 WriteLiteralTo(__razor_helper_writer, " "); 5738 5739 5740 #line 1689 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5741 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5742 5743 5744 #line default 5745 #line hidden 5746 WriteLiteralTo(__razor_helper_writer, ">"); 5747 5748 5749 #line 1689 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5750 WriteTo(__razor_helper_writer, settings.Title); 5751 5752 5753 #line default 5754 #line hidden 5755 WriteLiteralTo(__razor_helper_writer, "</div> \r\n"); 5756 5757 5758 #line 1690 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5759 } 5760 5761 5762 #line default 5763 #line hidden 5764 }); 5765 5766 #line 1691 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5767 } 5768 #line default 5769 #line hidden 5770 5771 5772 #line 1700 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5773 public RazorEngine.Templating.TemplateWriter RenderStickersCollection(StickersCollection settings) 5774 { 5775 #line default 5776 #line hidden 5777 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5778 5779 #line 1701 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5780 5781 if (settings.Stickers.Count > 0) 5782 { 5783 string position = "stickers-container--" + Regex.Replace(settings.Position.ToString(), "([a-z])([A-Z])", "$1-$2").ToLower(); 5784 5785 5786 5787 #line default 5788 #line hidden 5789 WriteLiteralTo(__razor_helper_writer, " <div"); 5790 5791 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 65374), Tuple.Create("\"", 65436) 5792 , Tuple.Create(Tuple.Create("", 65382), Tuple.Create("stickers-container", 65382), true) 5793 5794 #line 1706 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5795 , Tuple.Create(Tuple.Create(" ", 65400), Tuple.Create<System.Object, System.Int32>(position 5796 5797 #line default 5798 #line hidden 5799 , 65401), false) 5800 5801 #line 1706 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5802 , Tuple.Create(Tuple.Create(" ", 65410), Tuple.Create<System.Object, System.Int32>(settings.CssClass 5803 5804 #line default 5805 #line hidden 5806 , 65411), false) 5807 , Tuple.Create(Tuple.Create(" ", 65429), Tuple.Create("dw-mod", 65430), true) 5808 ); 5809 5810 WriteLiteralTo(__razor_helper_writer, " "); 5811 5812 5813 #line 1706 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5814 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5815 5816 5817 #line default 5818 #line hidden 5819 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5820 5821 5822 #line 1707 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5823 5824 5825 #line default 5826 #line hidden 5827 5828 #line 1707 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5829 foreach (Sticker sticker in settings.Stickers) 5830 { 5831 5832 5833 #line default 5834 #line hidden 5835 5836 #line 1709 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5837 WriteTo(__razor_helper_writer, Render(sticker)); 5838 5839 5840 #line default 5841 #line hidden 5842 5843 #line 1709 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5844 5845 } 5846 5847 5848 #line default 5849 #line hidden 5850 WriteLiteralTo(__razor_helper_writer, " </div> \r\n"); 5851 5852 5853 #line 1712 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5854 } 5855 5856 5857 #line default 5858 #line hidden 5859 }); 5860 5861 #line 1713 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5862 } 5863 #line default 5864 #line hidden 5865 5866 5867 #line 1720 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5868 public RazorEngine.Templating.TemplateWriter RenderForm(Form settings) { 5869 #line default 5870 #line hidden 5871 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5872 5873 #line 1720 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5874 5875 if (settings != null) 5876 { 5877 Dictionary<string, string> optionalAttributes = new Dictionary<string, string>(); 5878 if (!string.IsNullOrEmpty(settings.Action)) { optionalAttributes.Add("action", settings.Action); }; 5879 if (!string.IsNullOrEmpty(settings.Name)) { optionalAttributes.Add("name", settings.Name); }; 5880 if (!string.IsNullOrEmpty(settings.OnSubmit)) { optionalAttributes.Add("onsubmit", settings.OnSubmit); }; 5881 var enctypes = new Dictionary<string, string> 5882 { 5883 { "multipart", "multipart/form-data" }, 5884 { "text", "text/plain" }, 5885 { "application", "application/x-www-form-urlencoded" } 5886 }; 5887 if (settings.Enctype != FormEnctype.none) { optionalAttributes.Add("enctype", enctypes[Enum.GetName(typeof(FormEnctype), settings.Enctype).ToLower()]); }; 5888 optionalAttributes.Add("method", settings.Method.ToString()); 5889 5890 if (!string.IsNullOrEmpty(settings.FormStartMarkup)) 5891 { 5892 5893 5894 #line default 5895 #line hidden 5896 5897 #line 1738 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5898 WriteTo(__razor_helper_writer, settings.FormStartMarkup); 5899 5900 5901 #line default 5902 #line hidden 5903 5904 #line 1738 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5905 5906 } 5907 else 5908 { 5909 5910 5911 #line default 5912 #line hidden 5913 WriteLiteralTo(__razor_helper_writer, " "); 5914 5915 WriteLiteralTo(__razor_helper_writer, "<form class=\""); 5916 5917 5918 #line 1742 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5919 WriteTo(__razor_helper_writer, settings.CssClass); 5920 5921 5922 #line default 5923 #line hidden 5924 WriteLiteralTo(__razor_helper_writer, " u-no-margin dw-mod\" "); 5925 5926 5927 #line 1742 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5928 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(optionalAttributes)); 5929 5930 5931 #line default 5932 #line hidden 5933 WriteLiteralTo(__razor_helper_writer, " "); 5934 5935 5936 #line 1742 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5937 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(settings.ExtraAttributes)); 5938 5939 5940 #line default 5941 #line hidden 5942 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5943 5944 5945 #line 1743 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5946 } 5947 5948 foreach (var field in settings.GetFields()) 5949 { 5950 5951 5952 #line default 5953 #line hidden 5954 5955 #line 1747 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5956 WriteTo(__razor_helper_writer, Render(field)); 5957 5958 5959 #line default 5960 #line hidden 5961 5962 #line 1747 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5963 5964 } 5965 5966 5967 5968 #line default 5969 #line hidden 5970 WriteLiteralTo(__razor_helper_writer, " "); 5971 5972 WriteLiteralTo(__razor_helper_writer, "</form>\r\n"); 5973 5974 5975 #line 1751 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5976 } 5977 5978 5979 #line default 5980 #line hidden 5981 }); 5982 5983 #line 1752 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5984 } 5985 #line default 5986 #line hidden 5987 5988 5989 #line 1760 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5990 public RazorEngine.Templating.TemplateWriter RenderText(Text settings) 5991 { 5992 #line default 5993 #line hidden 5994 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5995 5996 #line 1761 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 5997 5998 5999 6000 #line default 6001 #line hidden 6002 6003 #line 1762 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6004 WriteTo(__razor_helper_writer, settings.Content); 6005 6006 6007 #line default 6008 #line hidden 6009 6010 #line 1762 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6011 6012 6013 6014 #line default 6015 #line hidden 6016 }); 6017 6018 #line 1763 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6019 } 6020 #line default 6021 #line hidden 6022 6023 6024 #line 1771 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6025 public RazorEngine.Templating.TemplateWriter RenderContentModule(ContentModule settings) { 6026 #line default 6027 #line hidden 6028 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6029 6030 #line 1771 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6031 6032 if (!string.IsNullOrEmpty(settings.Content)) 6033 { 6034 6035 6036 #line default 6037 #line hidden 6038 6039 #line 1774 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6040 WriteTo(__razor_helper_writer, settings.Content); 6041 6042 6043 #line default 6044 #line hidden 6045 6046 #line 1774 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6047 6048 } 6049 6050 6051 #line default 6052 #line hidden 6053 }); 6054 6055 #line 1776 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6056 } 6057 #line default 6058 #line hidden 6059 6060 6061 #line 1784 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6062 public RazorEngine.Templating.TemplateWriter RenderModal(Modal settings) { 6063 #line default 6064 #line hidden 6065 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6066 6067 #line 1784 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6068 6069 if (settings != null) 6070 { 6071 string modalId = !string.IsNullOrEmpty(settings.Id) ? settings.Id : Guid.NewGuid().ToString("N"); 6072 6073 string onchange = !string.IsNullOrEmpty(settings.OnClose) ? "onchange=\"if(!this.checked){" + settings.OnClose + "}\"" : ""; 6074 6075 6076 6077 #line default 6078 #line hidden 6079 WriteLiteralTo(__razor_helper_writer, " <input"); 6080 6081 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 6082 6083 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 68163), Tuple.Create("\"", 68190) 6084 6085 #line 1791 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6086 , Tuple.Create(Tuple.Create("", 68168), Tuple.Create<System.Object, System.Int32>(modalId 6087 6088 #line default 6089 #line hidden 6090 , 68168), false) 6091 , Tuple.Create(Tuple.Create("", 68178), Tuple.Create("ModalTrigger", 68178), true) 6092 ); 6093 6094 WriteLiteralTo(__razor_helper_writer, " class=\"modal-trigger\""); 6095 6096 WriteLiteralTo(__razor_helper_writer, " "); 6097 6098 6099 #line 1791 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6100 WriteTo(__razor_helper_writer, onchange); 6101 6102 6103 #line default 6104 #line hidden 6105 WriteLiteralTo(__razor_helper_writer, " />\r\n"); 6106 6107 6108 #line 1792 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6109 6110 6111 6112 #line default 6113 #line hidden 6114 WriteLiteralTo(__razor_helper_writer, " <div"); 6115 6116 WriteLiteralTo(__razor_helper_writer, " class=\"modal-container\""); 6117 6118 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6119 6120 6121 #line 1794 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6122 6123 6124 #line default 6125 #line hidden 6126 6127 #line 1794 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6128 if (!settings.DisableDarkOverlay) 6129 { 6130 6131 6132 #line default 6133 #line hidden 6134 WriteLiteralTo(__razor_helper_writer, " <label"); 6135 6136 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 68354), Tuple.Create("\"", 68382) 6137 6138 #line 1796 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6139 , Tuple.Create(Tuple.Create("", 68360), Tuple.Create<System.Object, System.Int32>(modalId 6140 6141 #line default 6142 #line hidden 6143 , 68360), false) 6144 , Tuple.Create(Tuple.Create("", 68370), Tuple.Create("ModalTrigger", 68370), true) 6145 ); 6146 6147 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 68383), Tuple.Create("\"", 68410) 6148 6149 #line 1796 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6150 , Tuple.Create(Tuple.Create("", 68388), Tuple.Create<System.Object, System.Int32>(modalId 6151 6152 #line default 6153 #line hidden 6154 , 68388), false) 6155 , Tuple.Create(Tuple.Create("", 68398), Tuple.Create("ModalOverlay", 68398), true) 6156 ); 6157 6158 WriteLiteralTo(__razor_helper_writer, " class=\"modal-overlay\""); 6159 6160 WriteLiteralTo(__razor_helper_writer, "></label>\r\n"); 6161 6162 6163 #line 1797 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6164 } 6165 6166 6167 #line default 6168 #line hidden 6169 WriteLiteralTo(__razor_helper_writer, " <div"); 6170 6171 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 68475), Tuple.Create("\"", 68584) 6172 , Tuple.Create(Tuple.Create("", 68483), Tuple.Create("modal", 68483), true) 6173 , Tuple.Create(Tuple.Create(" ", 68488), Tuple.Create("modal--", 68489), true) 6174 6175 #line 1798 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6176 , Tuple.Create(Tuple.Create("", 68496), Tuple.Create<System.Object, System.Int32>(settings.Width.ToString().ToLower() 6177 6178 #line default 6179 #line hidden 6180 , 68496), false) 6181 , Tuple.Create(Tuple.Create(" ", 68532), Tuple.Create("modal-height--", 68533), true) 6182 6183 #line 1798 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6184 , Tuple.Create(Tuple.Create("", 68547), Tuple.Create<System.Object, System.Int32>(settings.Height.ToString().ToLower() 6185 6186 #line default 6187 #line hidden 6188 , 68547), false) 6189 ); 6190 6191 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 68585), Tuple.Create("\"", 68605) 6192 6193 #line 1798 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6194 , Tuple.Create(Tuple.Create("", 68590), Tuple.Create<System.Object, System.Int32>(modalId 6195 6196 #line default 6197 #line hidden 6198 , 68590), false) 6199 , Tuple.Create(Tuple.Create("", 68600), Tuple.Create("Modal", 68600), true) 6200 ); 6201 6202 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6203 6204 6205 #line 1799 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6206 6207 6208 #line default 6209 #line hidden 6210 6211 #line 1799 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6212 if (settings.Heading != null) 6213 { 6214 if (!string.IsNullOrEmpty(settings.Heading.Title)) 6215 { 6216 6217 6218 #line default 6219 #line hidden 6220 WriteLiteralTo(__razor_helper_writer, " <div"); 6221 6222 WriteLiteralTo(__razor_helper_writer, " class=\"modal__header\""); 6223 6224 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6225 6226 WriteLiteralTo(__razor_helper_writer, " "); 6227 6228 6229 #line 1804 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6230 WriteTo(__razor_helper_writer, Render(settings.Heading)); 6231 6232 6233 #line default 6234 #line hidden 6235 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6236 6237 6238 #line 1806 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6239 } 6240 } 6241 6242 6243 #line default 6244 #line hidden 6245 WriteLiteralTo(__razor_helper_writer, " <div"); 6246 6247 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 68973), Tuple.Create("\"", 69068) 6248 , Tuple.Create(Tuple.Create("", 68981), Tuple.Create("modal__body", 68981), true) 6249 6250 #line 1808 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6251 , Tuple.Create(Tuple.Create(" ", 68992), Tuple.Create<System.Object, System.Int32>(settings.Width.ToString().ToLower() == "full" ? "modal__body--full" : "" 6252 6253 #line default 6254 #line hidden 6255 , 68993), false) 6256 ); 6257 6258 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6259 6260 6261 #line 1809 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6262 6263 6264 #line default 6265 #line hidden 6266 6267 #line 1809 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6268 if (!string.IsNullOrEmpty(settings.BodyText)) 6269 { 6270 6271 6272 #line default 6273 #line hidden 6274 6275 #line 1811 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6276 WriteTo(__razor_helper_writer, settings.BodyText); 6277 6278 6279 #line default 6280 #line hidden 6281 6282 #line 1811 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6283 6284 } 6285 6286 6287 #line default 6288 #line hidden 6289 WriteLiteralTo(__razor_helper_writer, " "); 6290 6291 6292 #line 1813 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6293 if (settings.BodyTemplate != null) 6294 { 6295 6296 6297 #line default 6298 #line hidden 6299 6300 #line 1815 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6301 WriteTo(__razor_helper_writer, settings.BodyTemplate); 6302 6303 6304 #line default 6305 #line hidden 6306 6307 #line 1815 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6308 6309 } 6310 6311 6312 #line default 6313 #line hidden 6314 WriteLiteralTo(__razor_helper_writer, " "); 6315 6316 6317 #line 1817 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6318 6319 var actions = settings.GetActions(); 6320 6321 6322 #line default 6323 #line hidden 6324 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6325 6326 6327 #line 1821 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6328 6329 6330 #line default 6331 #line hidden 6332 6333 #line 1821 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6334 if (actions.Length > 0) 6335 { 6336 6337 6338 #line default 6339 #line hidden 6340 WriteLiteralTo(__razor_helper_writer, " <div"); 6341 6342 WriteLiteralTo(__razor_helper_writer, " class=\"modal__footer\""); 6343 6344 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6345 6346 6347 #line 1824 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6348 6349 6350 #line default 6351 #line hidden 6352 6353 #line 1824 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6354 foreach (var action in actions) 6355 { 6356 action.CssClass += " u-no-margin"; 6357 6358 6359 #line default 6360 #line hidden 6361 6362 #line 1827 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6363 WriteTo(__razor_helper_writer, Render(action)); 6364 6365 6366 #line default 6367 #line hidden 6368 6369 #line 1827 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6370 6371 } 6372 6373 6374 #line default 6375 #line hidden 6376 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6377 6378 6379 #line 1830 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6380 } 6381 6382 6383 #line default 6384 #line hidden 6385 WriteLiteralTo(__razor_helper_writer, " <label"); 6386 6387 WriteLiteralTo(__razor_helper_writer, " class=\"modal__close-btn\""); 6388 6389 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 69939), Tuple.Create("\"", 69967) 6390 6391 #line 1831 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6392 , Tuple.Create(Tuple.Create("", 69945), Tuple.Create<System.Object, System.Int32>(modalId 6393 6394 #line default 6395 #line hidden 6396 , 69945), false) 6397 , Tuple.Create(Tuple.Create("", 69955), Tuple.Create("ModalTrigger", 69955), true) 6398 ); 6399 6400 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 6401 6402 6403 #line 1834 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6404 } 6405 6406 6407 #line default 6408 #line hidden 6409 }); 6410 6411 #line 1835 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6412 } 6413 #line default 6414 #line hidden 6415 6416 6417 #line 1840 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6418 public RazorEngine.Templating.TemplateWriter RenderMediaListItem(MediaListItem settings) 6419 { 6420 #line default 6421 #line hidden 6422 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6423 6424 #line 1841 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6425 6426 6427 6428 #line default 6429 #line hidden 6430 WriteLiteralTo(__razor_helper_writer, " <div"); 6431 6432 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 70163), Tuple.Create("\"", 70212) 6433 , Tuple.Create(Tuple.Create("", 70171), Tuple.Create("media-list-item", 70171), true) 6434 6435 #line 1842 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6436 , Tuple.Create(Tuple.Create(" ", 70186), Tuple.Create<System.Object, System.Int32>(settings.CssClass 6437 6438 #line default 6439 #line hidden 6440 , 70187), false) 6441 , Tuple.Create(Tuple.Create(" ", 70205), Tuple.Create("dw-mod", 70206), true) 6442 ); 6443 6444 WriteLiteralTo(__razor_helper_writer, " "); 6445 6446 6447 #line 1842 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6448 WriteTo(__razor_helper_writer, !string.IsNullOrEmpty(settings.Id) ? "id=\"" + settings.Id + "\"" : ""); 6449 6450 6451 #line default 6452 #line hidden 6453 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6454 6455 6456 #line 1843 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6457 6458 6459 #line default 6460 #line hidden 6461 6462 #line 1843 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6463 if (!string.IsNullOrEmpty(settings.Label)) 6464 { 6465 if (!string.IsNullOrEmpty(settings.Link)) 6466 { 6467 6468 6469 #line default 6470 #line hidden 6471 6472 #line 1847 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6473 WriteTo(__razor_helper_writer, Render(new Link 6474 { 6475 Href = settings.Link, 6476 CssClass = "media-list-item__sticker dw-mod", 6477 ButtonLayout = ButtonLayout.None, 6478 Title = settings.Label, 6479 OnClick = !string.IsNullOrEmpty(settings.OnClick) ? settings.OnClick : "" 6480 })); 6481 6482 6483 #line default 6484 #line hidden 6485 6486 #line 1854 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6487 6488 } 6489 else if (!string.IsNullOrEmpty(settings.OnClick)) 6490 { 6491 6492 6493 #line default 6494 #line hidden 6495 WriteLiteralTo(__razor_helper_writer, " <span"); 6496 6497 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__sticker dw-mod\""); 6498 6499 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 70956), Tuple.Create("\"", 70985) 6500 6501 #line 1858 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6502 , Tuple.Create(Tuple.Create("", 70966), Tuple.Create<System.Object, System.Int32>(settings.OnClick 6503 6504 #line default 6505 #line hidden 6506 , 70966), false) 6507 ); 6508 6509 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 6510 6511 WriteLiteralTo(__razor_helper_writer, " class=\"u-uppercase\""); 6512 6513 WriteLiteralTo(__razor_helper_writer, ">"); 6514 6515 6516 #line 1859 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6517 WriteTo(__razor_helper_writer, settings.Label); 6518 6519 6520 #line default 6521 #line hidden 6522 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </span>\r\n"); 6523 6524 6525 #line 1861 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6526 } 6527 else 6528 { 6529 6530 6531 #line default 6532 #line hidden 6533 WriteLiteralTo(__razor_helper_writer, " <span"); 6534 6535 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__sticker media-list-item__sticker--no-link dw-mod\""); 6536 6537 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 6538 6539 WriteLiteralTo(__razor_helper_writer, " class=\"u-uppercase\""); 6540 6541 WriteLiteralTo(__razor_helper_writer, ">"); 6542 6543 6544 #line 1865 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6545 WriteTo(__razor_helper_writer, settings.Label); 6546 6547 6548 #line default 6549 #line hidden 6550 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </span>\r\n"); 6551 6552 6553 #line 1867 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6554 } 6555 } 6556 6557 6558 #line default 6559 #line hidden 6560 WriteLiteralTo(__razor_helper_writer, " <div"); 6561 6562 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__wrap\""); 6563 6564 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6565 6566 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__info dw-mod\""); 6567 6568 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6569 6570 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__header dw-mod\""); 6571 6572 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6573 6574 6575 #line 1872 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6576 6577 6578 #line default 6579 #line hidden 6580 6581 #line 1872 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6582 if (!string.IsNullOrEmpty(settings.Title)) 6583 { 6584 if (!string.IsNullOrEmpty(settings.Link)) 6585 { 6586 6587 6588 #line default 6589 #line hidden 6590 6591 #line 1876 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6592 WriteTo(__razor_helper_writer, Render(new Link 6593 { 6594 Href = settings.Link, 6595 CssClass = "media-list-item__name dw-mod", 6596 ButtonLayout = ButtonLayout.None, 6597 Title = settings.Title, 6598 OnClick = !string.IsNullOrEmpty(settings.OnClick) ? settings.OnClick : "" 6599 })); 6600 6601 6602 #line default 6603 #line hidden 6604 6605 #line 1883 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6606 6607 } 6608 else if (!string.IsNullOrEmpty(settings.OnClick)) 6609 { 6610 6611 6612 #line default 6613 #line hidden 6614 WriteLiteralTo(__razor_helper_writer, " <span"); 6615 6616 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__name dw-mod\""); 6617 6618 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 72366), Tuple.Create("\"", 72395) 6619 6620 #line 1887 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6621 , Tuple.Create(Tuple.Create("", 72376), Tuple.Create<System.Object, System.Int32>(settings.OnClick 6622 6623 #line default 6624 #line hidden 6625 , 72376), false) 6626 ); 6627 6628 WriteLiteralTo(__razor_helper_writer, ">"); 6629 6630 6631 #line 1887 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6632 WriteTo(__razor_helper_writer, settings.Title); 6633 6634 6635 #line default 6636 #line hidden 6637 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6638 6639 6640 #line 1888 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6641 } 6642 else 6643 { 6644 6645 6646 #line default 6647 #line hidden 6648 WriteLiteralTo(__razor_helper_writer, " <span"); 6649 6650 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__name media-list-item__name--no-link dw-mod\""); 6651 6652 WriteLiteralTo(__razor_helper_writer, ">"); 6653 6654 6655 #line 1891 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6656 WriteTo(__razor_helper_writer, settings.Title); 6657 6658 6659 #line default 6660 #line hidden 6661 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6662 6663 6664 #line 1892 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6665 } 6666 } 6667 6668 6669 #line default 6670 #line hidden 6671 WriteLiteralTo(__razor_helper_writer, "\r\n"); 6672 6673 6674 #line 1895 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6675 6676 6677 #line default 6678 #line hidden 6679 6680 #line 1895 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6681 if (!string.IsNullOrEmpty(settings.Status)) 6682 { 6683 6684 6685 #line default 6686 #line hidden 6687 WriteLiteralTo(__razor_helper_writer, " <div"); 6688 6689 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__state dw-mod\""); 6690 6691 WriteLiteralTo(__razor_helper_writer, ">"); 6692 6693 6694 #line 1897 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6695 WriteTo(__razor_helper_writer, settings.Status); 6696 6697 6698 #line default 6699 #line hidden 6700 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 6701 6702 6703 #line 1898 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6704 } 6705 6706 6707 #line default 6708 #line hidden 6709 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6710 6711 6712 #line 1900 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6713 6714 6715 #line default 6716 #line hidden 6717 6718 #line 1900 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6719 6720 settings.InfoTable.CssClass += " media-list-item__parameters-table"; 6721 6722 6723 #line default 6724 #line hidden 6725 WriteLiteralTo(__razor_helper_writer, "\r\n \r\n"); 6726 6727 WriteLiteralTo(__razor_helper_writer, " "); 6728 6729 6730 #line 1904 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6731 WriteTo(__razor_helper_writer, Render(settings.InfoTable)); 6732 6733 6734 #line default 6735 #line hidden 6736 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 6737 6738 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__actions dw-mod\""); 6739 6740 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6741 6742 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__actions-list dw-mod\""); 6743 6744 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6745 6746 6747 #line 1908 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6748 6749 6750 #line default 6751 #line hidden 6752 6753 #line 1908 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6754 6755 var actions = settings.GetActions(); 6756 6757 foreach (ButtonBase action in actions) 6758 { 6759 action.ButtonLayout = ButtonLayout.None; 6760 action.CssClass += " media-list-item__action link"; 6761 6762 6763 6764 #line default 6765 #line hidden 6766 6767 #line 1916 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6768 WriteTo(__razor_helper_writer, Render(action)); 6769 6770 6771 #line default 6772 #line hidden 6773 6774 #line 1916 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6775 6776 } 6777 6778 6779 #line default 6780 #line hidden 6781 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n\r\n"); 6782 6783 6784 #line 1921 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6785 6786 6787 #line default 6788 #line hidden 6789 6790 #line 1921 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6791 if (settings.SelectButton != null && !string.IsNullOrEmpty(settings.SelectButton.Title)) 6792 { 6793 settings.SelectButton.CssClass += " u-no-margin"; 6794 6795 6796 6797 #line default 6798 #line hidden 6799 WriteLiteralTo(__razor_helper_writer, " <div"); 6800 6801 WriteLiteralTo(__razor_helper_writer, " class=\"media-list-item__action-button\""); 6802 6803 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6804 6805 WriteLiteralTo(__razor_helper_writer, " "); 6806 6807 6808 #line 1926 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6809 WriteTo(__razor_helper_writer, Render(settings.SelectButton)); 6810 6811 6812 #line default 6813 #line hidden 6814 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 6815 6816 6817 #line 1928 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6818 } 6819 6820 6821 #line default 6822 #line hidden 6823 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </div>\r\n"); 6824 6825 6826 #line 1932 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6827 6828 6829 #line default 6830 #line hidden 6831 }); 6832 6833 #line 1932 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6834 } 6835 #line default 6836 #line hidden 6837 6838 6839 #line 1936 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6840 public RazorEngine.Templating.TemplateWriter RenderTable(Table settings) 6841 { 6842 #line default 6843 #line hidden 6844 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6845 6846 #line 1937 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6847 6848 Dictionary<string, string> attributes = new Dictionary<string, string>(); 6849 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 6850 6851 var enumToClasses = new Dictionary<TableDesign, string> 6852 { 6853 { TableDesign.Clean, "table--clean" }, 6854 { TableDesign.Bordered, "table--bordered" }, 6855 { TableDesign.Striped, "table--striped" }, 6856 { TableDesign.Hover, "table--hover" }, 6857 { TableDesign.Compact, "table--compact" }, 6858 { TableDesign.Condensed, "table--condensed" }, 6859 { TableDesign.NoTopBorder, "table--no-top-border" } 6860 }; 6861 string tableDesignClass = ""; 6862 if (settings.Design != TableDesign.None) 6863 { 6864 tableDesignClass = enumToClasses[settings.Design]; 6865 } 6866 6867 if (!string.IsNullOrEmpty(settings.CssClass) || settings.Design != TableDesign.None) { attributes.Add("class", "table " + tableDesignClass + " " + settings.CssClass + " dw-mod"); } 6868 6869 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 6870 6871 6872 6873 #line default 6874 #line hidden 6875 WriteLiteralTo(__razor_helper_writer, " <table "); 6876 6877 6878 #line 1961 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6879 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 6880 6881 6882 #line default 6883 #line hidden 6884 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6885 6886 6887 #line 1962 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6888 6889 6890 #line default 6891 #line hidden 6892 6893 #line 1962 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6894 if (settings.Header != null) 6895 { 6896 6897 6898 #line default 6899 #line hidden 6900 WriteLiteralTo(__razor_helper_writer, " <thead>\r\n"); 6901 6902 WriteLiteralTo(__razor_helper_writer, " "); 6903 6904 6905 #line 1965 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6906 WriteTo(__razor_helper_writer, Render(settings.Header)); 6907 6908 6909 #line default 6910 #line hidden 6911 WriteLiteralTo(__razor_helper_writer, "\r\n </thead>\r\n"); 6912 6913 6914 #line 1967 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6915 } 6916 6917 6918 #line default 6919 #line hidden 6920 WriteLiteralTo(__razor_helper_writer, " <tbody>\r\n"); 6921 6922 6923 #line 1969 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6924 6925 6926 #line default 6927 #line hidden 6928 6929 #line 1969 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6930 foreach (var row in settings.Rows) 6931 { 6932 6933 6934 #line default 6935 #line hidden 6936 6937 #line 1971 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6938 WriteTo(__razor_helper_writer, Render(row)); 6939 6940 6941 #line default 6942 #line hidden 6943 6944 #line 1971 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6945 6946 } 6947 6948 6949 #line default 6950 #line hidden 6951 WriteLiteralTo(__razor_helper_writer, " </tbody>\r\n"); 6952 6953 6954 #line 1974 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6955 6956 6957 #line default 6958 #line hidden 6959 6960 #line 1974 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6961 if (settings.Footer != null) 6962 { 6963 6964 6965 #line default 6966 #line hidden 6967 WriteLiteralTo(__razor_helper_writer, " <tfoot>\r\n"); 6968 6969 WriteLiteralTo(__razor_helper_writer, " "); 6970 6971 6972 #line 1977 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6973 WriteTo(__razor_helper_writer, Render(settings.Footer)); 6974 6975 6976 #line default 6977 #line hidden 6978 WriteLiteralTo(__razor_helper_writer, "\r\n </tfoot>\r\n"); 6979 6980 6981 #line 1979 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6982 } 6983 6984 6985 #line default 6986 #line hidden 6987 WriteLiteralTo(__razor_helper_writer, " </table>\r\n"); 6988 6989 6990 #line 1981 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6991 6992 6993 #line default 6994 #line hidden 6995 }); 6996 6997 #line 1981 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 6998 } 6999 #line default 7000 #line hidden 7001 7002 7003 #line 1985 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7004 public RazorEngine.Templating.TemplateWriter RenderTableRow(TableRow settings) 7005 { 7006 #line default 7007 #line hidden 7008 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7009 7010 #line 1986 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7011 7012 Dictionary<string, string> attributes = new Dictionary<string, string>(); 7013 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 7014 7015 var enumToClasses = new Dictionary<TableRowDesign, string> 7016 { 7017 { TableRowDesign.NoBorder, "table__row--no-border" }, 7018 { TableRowDesign.Border, "table__row--border" }, 7019 { TableRowDesign.TopBorder, "table__row--top-line" }, 7020 { TableRowDesign.BottomBorder, "table__row--bottom-line" }, 7021 { TableRowDesign.Solid, "table__row--solid" } 7022 }; 7023 7024 string tableRowDesignClass = ""; 7025 if (settings.Design != TableRowDesign.None) 7026 { 7027 tableRowDesignClass = enumToClasses[settings.Design]; 7028 } 7029 7030 if (!string.IsNullOrEmpty(settings.CssClass) || settings.Design != TableRowDesign.None) { attributes.Add("class", "table__row " + tableRowDesignClass + " " + settings.CssClass + " dw-mod"); } 7031 7032 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 7033 7034 7035 7036 #line default 7037 #line hidden 7038 WriteLiteralTo(__razor_helper_writer, " <tr "); 7039 7040 7041 #line 2009 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7042 WriteTo(__razor_helper_writer, ComponentMethods.AddAttributes(resultAttributes)); 7043 7044 7045 #line default 7046 #line hidden 7047 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7048 7049 7050 #line 2010 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7051 7052 7053 #line default 7054 #line hidden 7055 7056 #line 2010 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7057 foreach (var cell in settings.Cells) 7058 { 7059 if (settings.IsHeaderRow) 7060 { 7061 cell.IsHeader = true; 7062 } 7063 7064 7065 #line default 7066 #line hidden 7067 7068 #line 2016 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7069 WriteTo(__razor_helper_writer, Render(cell)); 7070 7071 7072 #line default 7073 #line hidden 7074 7075 #line 2016 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7076 7077 } 7078 7079 7080 #line default 7081 #line hidden 7082 WriteLiteralTo(__razor_helper_writer, " </tr>\r\n"); 7083 7084 7085 #line 2019 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7086 7087 7088 #line default 7089 #line hidden 7090 }); 7091 7092 #line 2019 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7093 } 7094 #line default 7095 #line hidden 7096 7097 7098 #line 2024 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7099 public RazorEngine.Templating.TemplateWriter RenderTableCell(TableCell settings) 7100 { 7101 #line default 7102 #line hidden 7103 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7104 7105 #line 2025 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7106 7107 Dictionary<string, string> attributes = new Dictionary<string, string>(); 7108 if (!string.IsNullOrEmpty(settings.Id)) { attributes.Add("id", settings.Id); } 7109 if (settings.Colspan != 0) { attributes.Add("colspan", Converter.ToString(settings.Colspan)); } 7110 if (settings.Rowspan != 0) { attributes.Add("rowspan", Converter.ToString(settings.Rowspan)); } 7111 if (!string.IsNullOrEmpty(settings.CssClass)) { attributes.Add("class", settings.CssClass + " dw-mod"); } 7112 7113 var resultAttributes = attributes.Concat(settings.ExtraAttributes).GroupBy(d => d.Key).ToDictionary(d => d.Key, d => d.Last().Value); 7114 7115 string tagName = settings.IsHeader ? "th" : "td"; 7116 7117 7118 7119 #line default 7120 #line hidden 7121 7122 #line 2036 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7123 WriteTo(__razor_helper_writer, "<" + tagName + " " + ComponentMethods.AddAttributes(resultAttributes) + ">"); 7124 7125 7126 #line default 7127 #line hidden 7128 7129 #line 2036 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7130 7131 7132 7133 #line default 7134 #line hidden 7135 7136 #line 2037 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7137 WriteTo(__razor_helper_writer, settings.Content); 7138 7139 7140 #line default 7141 #line hidden 7142 7143 #line 2037 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7144 7145 7146 7147 #line default 7148 #line hidden 7149 7150 #line 2038 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7151 WriteTo(__razor_helper_writer, "</" + tagName + ">"); 7152 7153 7154 #line default 7155 #line hidden 7156 7157 #line 2038 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7158 ; 7159 7160 7161 #line default 7162 #line hidden 7163 }); 7164 7165 #line 2039 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7166 } 7167 #line default 7168 #line hidden 7169 7170 7171 #line 2045 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7172 public RazorEngine.Templating.TemplateWriter RenderPagination(Dynamicweb.Rapido.Blocks.Components.General.Pagination settings) 7173 { 7174 #line default 7175 #line hidden 7176 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7177 7178 #line 2046 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7179 7180 var pageNumberQueryStringName = Dynamicweb.Rapido.Services.Pagination.GetPageNumberQueryStringName(settings); // Get the proper 'page number' query string parameter 7181 var queryParameters = Dynamicweb.Rapido.Services.Url.GetQueryParameters(pageNumberQueryStringName); // Get the NameValueCollection from the querystring 7182 7183 if (settings.NumberOfPages > 1) 7184 { 7185 string url = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + "/Default.aspx"; 7186 string ariaLabel = !string.IsNullOrWhiteSpace(settings.AriaLabel) ? settings.AriaLabel : Translate("Page navigation"); 7187 Dictionary<string, int> startAndEndPageNumber = Dynamicweb.Rapido.Services.Pagination.GetStartAndEndPageNumber(settings); 7188 7189 7190 7191 #line default 7192 #line hidden 7193 WriteLiteralTo(__razor_helper_writer, " <div"); 7194 7195 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 79314), Tuple.Create("\"", 79366) 7196 , Tuple.Create(Tuple.Create("", 79322), Tuple.Create("pager", 79322), true) 7197 , Tuple.Create(Tuple.Create(" ", 79327), Tuple.Create("u-margin-top", 79328), true) 7198 , Tuple.Create(Tuple.Create(" ", 79340), Tuple.Create("dw-mod", 79341), true) 7199 7200 #line 2056 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7201 , Tuple.Create(Tuple.Create(" ", 79347), Tuple.Create<System.Object, System.Int32>(settings.CssClass 7202 7203 #line default 7204 #line hidden 7205 , 79348), false) 7206 ); 7207 7208 WriteAttributeTo(__razor_helper_writer, "aria-label", Tuple.Create(" aria-label=\"", 79367), Tuple.Create("\"", 79390) 7209 7210 #line 2056 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7211 , Tuple.Create(Tuple.Create("", 79380), Tuple.Create<System.Object, System.Int32>(ariaLabel 7212 7213 #line default 7214 #line hidden 7215 , 79380), false) 7216 ); 7217 7218 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7219 7220 7221 #line 2057 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7222 7223 7224 #line default 7225 #line hidden 7226 7227 #line 2057 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7228 if (settings.ShowPagingInfo) 7229 { 7230 7231 7232 #line default 7233 #line hidden 7234 WriteLiteralTo(__razor_helper_writer, " <div"); 7235 7236 WriteLiteralTo(__razor_helper_writer, " class=\"pager__info dw-mod\""); 7237 7238 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7239 7240 WriteLiteralTo(__razor_helper_writer, " "); 7241 7242 7243 #line 2060 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7244 WriteTo(__razor_helper_writer, Translate("Page")); 7245 7246 7247 #line default 7248 #line hidden 7249 WriteLiteralTo(__razor_helper_writer, " "); 7250 7251 7252 #line 2060 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7253 WriteTo(__razor_helper_writer, settings.CurrentPageNumber); 7254 7255 7256 #line default 7257 #line hidden 7258 WriteLiteralTo(__razor_helper_writer, " "); 7259 7260 7261 #line 2060 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7262 WriteTo(__razor_helper_writer, Translate("of")); 7263 7264 7265 #line default 7266 #line hidden 7267 WriteLiteralTo(__razor_helper_writer, " "); 7268 7269 7270 #line 2060 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7271 WriteTo(__razor_helper_writer, settings.NumberOfPages); 7272 7273 7274 #line default 7275 #line hidden 7276 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7277 7278 7279 #line 2062 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7280 } 7281 7282 7283 #line default 7284 #line hidden 7285 WriteLiteralTo(__razor_helper_writer, " <ul"); 7286 7287 WriteLiteralTo(__razor_helper_writer, " class=\"pager__list dw-mod\""); 7288 7289 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7290 7291 7292 #line 2064 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7293 7294 7295 #line default 7296 #line hidden 7297 7298 #line 2064 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7299 if (!string.IsNullOrWhiteSpace(settings.FirstPageUrl) && settings.ShowFirstAndLastControls) 7300 { 7301 7302 7303 #line default 7304 #line hidden 7305 7306 #line 2066 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7307 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.FirstPageUrl, Icon = settings.FirstIcon })); 7308 7309 7310 #line default 7311 #line hidden 7312 7313 #line 2066 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7314 7315 } 7316 7317 7318 #line default 7319 #line hidden 7320 WriteLiteralTo(__razor_helper_writer, " "); 7321 7322 7323 #line 2068 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7324 if (!string.IsNullOrWhiteSpace(settings.PreviousPageUrl) && settings.ShowNextAndPrevControls) 7325 { 7326 7327 7328 #line default 7329 #line hidden 7330 7331 #line 2070 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7332 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.PreviousPageUrl, Icon = settings.PrevIcon })); 7333 7334 7335 #line default 7336 #line hidden 7337 7338 #line 2070 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7339 7340 } 7341 7342 7343 #line default 7344 #line hidden 7345 WriteLiteralTo(__razor_helper_writer, " "); 7346 7347 7348 #line 2072 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7349 if (settings.GetPages().Any()) 7350 { 7351 foreach (var page in settings.GetPages()) 7352 { 7353 7354 7355 #line default 7356 #line hidden 7357 7358 #line 2076 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7359 WriteTo(__razor_helper_writer, Render(page)); 7360 7361 7362 #line default 7363 #line hidden 7364 7365 #line 2076 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7366 7367 } 7368 } 7369 else 7370 { 7371 for (var page = startAndEndPageNumber["StartPage"]; page <= startAndEndPageNumber["EndPage"]; page++) 7372 { 7373 queryParameters = Dynamicweb.Rapido.Services.Url.UpdateQueryStringParameter(queryParameters, pageNumberQueryStringName, page.ToString()); 7374 7375 7376 #line default 7377 #line hidden 7378 7379 #line 2084 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7380 WriteTo(__razor_helper_writer, Render(new PaginationItem { Label = page.ToString(), Link = Dynamicweb.Rapido.Services.Url.BuildUri(url, queryParameters).PathAndQuery, IsActive = (settings.CurrentPageNumber == page) })); 7381 7382 7383 #line default 7384 #line hidden 7385 7386 #line 2084 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7387 ; 7388 } 7389 } 7390 7391 7392 #line default 7393 #line hidden 7394 WriteLiteralTo(__razor_helper_writer, " "); 7395 7396 7397 #line 2087 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7398 if (!string.IsNullOrWhiteSpace(settings.NextPageUrl) && settings.ShowNextAndPrevControls) 7399 { 7400 7401 7402 #line default 7403 #line hidden 7404 7405 #line 2089 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7406 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.NextPageUrl, Icon = settings.NextIcon })); 7407 7408 7409 #line default 7410 #line hidden 7411 7412 #line 2089 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7413 7414 } 7415 7416 7417 #line default 7418 #line hidden 7419 WriteLiteralTo(__razor_helper_writer, " "); 7420 7421 7422 #line 2091 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7423 if (!string.IsNullOrWhiteSpace(settings.LastPageUrl) && settings.ShowFirstAndLastControls) 7424 { 7425 7426 7427 #line default 7428 #line hidden 7429 7430 #line 2093 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7431 WriteTo(__razor_helper_writer, Render(new PaginationItem { Link = settings.LastPageUrl, Icon = settings.LastIcon })); 7432 7433 7434 #line default 7435 #line hidden 7436 7437 #line 2093 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7438 7439 } 7440 7441 7442 #line default 7443 #line hidden 7444 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n </div>\r\n"); 7445 7446 7447 #line 2097 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7448 } 7449 7450 7451 #line default 7452 #line hidden 7453 }); 7454 7455 #line 2098 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7456 } 7457 #line default 7458 #line hidden 7459 7460 7461 #line 2100 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7462 public RazorEngine.Templating.TemplateWriter RenderPaginationItem(PaginationItem settings) 7463 { 7464 #line default 7465 #line hidden 7466 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7467 7468 #line 2101 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7469 7470 if (settings.Icon == null) 7471 { 7472 settings.Icon = new Icon(); 7473 } 7474 7475 settings.Icon.Label = settings.Label; 7476 7477 7478 #line default 7479 #line hidden 7480 WriteLiteralTo(__razor_helper_writer, " <li"); 7481 7482 WriteLiteralTo(__razor_helper_writer, " class=\"pager__btn dw-mod\""); 7483 7484 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7485 7486 7487 #line 2109 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7488 7489 7490 #line default 7491 #line hidden 7492 7493 #line 2109 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7494 if (settings.IsActive) 7495 { 7496 7497 7498 #line default 7499 #line hidden 7500 WriteLiteralTo(__razor_helper_writer, " <span"); 7501 7502 WriteLiteralTo(__razor_helper_writer, " class=\"pager__num pager__num--current dw-mod\""); 7503 7504 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7505 7506 WriteLiteralTo(__razor_helper_writer, " "); 7507 7508 7509 #line 2112 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7510 WriteTo(__razor_helper_writer, Render(settings.Icon)); 7511 7512 7513 #line default 7514 #line hidden 7515 WriteLiteralTo(__razor_helper_writer, "\r\n </span>\r\n"); 7516 7517 7518 #line 2114 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7519 } 7520 else 7521 { 7522 7523 7524 #line default 7525 #line hidden 7526 WriteLiteralTo(__razor_helper_writer, " <a"); 7527 7528 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 82051), Tuple.Create("\"", 82072) 7529 7530 #line 2117 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7531 , Tuple.Create(Tuple.Create("", 82058), Tuple.Create<System.Object, System.Int32>(settings.Link 7532 7533 #line default 7534 #line hidden 7535 , 82058), false) 7536 ); 7537 7538 WriteLiteralTo(__razor_helper_writer, " class=\"pager__num dw-mod\""); 7539 7540 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7541 7542 WriteLiteralTo(__razor_helper_writer, " "); 7543 7544 7545 #line 2118 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7546 WriteTo(__razor_helper_writer, Render(settings.Icon)); 7547 7548 7549 #line default 7550 #line hidden 7551 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 7552 7553 7554 #line 2120 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7555 } 7556 7557 7558 #line default 7559 #line hidden 7560 WriteLiteralTo(__razor_helper_writer, " </li>\r\n"); 7561 7562 7563 #line 2122 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7564 7565 7566 #line default 7567 #line hidden 7568 }); 7569 7570 #line 2122 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7571 } 7572 #line default 7573 #line hidden 7574 7575 7576 #line 2144 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7577 public RazorEngine.Templating.TemplateWriter RenderArticleBanner(dynamic settings) { 7578 #line default 7579 #line hidden 7580 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7581 7582 #line 2144 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7583 7584 string filterClasses = "image-filter image-filter--darken"; 7585 settings.Layout = ArticleHeaderLayout.Banner; 7586 7587 if (settings.Image != null) 7588 { 7589 if (settings.Image.Path != null) 7590 { 7591 7592 7593 #line default 7594 #line hidden 7595 WriteLiteralTo(__razor_helper_writer, " <section"); 7596 7597 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 7598 "th\""); 7599 7600 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7601 7602 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 83095), Tuple.Create("\"", 83141) 7603 , Tuple.Create(Tuple.Create("", 83103), Tuple.Create("background-image", 83103), true) 7604 7605 #line 2153 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7606 , Tuple.Create(Tuple.Create(" ", 83119), Tuple.Create<System.Object, System.Int32>(filterClasses 7607 7608 #line default 7609 #line hidden 7610 , 83120), false) 7611 , Tuple.Create(Tuple.Create(" ", 83134), Tuple.Create("dw-mod", 83135), true) 7612 ); 7613 7614 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7615 7616 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 83169), Tuple.Create("\"", 83224) 7617 , Tuple.Create(Tuple.Create("", 83177), Tuple.Create("background-image__wrapper", 83177), true) 7618 7619 #line 2154 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7620 , Tuple.Create(Tuple.Create(" ", 83202), Tuple.Create<System.Object, System.Int32>(filterClasses 7621 7622 #line default 7623 #line hidden 7624 , 83203), false) 7625 , Tuple.Create(Tuple.Create(" ", 83217), Tuple.Create("dw-mod", 83218), true) 7626 ); 7627 7628 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7629 7630 7631 #line 2155 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7632 7633 7634 #line default 7635 #line hidden 7636 7637 #line 2155 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7638 7639 settings.Image.CssClass += "background-image__cover dw-mod"; 7640 7641 7642 #line default 7643 #line hidden 7644 WriteLiteralTo(__razor_helper_writer, "\r\n"); 7645 7646 WriteLiteralTo(__razor_helper_writer, " "); 7647 7648 7649 #line 2158 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7650 WriteTo(__razor_helper_writer, Render(settings.Image)); 7651 7652 7653 #line default 7654 #line hidden 7655 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n <div"); 7656 7657 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 7658 7659 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7660 7661 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 7662 7663 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7664 7665 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-8 grid__col-xs-12 paragraph-container paragraph-container--h" + 7666 "eight-lg\""); 7667 7668 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7669 7670 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle\""); 7671 7672 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n"); 7673 7674 7675 #line 2166 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7676 7677 7678 #line default 7679 #line hidden 7680 7681 #line 2166 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7682 if (!String.IsNullOrEmpty(settings.Heading)) 7683 { 7684 7685 7686 #line default 7687 #line hidden 7688 WriteLiteralTo(__razor_helper_writer, " <h1"); 7689 7690 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 7691 7692 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 84006), Tuple.Create("\"", 84040) 7693 , Tuple.Create(Tuple.Create("", 84014), Tuple.Create("color:", 84014), true) 7694 7695 #line 2168 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7696 , Tuple.Create(Tuple.Create(" ", 84020), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7697 7698 #line default 7699 #line hidden 7700 , 84021), false) 7701 ); 7702 7703 WriteLiteralTo(__razor_helper_writer, ">"); 7704 7705 7706 #line 2168 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7707 WriteTo(__razor_helper_writer, settings.Heading); 7708 7709 7710 #line default 7711 #line hidden 7712 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 7713 7714 7715 #line 2169 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7716 } 7717 7718 7719 #line default 7720 #line hidden 7721 WriteLiteralTo(__razor_helper_writer, " "); 7722 7723 7724 #line 2170 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7725 if (!String.IsNullOrEmpty(settings.Subheading)) 7726 { 7727 7728 7729 #line default 7730 #line hidden 7731 WriteLiteralTo(__razor_helper_writer, " <div"); 7732 7733 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 7734 7735 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 84307), Tuple.Create("\"", 84341) 7736 , Tuple.Create(Tuple.Create("", 84315), Tuple.Create("color:", 84315), true) 7737 7738 #line 2172 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7739 , Tuple.Create(Tuple.Create(" ", 84321), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7740 7741 #line default 7742 #line hidden 7743 , 84322), false) 7744 ); 7745 7746 WriteLiteralTo(__razor_helper_writer, ">"); 7747 7748 7749 #line 2172 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7750 WriteTo(__razor_helper_writer, settings.Subheading); 7751 7752 7753 #line default 7754 #line hidden 7755 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7756 7757 7758 #line 2173 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7759 } 7760 7761 7762 #line default 7763 #line hidden 7764 WriteLiteralTo(__razor_helper_writer, " "); 7765 7766 7767 #line 2174 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7768 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 7769 { 7770 7771 7772 #line default 7773 #line hidden 7774 WriteLiteralTo(__razor_helper_writer, " <small"); 7775 7776 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-margin-bottom--lg dw-mod\""); 7777 7778 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 84671), Tuple.Create("\"", 84705) 7779 , Tuple.Create(Tuple.Create("", 84679), Tuple.Create("color:", 84679), true) 7780 7781 #line 2176 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7782 , Tuple.Create(Tuple.Create(" ", 84685), Tuple.Create<System.Object, System.Int32>(settings.TextColor 7783 7784 #line default 7785 #line hidden 7786 , 84686), false) 7787 ); 7788 7789 WriteLiteralTo(__razor_helper_writer, ">"); 7790 7791 7792 #line 2176 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7793 WriteTo(__razor_helper_writer, settings.Author); 7794 7795 7796 #line default 7797 #line hidden 7798 WriteLiteralTo(__razor_helper_writer, " "); 7799 7800 7801 #line 2176 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7802 WriteTo(__razor_helper_writer, settings.Date); 7803 7804 7805 #line default 7806 #line hidden 7807 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 7808 7809 7810 #line 2177 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7811 } 7812 7813 7814 #line default 7815 #line hidden 7816 WriteLiteralTo(__razor_helper_writer, " "); 7817 7818 7819 #line 2178 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7820 if (!String.IsNullOrEmpty(settings.Link)) { 7821 7822 7823 #line default 7824 #line hidden 7825 WriteLiteralTo(__razor_helper_writer, " <div"); 7826 7827 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 7828 7829 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7830 7831 WriteLiteralTo(__razor_helper_writer, " "); 7832 7833 7834 #line 2180 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7835 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 7836 7837 7838 #line default 7839 #line hidden 7840 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7841 7842 7843 #line 2182 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7844 } 7845 7846 7847 #line default 7848 #line hidden 7849 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 7850 " </div>\r\n"); 7851 7852 7853 #line 2186 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7854 7855 7856 #line default 7857 #line hidden 7858 7859 #line 2186 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7860 if (settings.ExternalParagraphId != 0) 7861 { 7862 7863 7864 #line default 7865 #line hidden 7866 WriteLiteralTo(__razor_helper_writer, " <div"); 7867 7868 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 7869 "aph-container--height-auto dw-mod\""); 7870 7871 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 7872 7873 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light-gray--bg u-color-dark dw-mod\""); 7874 7875 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7876 7877 WriteLiteralTo(__razor_helper_writer, " "); 7878 7879 7880 #line 2190 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7881 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 7882 7883 7884 #line default 7885 #line hidden 7886 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div> \r\n"); 7887 7888 7889 #line 2193 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7890 } 7891 7892 7893 #line default 7894 #line hidden 7895 WriteLiteralTo(__razor_helper_writer, " \r\n </div>\r\n </div>\r\n " + 7896 " </section>\r\n"); 7897 7898 7899 #line 2198 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7900 if (!String.IsNullOrEmpty(settings.Image.Caption)) { 7901 7902 7903 #line default 7904 #line hidden 7905 WriteLiteralTo(__razor_helper_writer, " <div"); 7906 7907 WriteLiteralTo(__razor_helper_writer, " class=\"image-caption dw-mod\""); 7908 7909 WriteLiteralTo(__razor_helper_writer, ">"); 7910 7911 7912 #line 2199 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7913 WriteTo(__razor_helper_writer, settings.Image.Caption); 7914 7915 7916 #line default 7917 #line hidden 7918 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 7919 7920 7921 #line 2200 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7922 } 7923 } 7924 else 7925 { 7926 settings.Layout = ArticleHeaderLayout.Clean; 7927 7928 7929 #line default 7930 #line hidden 7931 7932 #line 2205 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7933 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 7934 7935 7936 #line default 7937 #line hidden 7938 7939 #line 2205 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7940 ; 7941 } 7942 } 7943 else 7944 { 7945 settings.Layout = ArticleHeaderLayout.Clean; 7946 7947 7948 #line default 7949 #line hidden 7950 7951 #line 2211 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7952 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 7953 7954 7955 #line default 7956 #line hidden 7957 7958 #line 2211 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7959 ; 7960 } 7961 7962 7963 #line default 7964 #line hidden 7965 }); 7966 7967 #line 2213 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7968 } 7969 #line default 7970 #line hidden 7971 7972 7973 #line 2223 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7974 public RazorEngine.Templating.TemplateWriter RenderArticleHeader(ArticleHeader settings) { 7975 #line default 7976 #line hidden 7977 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 7978 7979 #line 2223 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7980 7981 dynamic[] methodParameters = new dynamic[1]; 7982 methodParameters[0] = settings; 7983 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleHeaderCustom"); 7984 7985 if (customMethod != null) 7986 { 7987 7988 7989 #line default 7990 #line hidden 7991 7992 #line 2230 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 7993 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 7994 7995 7996 #line default 7997 #line hidden 7998 7999 #line 2230 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8000 ; 8001 } else { 8002 switch (settings.Layout) 8003 { 8004 case ArticleHeaderLayout.Clean: 8005 8006 8007 #line default 8008 #line hidden 8009 8010 #line 2235 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8011 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8012 8013 8014 #line default 8015 #line hidden 8016 8017 #line 2235 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8018 ; 8019 break; 8020 case ArticleHeaderLayout.Split: 8021 8022 8023 #line default 8024 #line hidden 8025 8026 #line 2238 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8027 WriteTo(__razor_helper_writer, RenderArticleSplitHeader(settings)); 8028 8029 8030 #line default 8031 #line hidden 8032 8033 #line 2238 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8034 ; 8035 break; 8036 case ArticleHeaderLayout.Banner: 8037 8038 8039 #line default 8040 #line hidden 8041 8042 #line 2241 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8043 WriteTo(__razor_helper_writer, RenderArticleBannerHeader(settings)); 8044 8045 8046 #line default 8047 #line hidden 8048 8049 #line 2241 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8050 ; 8051 break; 8052 case ArticleHeaderLayout.Overlay: 8053 8054 8055 #line default 8056 #line hidden 8057 8058 #line 2244 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8059 WriteTo(__razor_helper_writer, RenderArticleOverlayHeader(settings)); 8060 8061 8062 #line default 8063 #line hidden 8064 8065 #line 2244 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8066 ; 8067 break; 8068 default: 8069 8070 8071 #line default 8072 #line hidden 8073 8074 #line 2247 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8075 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8076 8077 8078 #line default 8079 #line hidden 8080 8081 #line 2247 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8082 ; 8083 break; 8084 } 8085 } 8086 8087 8088 #line default 8089 #line hidden 8090 }); 8091 8092 #line 2251 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8093 } 8094 #line default 8095 #line hidden 8096 8097 8098 #line 2253 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8099 public RazorEngine.Templating.TemplateWriter RenderArticleCleanHeader(ArticleHeader settings) { 8100 #line default 8101 #line hidden 8102 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8103 8104 #line 2253 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8105 8106 dynamic[] methodParameters = new dynamic[1]; 8107 methodParameters[0] = settings; 8108 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleCleanHeaderCustom"); 8109 8110 if (customMethod != null) 8111 { 8112 8113 8114 #line default 8115 #line hidden 8116 8117 #line 2260 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8118 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8119 8120 8121 #line default 8122 #line hidden 8123 8124 #line 2260 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8125 ; 8126 } 8127 else 8128 { 8129 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 8130 8131 8132 8133 #line default 8134 #line hidden 8135 WriteLiteralTo(__razor_helper_writer, " <div"); 8136 8137 WriteLiteralTo(__razor_helper_writer, " class=\"grid grid--align-content-start grid--justify-start\""); 8138 8139 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8140 8141 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 88234), Tuple.Create("\"", 88307) 8142 , Tuple.Create(Tuple.Create("", 88242), Tuple.Create("grid__col-md-", 88242), true) 8143 8144 #line 2267 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8145 , Tuple.Create(Tuple.Create("", 88255), Tuple.Create<System.Object, System.Int32>(contentColumns 8146 8147 #line default 8148 #line hidden 8149 , 88255), false) 8150 , Tuple.Create(Tuple.Create(" ", 88270), Tuple.Create("grid__col-sm-12", 88271), true) 8151 , Tuple.Create(Tuple.Create(" ", 88286), Tuple.Create("u-padding--lg", 88287), true) 8152 , Tuple.Create(Tuple.Create(" ", 88300), Tuple.Create("dw-mod", 88301), true) 8153 ); 8154 8155 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8156 8157 8158 #line 2268 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8159 8160 8161 #line default 8162 #line hidden 8163 8164 #line 2268 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8165 if (!String.IsNullOrEmpty(settings.Category) || !String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date) || settings.RatingOutOf != 0) 8166 { 8167 8168 8169 #line default 8170 #line hidden 8171 WriteLiteralTo(__razor_helper_writer, " <div"); 8172 8173 WriteLiteralTo(__razor_helper_writer, " class=\"u-border-bottom u-padding-bottom\""); 8174 8175 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8176 8177 8178 #line 2271 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8179 8180 8181 #line default 8182 #line hidden 8183 8184 #line 2271 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8185 if (!String.IsNullOrEmpty(settings.Category)) 8186 { 8187 8188 8189 #line default 8190 #line hidden 8191 WriteLiteralTo(__razor_helper_writer, " <div"); 8192 8193 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--left\""); 8194 8195 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8196 8197 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 8198 8199 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 88797), Tuple.Create("\"", 88835) 8200 , Tuple.Create(Tuple.Create("", 88805), Tuple.Create("color:", 88805), true) 8201 8202 #line 2274 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8203 , Tuple.Create(Tuple.Create(" ", 88811), Tuple.Create<System.Object, System.Int32>(settings.CategoryColor 8204 8205 #line default 8206 #line hidden 8207 , 88812), false) 8208 ); 8209 8210 WriteLiteralTo(__razor_helper_writer, ">"); 8211 8212 8213 #line 2274 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8214 WriteTo(__razor_helper_writer, settings.Category); 8215 8216 8217 #line default 8218 #line hidden 8219 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 8220 8221 8222 #line 2276 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8223 } 8224 8225 8226 #line default 8227 #line hidden 8228 WriteLiteralTo(__razor_helper_writer, " <div"); 8229 8230 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 8231 8232 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8233 8234 8235 #line 2278 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8236 8237 8238 #line default 8239 #line hidden 8240 8241 #line 2278 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8242 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 8243 { 8244 8245 8246 #line default 8247 #line hidden 8248 WriteLiteralTo(__razor_helper_writer, " <small"); 8249 8250 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info dw-mod\""); 8251 8252 WriteLiteralTo(__razor_helper_writer, ">"); 8253 8254 8255 #line 2280 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8256 WriteTo(__razor_helper_writer, settings.Author); 8257 8258 8259 #line default 8260 #line hidden 8261 WriteLiteralTo(__razor_helper_writer, " "); 8262 8263 8264 #line 2280 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8265 WriteTo(__razor_helper_writer, settings.Date); 8266 8267 8268 #line default 8269 #line hidden 8270 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 8271 8272 8273 #line 2281 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8274 } 8275 8276 8277 #line default 8278 #line hidden 8279 WriteLiteralTo(__razor_helper_writer, " "); 8280 8281 8282 #line 2282 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8283 if (settings.RatingOutOf != 0) 8284 { 8285 8286 8287 #line default 8288 #line hidden 8289 8290 #line 2284 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8291 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 8292 8293 8294 #line default 8295 #line hidden 8296 8297 #line 2284 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8298 8299 } 8300 8301 8302 #line default 8303 #line hidden 8304 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 8305 8306 8307 #line 2288 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8308 } 8309 8310 8311 #line default 8312 #line hidden 8313 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 8314 8315 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 8316 8317 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8318 8319 8320 #line 2291 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8321 8322 8323 #line default 8324 #line hidden 8325 8326 #line 2291 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8327 if (!String.IsNullOrEmpty(settings.Heading)) 8328 { 8329 8330 8331 #line default 8332 #line hidden 8333 WriteLiteralTo(__razor_helper_writer, " <h1"); 8334 8335 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 8336 8337 WriteLiteralTo(__razor_helper_writer, ">"); 8338 8339 8340 #line 2293 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8341 WriteTo(__razor_helper_writer, settings.Heading); 8342 8343 8344 #line default 8345 #line hidden 8346 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 8347 8348 8349 #line 2294 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8350 } 8351 8352 8353 #line default 8354 #line hidden 8355 WriteLiteralTo(__razor_helper_writer, " "); 8356 8357 8358 #line 2295 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8359 if (settings.Image != null) 8360 { 8361 if (settings.Image.Path != null) 8362 { 8363 8364 8365 #line default 8366 #line hidden 8367 WriteLiteralTo(__razor_helper_writer, " <div"); 8368 8369 WriteLiteralTo(__razor_helper_writer, " class=\"u-padding-bottom--lg\""); 8370 8371 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8372 8373 WriteLiteralTo(__razor_helper_writer, " "); 8374 8375 8376 #line 2300 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8377 WriteTo(__razor_helper_writer, Render(settings.Image)); 8378 8379 8380 #line default 8381 #line hidden 8382 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8383 8384 8385 #line 2302 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8386 } 8387 } 8388 8389 8390 #line default 8391 #line hidden 8392 WriteLiteralTo(__razor_helper_writer, " "); 8393 8394 8395 #line 2304 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8396 if (!String.IsNullOrEmpty(settings.Subheading)) 8397 { 8398 8399 8400 #line default 8401 #line hidden 8402 WriteLiteralTo(__razor_helper_writer, " <div"); 8403 8404 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 8405 8406 WriteLiteralTo(__razor_helper_writer, ">"); 8407 8408 8409 #line 2306 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8410 WriteTo(__razor_helper_writer, settings.Subheading); 8411 8412 8413 #line default 8414 #line hidden 8415 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8416 8417 8418 #line 2307 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8419 } 8420 8421 8422 #line default 8423 #line hidden 8424 WriteLiteralTo(__razor_helper_writer, " "); 8425 8426 8427 #line 2308 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8428 if (!String.IsNullOrEmpty(settings.Link)) 8429 { 8430 8431 8432 #line default 8433 #line hidden 8434 WriteLiteralTo(__razor_helper_writer, " <div"); 8435 8436 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 8437 8438 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8439 8440 WriteLiteralTo(__razor_helper_writer, " "); 8441 8442 8443 #line 2311 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8444 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 8445 8446 8447 #line default 8448 #line hidden 8449 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8450 8451 8452 #line 2313 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8453 } 8454 8455 8456 #line default 8457 #line hidden 8458 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 8459 8460 8461 #line 2316 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8462 8463 8464 #line default 8465 #line hidden 8466 8467 #line 2316 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8468 if (settings.ExternalParagraphId != 0) 8469 { 8470 8471 8472 #line default 8473 #line hidden 8474 WriteLiteralTo(__razor_helper_writer, " <div"); 8475 8476 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 u-padding--lg u-color-light-gray--bg dw-mo" + 8477 "d\""); 8478 8479 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8480 8481 WriteLiteralTo(__razor_helper_writer, " "); 8482 8483 8484 #line 2319 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8485 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 8486 8487 8488 #line default 8489 #line hidden 8490 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8491 8492 8493 #line 2321 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8494 } 8495 8496 8497 #line default 8498 #line hidden 8499 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 8500 8501 8502 #line 2323 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8503 } 8504 8505 8506 #line default 8507 #line hidden 8508 }); 8509 8510 #line 2324 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8511 } 8512 #line default 8513 #line hidden 8514 8515 8516 #line 2326 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8517 public RazorEngine.Templating.TemplateWriter RenderArticleSplitHeader(ArticleHeader settings) { 8518 #line default 8519 #line hidden 8520 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8521 8522 #line 2326 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8523 8524 dynamic[] methodParameters = new dynamic[1]; 8525 methodParameters[0] = settings; 8526 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleSplitHeaderCustom"); 8527 8528 if (customMethod != null) 8529 { 8530 8531 8532 #line default 8533 #line hidden 8534 8535 #line 2333 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8536 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8537 8538 8539 #line default 8540 #line hidden 8541 8542 #line 2333 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8543 ; 8544 } 8545 else 8546 { 8547 string headerColumnWidth = settings.ExternalParagraphId != 0 ? "4" : "6"; 8548 8549 if (settings.Image != null) 8550 { 8551 if (settings.Image.Path != null) 8552 { 8553 8554 8555 #line default 8556 #line hidden 8557 WriteLiteralTo(__razor_helper_writer, " <section"); 8558 8559 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container paragraph-container--full-width\""); 8560 8561 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8562 8563 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 8564 8565 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8566 8567 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 91839), Tuple.Create("\"", 91968) 8568 , Tuple.Create(Tuple.Create("", 91847), Tuple.Create("grid__col-md-", 91847), true) 8569 8570 #line 2345 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8571 , Tuple.Create(Tuple.Create("", 91860), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 8572 8573 #line default 8574 #line hidden 8575 , 91860), false) 8576 , Tuple.Create(Tuple.Create(" ", 91878), Tuple.Create("grid__col-sm-12", 91879), true) 8577 , Tuple.Create(Tuple.Create(" ", 91894), Tuple.Create("grid__col-xs-12", 91895), true) 8578 , Tuple.Create(Tuple.Create(" ", 91910), Tuple.Create("paragraph-container", 91911), true) 8579 , Tuple.Create(Tuple.Create(" ", 91930), Tuple.Create("paragraph-container--height-xl", 91931), true) 8580 , Tuple.Create(Tuple.Create(" ", 91961), Tuple.Create("dw-mod", 91962), true) 8581 ); 8582 8583 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8584 8585 WriteLiteralTo(__razor_helper_writer, " class=\"u-left-middle u-padding--lg\""); 8586 8587 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n"); 8588 8589 8590 #line 2348 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8591 8592 8593 #line default 8594 #line hidden 8595 8596 #line 2348 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8597 if (!String.IsNullOrEmpty(settings.Category)) 8598 { 8599 8600 8601 #line default 8602 #line hidden 8603 WriteLiteralTo(__razor_helper_writer, " <div"); 8604 8605 WriteLiteralTo(__razor_helper_writer, " class=\"article__category dw-mod\""); 8606 8607 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 92282), Tuple.Create("\"", 92320) 8608 , Tuple.Create(Tuple.Create("", 92290), Tuple.Create("color:", 92290), true) 8609 8610 #line 2350 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8611 , Tuple.Create(Tuple.Create(" ", 92296), Tuple.Create<System.Object, System.Int32>(settings.CategoryColor 8612 8613 #line default 8614 #line hidden 8615 , 92297), false) 8616 ); 8617 8618 WriteLiteralTo(__razor_helper_writer, ">"); 8619 8620 8621 #line 2350 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8622 WriteTo(__razor_helper_writer, settings.Category); 8623 8624 8625 #line default 8626 #line hidden 8627 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8628 8629 8630 #line 2351 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8631 } 8632 8633 8634 #line default 8635 #line hidden 8636 WriteLiteralTo(__razor_helper_writer, " "); 8637 8638 8639 #line 2352 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8640 if (!String.IsNullOrEmpty(settings.Heading)) 8641 { 8642 8643 8644 #line default 8645 #line hidden 8646 WriteLiteralTo(__razor_helper_writer, " <h1"); 8647 8648 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant dw-mod\""); 8649 8650 WriteLiteralTo(__razor_helper_writer, ">"); 8651 8652 8653 #line 2354 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8654 WriteTo(__razor_helper_writer, settings.Heading); 8655 8656 8657 #line default 8658 #line hidden 8659 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 8660 8661 8662 #line 2355 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8663 } 8664 8665 8666 #line default 8667 #line hidden 8668 WriteLiteralTo(__razor_helper_writer, " "); 8669 8670 8671 #line 2356 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8672 if (!String.IsNullOrEmpty(settings.Subheading)) 8673 { 8674 8675 8676 #line default 8677 #line hidden 8678 WriteLiteralTo(__razor_helper_writer, " <div"); 8679 8680 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 8681 8682 WriteLiteralTo(__razor_helper_writer, ">"); 8683 8684 8685 #line 2358 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8686 WriteTo(__razor_helper_writer, settings.Subheading); 8687 8688 8689 #line default 8690 #line hidden 8691 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 8692 8693 8694 #line 2359 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8695 } 8696 8697 8698 #line default 8699 #line hidden 8700 WriteLiteralTo(__razor_helper_writer, " "); 8701 8702 8703 #line 2360 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8704 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 8705 { 8706 8707 8708 #line default 8709 #line hidden 8710 WriteLiteralTo(__razor_helper_writer, " <small"); 8711 8712 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 8713 8714 WriteLiteralTo(__razor_helper_writer, ">"); 8715 8716 8717 #line 2362 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8718 WriteTo(__razor_helper_writer, settings.Author); 8719 8720 8721 #line default 8722 #line hidden 8723 WriteLiteralTo(__razor_helper_writer, " "); 8724 8725 8726 #line 2362 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8727 WriteTo(__razor_helper_writer, settings.Date); 8728 8729 8730 #line default 8731 #line hidden 8732 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 8733 8734 8735 #line 2363 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8736 } 8737 8738 8739 #line default 8740 #line hidden 8741 WriteLiteralTo(__razor_helper_writer, " "); 8742 8743 8744 #line 2364 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8745 if (settings.RatingOutOf != 0) 8746 { 8747 8748 8749 #line default 8750 #line hidden 8751 WriteLiteralTo(__razor_helper_writer, " <div"); 8752 8753 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 8754 8755 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8756 8757 WriteLiteralTo(__razor_helper_writer, " "); 8758 8759 8760 #line 2367 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8761 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 8762 8763 8764 #line default 8765 #line hidden 8766 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8767 8768 8769 #line 2369 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8770 } 8771 8772 8773 #line default 8774 #line hidden 8775 WriteLiteralTo(__razor_helper_writer, " "); 8776 8777 8778 #line 2370 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8779 if (!String.IsNullOrEmpty(settings.Link)) { 8780 8781 8782 #line default 8783 #line hidden 8784 WriteLiteralTo(__razor_helper_writer, " <div"); 8785 8786 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-pull--left u-margin-top\""); 8787 8788 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8789 8790 WriteLiteralTo(__razor_helper_writer, " "); 8791 8792 8793 #line 2372 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8794 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 8795 8796 8797 #line default 8798 #line hidden 8799 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 8800 8801 8802 #line 2374 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8803 } 8804 8805 8806 #line default 8807 #line hidden 8808 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 8809 " </div>\r\n <div"); 8810 8811 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 94219), Tuple.Create("\"", 94350) 8812 , Tuple.Create(Tuple.Create("", 94227), Tuple.Create("grid__col-md-", 94227), true) 8813 8814 #line 2378 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8815 , Tuple.Create(Tuple.Create("", 94240), Tuple.Create<System.Object, System.Int32>(headerColumnWidth 8816 8817 #line default 8818 #line hidden 8819 , 94240), false) 8820 , Tuple.Create(Tuple.Create(" ", 94258), Tuple.Create("grid__col-sm-12", 94259), true) 8821 , Tuple.Create(Tuple.Create(" ", 94274), Tuple.Create("grid__col-xs-12", 94275), true) 8822 , Tuple.Create(Tuple.Create(" ", 94290), Tuple.Create("paragraph-container", 94291), true) 8823 , Tuple.Create(Tuple.Create(" ", 94310), Tuple.Create("paragraph-container--height-auto", 94311), true) 8824 , Tuple.Create(Tuple.Create(" ", 94343), Tuple.Create("dw-mod", 94344), true) 8825 ); 8826 8827 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 94351), Tuple.Create("\"", 94579) 8828 , Tuple.Create(Tuple.Create("", 94359), Tuple.Create("background-image:url(/Admin/Public/GetImage.ashx?width=1800&amp;height=1100&amp;c" + 8829 "rop=0&amp;Compression=85&amp;DoNotUpscale=true&amp;image=", 94359), true) 8830 8831 #line 2378 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8832 , Tuple.Create(Tuple.Create("", 94497), Tuple.Create<System.Object, System.Int32>(settings.Image.Path 8833 8834 #line default 8835 #line hidden 8836 , 94497), false) 8837 , Tuple.Create(Tuple.Create("", 94517), Tuple.Create(");", 94517), true) 8838 , Tuple.Create(Tuple.Create(" ", 94519), Tuple.Create("background-position:", 94520), true) 8839 , Tuple.Create(Tuple.Create(" ", 94540), Tuple.Create("center", 94541), true) 8840 , Tuple.Create(Tuple.Create(" ", 94547), Tuple.Create("center;", 94548), true) 8841 , Tuple.Create(Tuple.Create(" ", 94555), Tuple.Create("background-size:", 94556), true) 8842 , Tuple.Create(Tuple.Create(" ", 94572), Tuple.Create("cover;", 94573), true) 8843 ); 8844 8845 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 8846 8847 8848 #line 2379 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8849 8850 8851 #line default 8852 #line hidden 8853 8854 #line 2379 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8855 if (settings.ExternalParagraphId != 0) 8856 { 8857 8858 8859 #line default 8860 #line hidden 8861 WriteLiteralTo(__razor_helper_writer, " <div"); 8862 8863 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-4 grid__col-sm-12 grid__col-xs-12 paragraph-container paragr" + 8864 "aph-container--height-auto u-color-light-gray--bg dw-mod\""); 8865 8866 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8867 8868 WriteLiteralTo(__razor_helper_writer, " "); 8869 8870 8871 #line 2382 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8872 WriteTo(__razor_helper_writer, RenderParagraphContent(settings.ExternalParagraphId)); 8873 8874 8875 #line default 8876 #line hidden 8877 WriteLiteralTo(__razor_helper_writer, "\r\n </div> \r\n"); 8878 8879 8880 #line 2384 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8881 } 8882 8883 8884 #line default 8885 #line hidden 8886 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </section>\r\n"); 8887 8888 8889 #line 2387 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8890 } 8891 } 8892 else 8893 { 8894 8895 8896 #line default 8897 #line hidden 8898 8899 #line 2391 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8900 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 8901 8902 8903 #line default 8904 #line hidden 8905 8906 #line 2391 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8907 ; 8908 } 8909 } 8910 8911 8912 #line default 8913 #line hidden 8914 }); 8915 8916 #line 2394 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8917 } 8918 #line default 8919 #line hidden 8920 8921 8922 #line 2396 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8923 public RazorEngine.Templating.TemplateWriter RenderArticleOverlayHeader(ArticleHeader settings) { 8924 #line default 8925 #line hidden 8926 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 8927 8928 #line 2396 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8929 8930 dynamic[] methodParameters = new dynamic[1]; 8931 methodParameters[0] = settings; 8932 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleOverlayHeaderCustom"); 8933 8934 if (customMethod != null) 8935 { 8936 8937 8938 #line default 8939 #line hidden 8940 8941 #line 2403 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8942 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 8943 8944 8945 #line default 8946 #line hidden 8947 8948 #line 2403 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8949 ; 8950 } 8951 else 8952 { 8953 string contentColumns = settings.TextLayout != ArticleHeaderTextLayout.Full ? "8" : "12"; 8954 string contentAlignment = settings.TextLayout == ArticleHeaderTextLayout.Center ? "grid--justify-center" : ""; 8955 8956 if (settings.Image != null) 8957 { 8958 if (settings.Image.Path != null) 8959 { 8960 if (settings.ExternalParagraphId == 0) 8961 { 8962 8963 8964 #line default 8965 #line hidden 8966 WriteLiteralTo(__razor_helper_writer, " <section"); 8967 8968 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light paragraph-container--full-wid" + 8969 "th\""); 8970 8971 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8972 8973 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter image-filter--darken dw-mod\""); 8974 8975 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 8976 8977 WriteLiteralTo(__razor_helper_writer, " class=\"background-image__wrapper image-filter image-filter--darken dw-mod\""); 8978 8979 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 8980 8981 8982 #line 2419 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8983 8984 8985 #line default 8986 #line hidden 8987 8988 #line 2419 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 8989 8990 settings.Image.CssClass += "background-image__cover dw-mod"; 8991 8992 8993 #line default 8994 #line hidden 8995 WriteLiteralTo(__razor_helper_writer, "\r\n"); 8996 8997 WriteLiteralTo(__razor_helper_writer, " "); 8998 8999 9000 #line 2422 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9001 WriteTo(__razor_helper_writer, Render(settings.Image)); 9002 9003 9004 #line default 9005 #line hidden 9006 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 9007 " <div"); 9008 9009 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 9010 9011 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9012 9013 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 96678), Tuple.Create("\"", 96708) 9014 , Tuple.Create(Tuple.Create("", 96686), Tuple.Create("grid", 96686), true) 9015 9016 #line 2426 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9017 , Tuple.Create(Tuple.Create(" ", 96690), Tuple.Create<System.Object, System.Int32>(contentAlignment 9018 9019 #line default 9020 #line hidden 9021 , 96691), false) 9022 ); 9023 9024 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9025 9026 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 96748), Tuple.Create("\"", 96871) 9027 , Tuple.Create(Tuple.Create("", 96756), Tuple.Create("grid__col-md-", 96756), true) 9028 9029 #line 2427 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9030 , Tuple.Create(Tuple.Create("", 96769), Tuple.Create<System.Object, System.Int32>(contentColumns 9031 9032 #line default 9033 #line hidden 9034 , 96769), false) 9035 , Tuple.Create(Tuple.Create(" ", 96784), Tuple.Create("grid__col-xs-12", 96785), true) 9036 , Tuple.Create(Tuple.Create(" ", 96800), Tuple.Create("paragraph-container", 96801), true) 9037 , Tuple.Create(Tuple.Create(" ", 96820), Tuple.Create("paragraph-container--height-xl", 96821), true) 9038 , Tuple.Create(Tuple.Create(" ", 96851), Tuple.Create("u-no-padding", 96852), true) 9039 , Tuple.Create(Tuple.Create(" ", 96864), Tuple.Create("dw-mod", 96865), true) 9040 ); 9041 9042 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9043 9044 9045 #line 2428 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9046 9047 9048 #line default 9049 #line hidden 9050 9051 #line 2428 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9052 if (!String.IsNullOrEmpty(settings.Heading)) 9053 { 9054 9055 9056 #line default 9057 #line hidden 9058 WriteLiteralTo(__razor_helper_writer, " <h1"); 9059 9060 WriteLiteralTo(__razor_helper_writer, " class=\"article__header article__header--giant u-padding-top--lg dw-mod\""); 9061 9062 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 97112), Tuple.Create("\"", 97146) 9063 , Tuple.Create(Tuple.Create("", 97120), Tuple.Create("color:", 97120), true) 9064 9065 #line 2430 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9066 , Tuple.Create(Tuple.Create(" ", 97126), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9067 9068 #line default 9069 #line hidden 9070 , 97127), false) 9071 ); 9072 9073 WriteLiteralTo(__razor_helper_writer, ">"); 9074 9075 9076 #line 2430 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9077 WriteTo(__razor_helper_writer, settings.Heading); 9078 9079 9080 #line default 9081 #line hidden 9082 WriteLiteralTo(__razor_helper_writer, "</h1>\r\n"); 9083 9084 9085 #line 2431 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9086 } 9087 9088 9089 #line default 9090 #line hidden 9091 WriteLiteralTo(__razor_helper_writer, " "); 9092 9093 9094 #line 2432 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9095 if (!String.IsNullOrEmpty(settings.Subheading)) 9096 { 9097 9098 9099 #line default 9100 #line hidden 9101 WriteLiteralTo(__razor_helper_writer, " <div"); 9102 9103 WriteLiteralTo(__razor_helper_writer, " class=\"article__leadtext dw-mod\""); 9104 9105 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 97413), Tuple.Create("\"", 97447) 9106 , Tuple.Create(Tuple.Create("", 97421), Tuple.Create("color:", 97421), true) 9107 9108 #line 2434 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9109 , Tuple.Create(Tuple.Create(" ", 97427), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9110 9111 #line default 9112 #line hidden 9113 , 97428), false) 9114 ); 9115 9116 WriteLiteralTo(__razor_helper_writer, ">"); 9117 9118 9119 #line 2434 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9120 WriteTo(__razor_helper_writer, settings.Subheading); 9121 9122 9123 #line default 9124 #line hidden 9125 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9126 9127 9128 #line 2435 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9129 } 9130 9131 9132 #line default 9133 #line hidden 9134 WriteLiteralTo(__razor_helper_writer, " <div"); 9135 9136 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top\""); 9137 9138 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9139 9140 9141 #line 2437 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9142 9143 9144 #line default 9145 #line hidden 9146 9147 #line 2437 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9148 if (!String.IsNullOrEmpty(settings.Author) || !String.IsNullOrEmpty(settings.Date)) 9149 { 9150 9151 9152 #line default 9153 #line hidden 9154 WriteLiteralTo(__razor_helper_writer, " <small"); 9155 9156 WriteLiteralTo(__razor_helper_writer, " class=\"article__post-info u-pull--left dw-mod\""); 9157 9158 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 97846), Tuple.Create("\"", 97880) 9159 , Tuple.Create(Tuple.Create("", 97854), Tuple.Create("color:", 97854), true) 9160 9161 #line 2439 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9162 , Tuple.Create(Tuple.Create(" ", 97860), Tuple.Create<System.Object, System.Int32>(settings.TextColor 9163 9164 #line default 9165 #line hidden 9166 , 97861), false) 9167 ); 9168 9169 WriteLiteralTo(__razor_helper_writer, ">"); 9170 9171 9172 #line 2439 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9173 WriteTo(__razor_helper_writer, settings.Author); 9174 9175 9176 #line default 9177 #line hidden 9178 WriteLiteralTo(__razor_helper_writer, " "); 9179 9180 9181 #line 2439 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9182 WriteTo(__razor_helper_writer, settings.Date); 9183 9184 9185 #line default 9186 #line hidden 9187 WriteLiteralTo(__razor_helper_writer, "</small>\r\n"); 9188 9189 9190 #line 2440 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9191 } 9192 9193 9194 #line default 9195 #line hidden 9196 WriteLiteralTo(__razor_helper_writer, " "); 9197 9198 9199 #line 2441 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9200 if (settings.RatingOutOf != 0) 9201 { 9202 9203 9204 #line default 9205 #line hidden 9206 WriteLiteralTo(__razor_helper_writer, " <div"); 9207 9208 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right\""); 9209 9210 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9211 9212 WriteLiteralTo(__razor_helper_writer, " "); 9213 9214 9215 #line 2444 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9216 WriteTo(__razor_helper_writer, Render(new Rating { Score = settings.RatingScore, OutOf = settings.RatingOutOf })); 9217 9218 9219 #line default 9220 #line hidden 9221 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9222 9223 9224 #line 2446 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9225 } 9226 9227 9228 #line default 9229 #line hidden 9230 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 9231 9232 9233 #line 2448 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9234 9235 9236 #line default 9237 #line hidden 9238 9239 #line 2448 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9240 if (!String.IsNullOrEmpty(settings.Link)) 9241 { 9242 9243 9244 #line default 9245 #line hidden 9246 WriteLiteralTo(__razor_helper_writer, " <div"); 9247 9248 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 9249 9250 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9251 9252 WriteLiteralTo(__razor_helper_writer, " "); 9253 9254 9255 #line 2451 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9256 WriteTo(__razor_helper_writer, Render(new Link { Href = settings.Link, Title = settings.LinkText, ButtonLayout = settings.ButtonLayout })); 9257 9258 9259 #line default 9260 #line hidden 9261 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9262 9263 9264 #line 2453 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9265 } 9266 9267 9268 #line default 9269 #line hidden 9270 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n " + 9271 " </div>\r\n </section>\r\n"); 9272 9273 9274 #line 2458 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9275 } 9276 else 9277 { 9278 9279 9280 #line default 9281 #line hidden 9282 9283 #line 2461 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9284 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 9285 9286 9287 #line default 9288 #line hidden 9289 9290 #line 2461 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9291 ; 9292 } 9293 } 9294 } 9295 else 9296 { 9297 9298 9299 #line default 9300 #line hidden 9301 9302 #line 2467 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9303 WriteTo(__razor_helper_writer, RenderArticleCleanHeader(settings)); 9304 9305 9306 #line default 9307 #line hidden 9308 9309 #line 2467 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9310 ; 9311 } 9312 } 9313 9314 9315 #line default 9316 #line hidden 9317 }); 9318 9319 #line 2470 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9320 } 9321 #line default 9322 #line hidden 9323 9324 9325 #line 2472 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9326 public RazorEngine.Templating.TemplateWriter RenderArticleBannerHeader(dynamic settings) { 9327 #line default 9328 #line hidden 9329 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9330 9331 #line 2472 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9332 9333 dynamic[] methodParameters = new dynamic[1]; 9334 methodParameters[0] = settings; 9335 MethodInfo customMethod = this.GetType().GetMethod("RenderArticleBannerHeaderCustom"); 9336 9337 if (customMethod != null) 9338 { 9339 9340 9341 #line default 9342 #line hidden 9343 9344 #line 2479 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9345 WriteTo(__razor_helper_writer, customMethod.Invoke(this, methodParameters).ToString()); 9346 9347 9348 #line default 9349 #line hidden 9350 9351 #line 2479 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9352 ; 9353 } 9354 else 9355 { 9356 9357 9358 #line default 9359 #line hidden 9360 9361 #line 2483 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9362 WriteTo(__razor_helper_writer, RenderArticleBanner(settings)); 9363 9364 9365 #line default 9366 #line hidden 9367 9368 #line 2483 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9369 ; 9370 } 9371 9372 9373 #line default 9374 #line hidden 9375 }); 9376 9377 #line 2485 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9378 } 9379 #line default 9380 #line hidden 9381 9382 9383 #line 2496 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9384 public RazorEngine.Templating.TemplateWriter RenderArticleBodyRow(ArticleBodyRow settings) 9385 { 9386 #line default 9387 #line hidden 9388 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9389 9390 #line 2497 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9391 9392 string position = settings.TopLayout == "overlay" ? "article__overlay-offset" : ""; 9393 string contentAlignment = settings.TextLayout == "center" ? "grid--justify-center" : ""; 9394 9395 9396 9397 #line default 9398 #line hidden 9399 WriteLiteralTo(__razor_helper_writer, " <div"); 9400 9401 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 100209), Tuple.Create("\"", 100282) 9402 , Tuple.Create(Tuple.Create("", 100217), Tuple.Create("grid", 100217), true) 9403 , Tuple.Create(Tuple.Create(" ", 100221), Tuple.Create("grid--align-content-start", 100222), true) 9404 9405 #line 2501 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9406 , Tuple.Create(Tuple.Create(" ", 100247), Tuple.Create<System.Object, System.Int32>(contentAlignment 9407 9408 #line default 9409 #line hidden 9410 , 100248), false) 9411 9412 #line 2501 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9413 , Tuple.Create(Tuple.Create(" ", 100265), Tuple.Create<System.Object, System.Int32>(position 9414 9415 #line default 9416 #line hidden 9417 , 100266), false) 9418 , Tuple.Create(Tuple.Create(" ", 100275), Tuple.Create("dw-mod", 100276), true) 9419 ); 9420 9421 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9422 9423 WriteLiteralTo(__razor_helper_writer, " "); 9424 9425 9426 #line 2502 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9427 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 9428 9429 9430 #line default 9431 #line hidden 9432 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9433 9434 9435 #line 2504 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9436 9437 9438 #line default 9439 #line hidden 9440 }); 9441 9442 #line 2504 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9443 } 9444 #line default 9445 #line hidden 9446 9447 9448 #line 2513 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9449 public RazorEngine.Templating.TemplateWriter RenderArticleImage(ArticleImage settings) 9450 { 9451 #line default 9452 #line hidden 9453 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9454 9455 #line 2514 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9456 9457 if (settings.Image != null) 9458 { 9459 if (settings.Image.Path != null) 9460 { 9461 9462 9463 #line default 9464 #line hidden 9465 WriteLiteralTo(__razor_helper_writer, " <div"); 9466 9467 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-bottom--lg\""); 9468 9469 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9470 9471 WriteLiteralTo(__razor_helper_writer, " "); 9472 9473 9474 #line 2520 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9475 WriteTo(__razor_helper_writer, Render(settings.Image)); 9476 9477 9478 #line default 9479 #line hidden 9480 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9481 9482 9483 #line 2522 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9484 } 9485 } 9486 9487 9488 #line default 9489 #line hidden 9490 }); 9491 9492 #line 2524 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9493 } 9494 #line default 9495 #line hidden 9496 9497 9498 #line 2532 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9499 public RazorEngine.Templating.TemplateWriter RenderArticleSubHeader(ArticleSubHeader settings) 9500 { 9501 #line default 9502 #line hidden 9503 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9504 9505 #line 2533 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9506 9507 if (!String.IsNullOrEmpty(settings.Title)) 9508 { 9509 9510 9511 #line default 9512 #line hidden 9513 WriteLiteralTo(__razor_helper_writer, " <h2"); 9514 9515 WriteLiteralTo(__razor_helper_writer, " class=\"article__header\""); 9516 9517 WriteLiteralTo(__razor_helper_writer, ">"); 9518 9519 9520 #line 2536 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9521 WriteTo(__razor_helper_writer, settings.Title); 9522 9523 9524 #line default 9525 #line hidden 9526 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n"); 9527 9528 9529 #line 2537 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9530 } 9531 9532 9533 #line default 9534 #line hidden 9535 }); 9536 9537 #line 2538 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9538 } 9539 #line default 9540 #line hidden 9541 9542 9543 #line 2547 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9544 public RazorEngine.Templating.TemplateWriter RenderArticleText(ArticleText settings) 9545 { 9546 #line default 9547 #line hidden 9548 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9549 9550 #line 2548 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9551 9552 if (!String.IsNullOrEmpty(settings.Text)) 9553 { 9554 string greatTextClass = settings.EnableLargeText == true ? "article__paragraph--great-text" : ""; 9555 9556 9557 9558 #line default 9559 #line hidden 9560 WriteLiteralTo(__razor_helper_writer, " <div"); 9561 9562 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 101640), Tuple.Create("\"", 101682) 9563 , Tuple.Create(Tuple.Create("", 101648), Tuple.Create("article__paragraph", 101648), true) 9564 9565 #line 2553 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9566 , Tuple.Create(Tuple.Create(" ", 101666), Tuple.Create<System.Object, System.Int32>(greatTextClass 9567 9568 #line default 9569 #line hidden 9570 , 101667), false) 9571 ); 9572 9573 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9574 9575 WriteLiteralTo(__razor_helper_writer, " "); 9576 9577 9578 #line 2554 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9579 WriteTo(__razor_helper_writer, settings.Text); 9580 9581 9582 #line default 9583 #line hidden 9584 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9585 9586 9587 #line 2556 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9588 } 9589 9590 9591 #line default 9592 #line hidden 9593 }); 9594 9595 #line 2557 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9596 } 9597 #line default 9598 #line hidden 9599 9600 9601 #line 2566 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9602 public RazorEngine.Templating.TemplateWriter RenderArticleQuote(ArticleQuote settings) 9603 { 9604 #line default 9605 #line hidden 9606 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9607 9608 #line 2567 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9609 9610 string text = Regex.Replace(settings.Text, "<.*?>", String.Empty); 9611 9612 9613 9614 #line default 9615 #line hidden 9616 WriteLiteralTo(__razor_helper_writer, " <div"); 9617 9618 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding-bottom--lg\""); 9619 9620 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9621 9622 9623 #line 2571 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9624 9625 9626 #line default 9627 #line hidden 9628 9629 #line 2571 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9630 if (settings.Image != null) 9631 { 9632 if (settings.Image.Path != null) { 9633 9634 9635 #line default 9636 #line hidden 9637 WriteLiteralTo(__razor_helper_writer, " <div"); 9638 9639 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-3\""); 9640 9641 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9642 9643 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell-img\""); 9644 9645 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9646 9647 9648 #line 2576 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9649 9650 9651 #line default 9652 #line hidden 9653 9654 #line 2576 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9655 9656 settings.Image.Title = !String.IsNullOrEmpty(settings.Image.Title) ? settings.Image.Title : settings.Author; 9657 settings.Image.CssClass += " article__image article__image--ball"; 9658 settings.Image.ImageDefault.Width = 200; 9659 settings.Image.ImageDefault.Height = 200; 9660 9661 9662 #line default 9663 #line hidden 9664 WriteLiteralTo(__razor_helper_writer, "\r\n"); 9665 9666 WriteLiteralTo(__razor_helper_writer, " "); 9667 9668 9669 #line 2582 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9670 WriteTo(__razor_helper_writer, Render(settings.Image)); 9671 9672 9673 #line default 9674 #line hidden 9675 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 9676 9677 9678 #line 2585 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9679 } 9680 } 9681 9682 9683 #line default 9684 #line hidden 9685 WriteLiteralTo(__razor_helper_writer, " <div"); 9686 9687 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-auto\""); 9688 9689 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9690 9691 9692 #line 2588 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9693 9694 9695 #line default 9696 #line hidden 9697 9698 #line 2588 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9699 if (!String.IsNullOrEmpty(settings.Text)) 9700 { 9701 9702 9703 #line default 9704 #line hidden 9705 WriteLiteralTo(__razor_helper_writer, " <div"); 9706 9707 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote dw-mod\""); 9708 9709 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 9710 9711 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-quote-right u-margin-bottom--lg\""); 9712 9713 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 9714 9715 WriteLiteralTo(__razor_helper_writer, " "); 9716 9717 9718 #line 2592 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9719 WriteTo(__razor_helper_writer, settings.Text); 9720 9721 9722 #line default 9723 #line hidden 9724 WriteLiteralTo(__razor_helper_writer, "\r\n <i"); 9725 9726 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-quote-right\""); 9727 9728 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </div>\r\n"); 9729 9730 9731 #line 2595 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9732 } 9733 9734 9735 #line default 9736 #line hidden 9737 WriteLiteralTo(__razor_helper_writer, " "); 9738 9739 9740 #line 2596 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9741 if (!String.IsNullOrEmpty(settings.Author)) 9742 { 9743 9744 9745 #line default 9746 #line hidden 9747 WriteLiteralTo(__razor_helper_writer, " <div"); 9748 9749 WriteLiteralTo(__razor_helper_writer, " class=\"article__quote-author dw-mod\""); 9750 9751 WriteLiteralTo(__razor_helper_writer, ">\r\n - "); 9752 9753 9754 #line 2599 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9755 WriteTo(__razor_helper_writer, settings.Author); 9756 9757 9758 #line default 9759 #line hidden 9760 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 9761 9762 9763 #line 2601 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9764 } 9765 9766 9767 #line default 9768 #line hidden 9769 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 9770 9771 9772 #line 2604 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9773 9774 9775 #line default 9776 #line hidden 9777 }); 9778 9779 #line 2604 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9780 } 9781 #line default 9782 #line hidden 9783 9784 9785 #line 2612 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9786 public RazorEngine.Templating.TemplateWriter RenderArticleInfoTable(ArticleInfoTable settings) 9787 { 9788 #line default 9789 #line hidden 9790 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9791 9792 #line 2613 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9793 9794 9795 9796 #line default 9797 #line hidden 9798 WriteLiteralTo(__razor_helper_writer, " <table"); 9799 9800 WriteLiteralTo(__razor_helper_writer, " class=\"table table--clean\""); 9801 9802 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 9803 9804 9805 #line 2615 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9806 9807 9808 #line default 9809 #line hidden 9810 9811 #line 2615 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9812 foreach (var row in settings.Rows) 9813 { 9814 string iconColor = row.IconColor != null ? row.IconColor : "u-brand-color-two"; 9815 9816 9817 9818 #line default 9819 #line hidden 9820 WriteLiteralTo(__razor_helper_writer, " <tr>\r\n"); 9821 9822 9823 #line 2620 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9824 9825 9826 #line default 9827 #line hidden 9828 9829 #line 2620 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9830 if (!String.IsNullOrEmpty(row.Icon)) 9831 { 9832 9833 9834 #line default 9835 #line hidden 9836 WriteLiteralTo(__razor_helper_writer, " <td"); 9837 9838 WriteLiteralTo(__razor_helper_writer, " class=\"u-w32px\""); 9839 9840 WriteLiteralTo(__razor_helper_writer, "><i"); 9841 9842 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 104019), Tuple.Create("\"", 104057) 9843 9844 #line 2622 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9845 , Tuple.Create(Tuple.Create("", 104027), Tuple.Create<System.Object, System.Int32>(row.Icon 9846 9847 #line default 9848 #line hidden 9849 , 104027), false) 9850 , Tuple.Create(Tuple.Create(" ", 104036), Tuple.Create("fa-2x", 104037), true) 9851 9852 #line 2622 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9853 , Tuple.Create(Tuple.Create(" ", 104042), Tuple.Create<System.Object, System.Int32>(row.IconColor 9854 9855 #line default 9856 #line hidden 9857 , 104043), false) 9858 ); 9859 9860 WriteLiteralTo(__razor_helper_writer, "></i></td>\r\n"); 9861 9862 9863 #line 2623 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9864 } 9865 9866 9867 #line default 9868 #line hidden 9869 WriteLiteralTo(__razor_helper_writer, " <td"); 9870 9871 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin-on-p-elements\""); 9872 9873 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 9874 9875 WriteLiteralTo(__razor_helper_writer, " class=\"u-bold\""); 9876 9877 WriteLiteralTo(__razor_helper_writer, ">"); 9878 9879 9880 #line 2625 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9881 WriteTo(__razor_helper_writer, row.Title); 9882 9883 9884 #line default 9885 #line hidden 9886 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9887 9888 9889 #line 2626 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9890 9891 9892 #line default 9893 #line hidden 9894 9895 #line 2626 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9896 if (!String.IsNullOrEmpty(row.SubTitle)) 9897 { 9898 if (row.Link == null) 9899 { 9900 9901 9902 #line default 9903 #line hidden 9904 WriteLiteralTo(__razor_helper_writer, " <div>"); 9905 9906 9907 #line 2630 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9908 WriteTo(__razor_helper_writer, row.SubTitle); 9909 9910 9911 #line default 9912 #line hidden 9913 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 9914 9915 9916 #line 2631 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9917 } 9918 else 9919 { 9920 9921 9922 #line default 9923 #line hidden 9924 WriteLiteralTo(__razor_helper_writer, " <a"); 9925 9926 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 104523), Tuple.Create("\"", 104539) 9927 9928 #line 2634 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9929 , Tuple.Create(Tuple.Create("", 104530), Tuple.Create<System.Object, System.Int32>(row.Link 9930 9931 #line default 9932 #line hidden 9933 , 104530), false) 9934 ); 9935 9936 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-inherit\""); 9937 9938 WriteLiteralTo(__razor_helper_writer, ">"); 9939 9940 9941 #line 2634 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9942 WriteTo(__razor_helper_writer, row.SubTitle); 9943 9944 9945 #line default 9946 #line hidden 9947 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 9948 9949 9950 #line 2635 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9951 } 9952 } 9953 9954 9955 #line default 9956 #line hidden 9957 WriteLiteralTo(__razor_helper_writer, " </td>\r\n </tr>\r\n"); 9958 9959 9960 #line 2639 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9961 } 9962 9963 9964 #line default 9965 #line hidden 9966 WriteLiteralTo(__razor_helper_writer, " </table>\r\n"); 9967 9968 9969 #line 2641 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9970 9971 9972 #line default 9973 #line hidden 9974 }); 9975 9976 #line 2641 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9977 } 9978 #line default 9979 #line hidden 9980 9981 9982 #line 2650 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9983 public RazorEngine.Templating.TemplateWriter RenderArticleGalleryModal(ArticleGalleryModal settings) 9984 { 9985 #line default 9986 #line hidden 9987 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 9988 9989 #line 2651 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 9990 9991 Modal galleryModal = new Modal 9992 { 9993 Id = "ParagraphGallery", 9994 Width = ModalWidth.Full, 9995 BodyTemplate = RenderArticleGalleryModalContent() 9996 }; 9997 9998 9999 10000 #line default 10001 #line hidden 10002 10003 #line 2659 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10004 WriteTo(__razor_helper_writer, Render(galleryModal)); 10005 10006 10007 #line default 10008 #line hidden 10009 10010 #line 2659 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10011 10012 10013 10014 #line default 10015 #line hidden 10016 }); 10017 10018 #line 2660 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10019 } 10020 #line default 10021 #line hidden 10022 10023 10024 #line 2662 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10025 public RazorEngine.Templating.TemplateWriter RenderArticleGalleryModalContent() { 10026 #line default 10027 #line hidden 10028 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10029 10030 #line 2662 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10031 10032 10033 10034 #line default 10035 #line hidden 10036 WriteLiteralTo(__razor_helper_writer, " <div"); 10037 10038 WriteLiteralTo(__razor_helper_writer, " class=\"modal__image-min-size-wrapper\""); 10039 10040 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10041 10042 WriteLiteralTo(__razor_helper_writer, " "); 10043 10044 10045 #line 2664 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10046 WriteTo(__razor_helper_writer, Render(new Image { 10047 Id = "ParagraphGallery", 10048 Path = "#", 10049 CssClass = "modal--full__img", 10050 DisableLazyLoad = true, 10051 DisableImageEngine = true 10052 })); 10053 10054 10055 #line default 10056 #line hidden 10057 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 10058 10059 10060 #line 2672 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10061 10062 10063 10064 #line default 10065 #line hidden 10066 WriteLiteralTo(__razor_helper_writer, " <div"); 10067 10068 WriteLiteralTo(__razor_helper_writer, " class=\"modal__images-counter\""); 10069 10070 WriteLiteralTo(__razor_helper_writer, " id=\"ParagraphGallery_counter\""); 10071 10072 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 10073 10074 10075 #line 2674 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10076 10077 10078 10079 #line default 10080 #line hidden 10081 10082 #line 2675 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10083 WriteTo(__razor_helper_writer, Render(new Button { 10084 Id = "ParagraphGallery_prev", 10085 ButtonType = ButtonType.Button, 10086 ButtonLayout = ButtonLayout.None, 10087 CssClass = "modal__prev-btn", 10088 Icon = new Icon { Prefix = "far", Name = "fa-angle-left", LabelPosition = IconLabelPosition.After }, 10089 OnClick = "Gallery.prevImage('ParagraphGallery')" 10090 })); 10091 10092 10093 #line default 10094 #line hidden 10095 10096 #line 2682 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10097 10098 10099 10100 10101 #line default 10102 #line hidden 10103 10104 #line 2684 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10105 WriteTo(__razor_helper_writer, Render(new Button { 10106 Id = "ParagraphGallery_next", 10107 ButtonType = ButtonType.Button, 10108 ButtonLayout = ButtonLayout.None, 10109 CssClass = "modal__next-btn", 10110 Icon = new Icon { Prefix = "far", Name = "fa-angle-right", LabelPosition = IconLabelPosition.After }, 10111 OnClick = "Gallery.nextImage('ParagraphGallery')" 10112 })); 10113 10114 10115 #line default 10116 #line hidden 10117 10118 #line 2691 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10119 10120 10121 10122 #line default 10123 #line hidden 10124 }); 10125 10126 #line 2692 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10127 } 10128 #line default 10129 #line hidden 10130 10131 10132 #line 2701 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10133 public RazorEngine.Templating.TemplateWriter RenderArticleRelated(ArticleRelated settings) 10134 { 10135 #line default 10136 #line hidden 10137 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10138 10139 #line 2702 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10140 10141 string cardClass = Pageview.Device.ToString() != "Tablet" ? "card u-color-light--bg u-full-height" : ""; 10142 string cardFooterClass = Pageview.Device.ToString() != "Tablet" ? "card-footer u-color-light--bg" : ""; 10143 10144 10145 10146 #line default 10147 #line hidden 10148 WriteLiteralTo(__razor_helper_writer, " <section"); 10149 10150 WriteLiteralTo(__razor_helper_writer, " class=\"multiple-paragraphs-container u-color-light-gray--bg paragraph-container-" + 10151 "-full-width\""); 10152 10153 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10154 10155 WriteLiteralTo(__razor_helper_writer, " class=\"center-container dw-mod\""); 10156 10157 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10158 10159 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-padding\""); 10160 10161 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10162 10163 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12 grid__col-xs-12\""); 10164 10165 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2"); 10166 10167 WriteLiteralTo(__razor_helper_writer, " class=\"article__header u-no-margin u-margin-top\""); 10168 10169 WriteLiteralTo(__razor_helper_writer, ">"); 10170 10171 10172 #line 2710 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10173 WriteTo(__razor_helper_writer, settings.Title); 10174 10175 10176 #line default 10177 #line hidden 10178 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n </div>\r\n </div>\r\n\r\n <div"); 10179 10180 WriteLiteralTo(__razor_helper_writer, " class=\"js-handlebars-root u-padding\""); 10181 10182 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 107307), Tuple.Create("\"", 107355) 10183 10184 #line 2714 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10185 , Tuple.Create(Tuple.Create("", 107312), Tuple.Create<System.Object, System.Int32>(settings.Title.Replace(" ", String.Empty) 10186 10187 #line default 10188 #line hidden 10189 , 107312), false) 10190 ); 10191 10192 WriteLiteralTo(__razor_helper_writer, " data-template=\"RelatedSimpleTemplate\""); 10193 10194 WriteLiteralTo(__razor_helper_writer, " data-json-feed=\"/Default.aspx?ID="); 10195 10196 10197 #line 2714 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10198 WriteTo(__razor_helper_writer, settings.FeedPageId); 10199 10200 10201 #line default 10202 #line hidden 10203 WriteLiteralTo(__razor_helper_writer, "&"); 10204 10205 10206 #line 2714 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10207 WriteTo(__razor_helper_writer, settings.Query); 10208 10209 10210 #line default 10211 #line hidden 10212 WriteLiteralTo(__razor_helper_writer, "&ExcludeItemID="); 10213 10214 10215 #line 2714 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10216 WriteTo(__razor_helper_writer, settings.CurrentPageId); 10217 10218 10219 #line default 10220 #line hidden 10221 WriteLiteralTo(__razor_helper_writer, "&PageSize="); 10222 10223 10224 #line 2714 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10225 WriteTo(__razor_helper_writer, settings.PageSize); 10226 10227 10228 #line default 10229 #line hidden 10230 WriteLiteralTo(__razor_helper_writer, "\""); 10231 10232 WriteLiteralTo(__razor_helper_writer, "></div>\r\n\r\n <script"); 10233 10234 WriteLiteralTo(__razor_helper_writer, " id=\"RelatedSimpleTemplate\""); 10235 10236 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-template\""); 10237 10238 WriteLiteralTo(__razor_helper_writer, @"> 10239 {{#.}} 10240 <div class=""grid u-padding-bottom--lg""> 10241 {{#Cases}} 10242 <div class=""grid__col-lg-3 grid__col-sm-6 image-hover--zoom dw-mod""> 10243 <a href=""{{link}}"" class=""u-full-height u-color-light--bg""> 10244 {{#if image}} 10245 <div class=""u-color-light--bg u-no-padding dw-mod""> 10246 <div class=""flex-img image-hover__wrapper""> 10247 <img class=""b-lazy"" src=""/Files/Images/placeholder.gif"" data-src=""/Admin/Public/GetImage.ashx?width=680&height=314&amp;crop=1&amp;DoNotUpscale=True&amp;Compression=75&amp;image={{image}}"" alt=""{{title}}"" /> 10248 </div> 10249 </div> 10250 {{/if}} 10251 10252 <div class=""card u-color-light--bg dw-mod""> 10253 <h3 class=""article-list__item-header u-truncate-text dw-mod"">{{title}}</h3> 10254 <p class=""article__short-summary dw-mod"">{{summary}}</p> 10255 </div> 10256 </a> 10257 </div> 10258 {{/Cases}} 10259 </div> 10260 {{/.}} 10261 </script> 10262 </div> 10263 </section> 10264 "); 10265 10266 10267 #line 2742 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10268 10269 10270 #line default 10271 #line hidden 10272 }); 10273 10274 #line 2742 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10275 } 10276 #line default 10277 #line hidden 10278 10279 10280 #line 2751 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10281 public RazorEngine.Templating.TemplateWriter RenderArticleMenu(ArticleMenu settings) 10282 { 10283 #line default 10284 #line hidden 10285 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10286 10287 #line 2752 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10288 10289 if (!String.IsNullOrEmpty(settings.Title)) { 10290 10291 10292 #line default 10293 #line hidden 10294 WriteLiteralTo(__razor_helper_writer, " <div"); 10295 10296 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin u-border-bottom\""); 10297 10298 WriteLiteralTo(__razor_helper_writer, ">\r\n <h3"); 10299 10300 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 10301 10302 WriteLiteralTo(__razor_helper_writer, ">"); 10303 10304 10305 #line 2755 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10306 WriteTo(__razor_helper_writer, settings.Title); 10307 10308 10309 #line default 10310 #line hidden 10311 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </div>\r\n"); 10312 10313 10314 #line 2757 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10315 } 10316 10317 10318 10319 #line default 10320 #line hidden 10321 WriteLiteralTo(__razor_helper_writer, " <ul"); 10322 10323 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left u-margin-bottom dw-mod\""); 10324 10325 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10326 10327 10328 #line 2760 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10329 10330 10331 #line default 10332 #line hidden 10333 10334 #line 2760 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10335 foreach (var item in settings.Items) 10336 { 10337 10338 10339 #line default 10340 #line hidden 10341 10342 #line 2762 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10343 WriteTo(__razor_helper_writer, Render(item)); 10344 10345 10346 #line default 10347 #line hidden 10348 10349 #line 2762 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10350 10351 } 10352 10353 10354 #line default 10355 #line hidden 10356 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 10357 10358 10359 #line 2765 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10360 10361 10362 #line default 10363 #line hidden 10364 }); 10365 10366 #line 2765 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10367 } 10368 #line default 10369 #line hidden 10370 10371 10372 #line 2767 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10373 public RazorEngine.Templating.TemplateWriter RenderArticleMenuItem(ArticleMenuItem settings) 10374 { 10375 #line default 10376 #line hidden 10377 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10378 10379 #line 2768 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10380 10381 string link = !String.IsNullOrEmpty(settings.Link) ? settings.Link : "#"; 10382 10383 if (!String.IsNullOrEmpty(settings.Title)) { 10384 10385 10386 #line default 10387 #line hidden 10388 WriteLiteralTo(__razor_helper_writer, " <li"); 10389 10390 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__item dw-mod\""); 10391 10392 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 10393 10394 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 109808), Tuple.Create("\"", 109820) 10395 10396 #line 2773 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10397 , Tuple.Create(Tuple.Create("", 109815), Tuple.Create<System.Object, System.Int32>(link 10398 10399 #line default 10400 #line hidden 10401 , 109815), false) 10402 ); 10403 10404 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 109821), Tuple.Create("\"", 109848) 10405 10406 #line 2773 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10407 , Tuple.Create(Tuple.Create("", 109831), Tuple.Create<System.Object, System.Int32>(settings.OnClick 10408 10409 #line default 10410 #line hidden 10411 , 109831), false) 10412 ); 10413 10414 WriteLiteralTo(__razor_helper_writer, " class=\"menu-left__link dw-mod\""); 10415 10416 WriteLiteralTo(__razor_helper_writer, ">"); 10417 10418 10419 #line 2773 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10420 WriteTo(__razor_helper_writer, settings.Title); 10421 10422 10423 #line default 10424 #line hidden 10425 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n"); 10426 10427 10428 #line 2775 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10429 } 10430 10431 10432 #line default 10433 #line hidden 10434 }); 10435 10436 #line 2776 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10437 } 10438 #line default 10439 #line hidden 10440 10441 10442 #line 2784 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10443 public RazorEngine.Templating.TemplateWriter RenderArticleList(ArticleList settings) 10444 { 10445 #line default 10446 #line hidden 10447 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10448 10449 #line 2785 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10450 10451 if (Pageview != null) 10452 { 10453 bool isParagraph = Pageview.CurrentParagraph != null ? true : false; 10454 string[] sortArticlesListBy = new string[2]; 10455 10456 if (isParagraph) { 10457 sortArticlesListBy = Pageview.CurrentParagraph.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString()) ? Pageview.CurrentParagraph.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 10458 } 10459 else { 10460 sortArticlesListBy = Pageview.Item["SortArticlesListBy"] != null && !string.IsNullOrEmpty(Pageview.Item["SortArticlesListBy"].ToString()) ? Pageview.Item["SortArticlesListBy"].ToString().Split('+') : new string[] { "Date", "ASC" }; 10461 } 10462 10463 string sourcePage = settings.SourcePage != null ? settings.SourcePage : Pageview.ID.ToString(); 10464 10465 if (!settings.DisablePagination) { 10466 10467 10468 #line default 10469 #line hidden 10470 10471 #line 2801 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10472 WriteTo(__razor_helper_writer, RenderItemList(new 10473 { 10474 ItemType = !String.IsNullOrEmpty(settings.ItemType) ? settings.ItemType : "DynamicArticle", 10475 ListSourceType = settings.SourceType, 10476 ListSourcePage = sourcePage, 10477 ItemFieldsList = "*", 10478 Filter = settings.Filter, 10479 ListOrderBy = sortArticlesListBy[0], 10480 ListOrderByDirection = sortArticlesListBy[1], 10481 ListSecondOrderBy = sortArticlesListBy[0] == "Date" ? "InFocusSortId" : "Date", 10482 ListSecondOrderByDirection = "ASC", 10483 IncludeAllChildItems = true, 10484 ListTemplate = settings.Template, 10485 ListPageSize = settings.PageSize.ToString() 10486 })); 10487 10488 10489 #line default 10490 #line hidden 10491 10492 #line 2815 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10493 ; 10494 } else { 10495 10496 10497 #line default 10498 #line hidden 10499 10500 #line 2817 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10501 WriteTo(__razor_helper_writer, RenderItemList(new 10502 { 10503 ItemType = !String.IsNullOrEmpty(settings.ItemType) ? settings.ItemType : "DynamicArticle", 10504 ListSourceType = settings.SourceType, 10505 ListSourcePage = sourcePage, 10506 ItemFieldsList = "*", 10507 Filter = settings.Filter, 10508 ListOrderBy = sortArticlesListBy[0], 10509 ListOrderByDirection = sortArticlesListBy[1], 10510 ListSecondOrderBy = sortArticlesListBy[0] == "Date" ? "InFocusSortId" : "Date", 10511 ListSecondOrderByDirection = "ASC", 10512 IncludeAllChildItems = true, 10513 ListTemplate = settings.Template, 10514 ListPageSize = settings.PageSize.ToString(), 10515 ListViewMode = "Partial", 10516 ListShowTo = settings.PageSize + 1 10517 })); 10518 10519 10520 #line default 10521 #line hidden 10522 10523 #line 2833 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10524 ; 10525 } 10526 } 10527 10528 10529 #line default 10530 #line hidden 10531 }); 10532 10533 #line 2836 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10534 } 10535 #line default 10536 #line hidden 10537 10538 10539 #line 2843 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10540 public RazorEngine.Templating.TemplateWriter RenderArticleSummary(ArticleSummary settings) 10541 { 10542 #line default 10543 #line hidden 10544 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10545 10546 #line 2844 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10547 10548 if (!String.IsNullOrEmpty(settings.Text)) 10549 { 10550 10551 10552 #line default 10553 #line hidden 10554 WriteLiteralTo(__razor_helper_writer, " <div"); 10555 10556 WriteLiteralTo(__razor_helper_writer, " class=\"article__summary dw-mod\""); 10557 10558 WriteLiteralTo(__razor_helper_writer, ">"); 10559 10560 10561 #line 2847 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10562 WriteTo(__razor_helper_writer, settings.Text); 10563 10564 10565 #line default 10566 #line hidden 10567 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10568 10569 10570 #line 2848 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10571 } 10572 10573 10574 #line default 10575 #line hidden 10576 }); 10577 10578 #line 2849 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10579 } 10580 #line default 10581 #line hidden 10582 10583 10584 #line 2857 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10585 public RazorEngine.Templating.TemplateWriter RenderArticleListCategoryFilter(ArticleListCategoryFilter settings) 10586 { 10587 #line default 10588 #line hidden 10589 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10590 10591 #line 2858 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10592 10593 string pageId = Pageview.ID.ToString(); 10594 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get("sourcePage")) ? HttpContext.Current.Request.QueryString.Get("sourcePage") : Translate("All"); 10595 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 10596 10597 foreach (var option in settings.Categories) 10598 { 10599 selectedFilter = selectedFilter == option.Value ? option.Key : selectedFilter; 10600 } 10601 10602 if (selectedFilter == pageId) 10603 { 10604 selectedFilter = Translate("All"); 10605 } 10606 10607 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 10608 { 10609 10610 10611 #line default 10612 #line hidden 10613 WriteLiteralTo(__razor_helper_writer, " <div"); 10614 10615 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right u-margin-left\""); 10616 10617 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10618 10619 WriteLiteralTo(__razor_helper_writer, " class=\"collection u-no-margin\""); 10620 10621 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5>"); 10622 10623 10624 #line 2877 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10625 WriteTo(__razor_helper_writer, Translate("Category")); 10626 10627 10628 #line default 10629 #line hidden 10630 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 10631 10632 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 10633 10634 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 10635 10636 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 10637 10638 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 10639 10640 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-w180px dw-mod\""); 10641 10642 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 10643 10644 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 10645 10646 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 10647 10648 WriteLiteralTo(__razor_helper_writer, ">"); 10649 10650 10651 #line 2880 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10652 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 10653 10654 10655 #line default 10656 #line hidden 10657 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 10658 10659 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 10660 10661 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10662 10663 10664 #line 2882 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10665 10666 10667 #line default 10668 #line hidden 10669 10670 #line 2882 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10671 foreach (var option in settings.Categories) 10672 { 10673 10674 10675 #line default 10676 #line hidden 10677 WriteLiteralTo(__razor_helper_writer, " <div"); 10678 10679 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 10680 10681 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 114702), Tuple.Create("\"", 114844) 10682 , Tuple.Create(Tuple.Create("", 114712), Tuple.Create("QueryArray.setParametersInCurrentURL({", 114712), true) 10683 , Tuple.Create(Tuple.Create(" ", 114750), Tuple.Create("sourceType:", 114751), true) 10684 , Tuple.Create(Tuple.Create(" ", 114762), Tuple.Create("\'Page\',", 114763), true) 10685 , Tuple.Create(Tuple.Create(" ", 114770), Tuple.Create("sourcePage:", 114771), true) 10686 , Tuple.Create(Tuple.Create(" ", 114782), Tuple.Create("\'", 114783), true) 10687 10688 #line 2884 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10689 , Tuple.Create(Tuple.Create("", 114784), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 10690 10691 #line default 10692 #line hidden 10693 , 114784), false) 10694 , Tuple.Create(Tuple.Create("", 114840), Tuple.Create("\'", 114840), true) 10695 , Tuple.Create(Tuple.Create(" ", 114841), Tuple.Create("})", 114842), true) 10696 ); 10697 10698 WriteLiteralTo(__razor_helper_writer, ">"); 10699 10700 10701 #line 2884 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10702 WriteTo(__razor_helper_writer, Translate(option.Key)); 10703 10704 10705 #line default 10706 #line hidden 10707 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10708 10709 10710 #line 2885 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10711 } 10712 10713 10714 #line default 10715 #line hidden 10716 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 10717 10718 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 10719 10720 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 10721 10722 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>\r\n"); 10723 10724 10725 #line 2891 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10726 } 10727 else 10728 { 10729 10730 10731 #line default 10732 #line hidden 10733 WriteLiteralTo(__razor_helper_writer, " <div"); 10734 10735 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-margin-bottom\""); 10736 10737 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5"); 10738 10739 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 10740 10741 WriteLiteralTo(__razor_helper_writer, ">"); 10742 10743 10744 #line 2895 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10745 WriteTo(__razor_helper_writer, Translate("Category")); 10746 10747 10748 #line default 10749 #line hidden 10750 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 10751 10752 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 10753 10754 WriteLiteralTo(__razor_helper_writer, " id=\"CategorySelector\""); 10755 10756 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 10757 10758 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 10759 10760 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-full-width dw-mod\""); 10761 10762 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 10763 10764 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 10765 10766 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 10767 10768 WriteLiteralTo(__razor_helper_writer, ">"); 10769 10770 10771 #line 2898 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10772 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 10773 10774 10775 #line default 10776 #line hidden 10777 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 10778 10779 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 10780 10781 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 10782 10783 10784 #line 2900 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10785 10786 10787 #line default 10788 #line hidden 10789 10790 #line 2900 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10791 foreach (var option in settings.Categories) 10792 { 10793 10794 10795 #line default 10796 #line hidden 10797 WriteLiteralTo(__razor_helper_writer, " <div"); 10798 10799 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 10800 10801 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 115683), Tuple.Create("\"", 115825) 10802 , Tuple.Create(Tuple.Create("", 115693), Tuple.Create("QueryArray.setParametersInCurrentURL({", 115693), true) 10803 , Tuple.Create(Tuple.Create(" ", 115731), Tuple.Create("sourceType:", 115732), true) 10804 , Tuple.Create(Tuple.Create(" ", 115743), Tuple.Create("\'Page\',", 115744), true) 10805 , Tuple.Create(Tuple.Create(" ", 115751), Tuple.Create("sourcePage:", 115752), true) 10806 , Tuple.Create(Tuple.Create(" ", 115763), Tuple.Create("\'", 115764), true) 10807 10808 #line 2902 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10809 , Tuple.Create(Tuple.Create("", 115765), Tuple.Create<System.Object, System.Int32>(option.Key.ToLower() == "all" ? pageId : option.Value 10810 10811 #line default 10812 #line hidden 10813 , 115765), false) 10814 , Tuple.Create(Tuple.Create("", 115821), Tuple.Create("\'", 115821), true) 10815 , Tuple.Create(Tuple.Create(" ", 115822), Tuple.Create("})", 115823), true) 10816 ); 10817 10818 WriteLiteralTo(__razor_helper_writer, ">"); 10819 10820 10821 #line 2902 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10822 WriteTo(__razor_helper_writer, Translate(option.Key)); 10823 10824 10825 #line default 10826 #line hidden 10827 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10828 10829 10830 #line 2903 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10831 } 10832 10833 10834 #line default 10835 #line hidden 10836 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 10837 10838 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 10839 10840 WriteLiteralTo(__razor_helper_writer, " for=\"CategorySelector\""); 10841 10842 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 10843 10844 10845 #line 2908 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10846 } 10847 10848 10849 #line default 10850 #line hidden 10851 }); 10852 10853 #line 2909 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10854 } 10855 #line default 10856 #line hidden 10857 10858 10859 #line 2918 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10860 public RazorEngine.Templating.TemplateWriter RenderArticleListFilter(ArticleListFilter settings) 10861 { 10862 #line default 10863 #line hidden 10864 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 10865 10866 #line 2919 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10867 10868 string selectedFilter = !String.IsNullOrEmpty(HttpContext.Current.Request.QueryString.Get(settings.SystemName)) ? HttpContext.Current.Request.QueryString.Get(settings.SystemName) : Translate("All"); 10869 var query = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 10870 10871 if (settings.Options != null) 10872 { 10873 if (settings.Options is IEnumerable<dynamic>) 10874 { 10875 var options = (IEnumerable<dynamic>) settings.Options; 10876 settings.Options = options.OrderBy(item => item.Name); 10877 } 10878 10879 foreach (var option in settings.Options) 10880 { 10881 selectedFilter = selectedFilter == option.Value ? option.Name : selectedFilter; 10882 } 10883 10884 if (Pageview.Device.ToString() != "Mobile" && Pageview.Device.ToString() != "Tablet") 10885 { 10886 10887 10888 #line default 10889 #line hidden 10890 WriteLiteralTo(__razor_helper_writer, " <div"); 10891 10892 WriteLiteralTo(__razor_helper_writer, " class=\"u-pull--right u-margin-left\""); 10893 10894 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10895 10896 WriteLiteralTo(__razor_helper_writer, " class=\"collection u-no-margin\""); 10897 10898 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5>"); 10899 10900 10901 #line 2940 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10902 WriteTo(__razor_helper_writer, settings.Label); 10903 10904 10905 #line default 10906 #line hidden 10907 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 10908 10909 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 10910 10911 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 117360), Tuple.Create("\"", 117395) 10912 10913 #line 2941 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10914 , Tuple.Create(Tuple.Create("", 117365), Tuple.Create<System.Object, System.Int32>(settings.SystemName 10915 10916 #line default 10917 #line hidden 10918 , 117365), false) 10919 , Tuple.Create(Tuple.Create("", 117387), Tuple.Create("Selector", 117387), true) 10920 ); 10921 10922 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 10923 10924 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 10925 10926 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-w180px dw-mod\""); 10927 10928 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 10929 10930 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 10931 10932 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 117562), Tuple.Create("\"", 117598) 10933 10934 #line 2943 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10935 , Tuple.Create(Tuple.Create("", 117568), Tuple.Create<System.Object, System.Int32>(settings.SystemName 10936 10937 #line default 10938 #line hidden 10939 , 117568), false) 10940 , Tuple.Create(Tuple.Create("", 117590), Tuple.Create("Selector", 117590), true) 10941 ); 10942 10943 WriteLiteralTo(__razor_helper_writer, ">"); 10944 10945 10946 #line 2943 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10947 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 10948 10949 10950 #line default 10951 #line hidden 10952 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 10953 10954 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 10955 10956 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 10957 10958 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 10959 10960 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 117755), Tuple.Create("\"", 117828) 10961 , Tuple.Create(Tuple.Create("", 117765), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 117765), true) 10962 10963 #line 2945 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10964 , Tuple.Create(Tuple.Create("", 117802), Tuple.Create<System.Object, System.Int32>(settings.SystemName 10965 10966 #line default 10967 #line hidden 10968 , 117802), false) 10969 , Tuple.Create(Tuple.Create("", 117822), Tuple.Create("\',", 117822), true) 10970 , Tuple.Create(Tuple.Create(" ", 117824), Tuple.Create("\'\')", 117825), true) 10971 ); 10972 10973 WriteLiteralTo(__razor_helper_writer, ">"); 10974 10975 10976 #line 2945 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10977 WriteTo(__razor_helper_writer, Translate("All")); 10978 10979 10980 #line default 10981 #line hidden 10982 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 10983 10984 10985 #line 2946 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10986 10987 10988 #line default 10989 #line hidden 10990 10991 #line 2946 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 10992 foreach (var option in settings.Options) 10993 { 10994 10995 10996 #line default 10997 #line hidden 10998 WriteLiteralTo(__razor_helper_writer, " <div"); 10999 11000 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11001 11002 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 117996), Tuple.Create("\"", 118082) 11003 , Tuple.Create(Tuple.Create("", 118006), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 118006), true) 11004 11005 #line 2948 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11006 , Tuple.Create(Tuple.Create("", 118043), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11007 11008 #line default 11009 #line hidden 11010 , 118043), false) 11011 , Tuple.Create(Tuple.Create("", 118063), Tuple.Create("\',", 118063), true) 11012 , Tuple.Create(Tuple.Create(" ", 118065), Tuple.Create("\'", 118066), true) 11013 11014 #line 2948 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11015 , Tuple.Create(Tuple.Create("", 118067), Tuple.Create<System.Object, System.Int32>(option.Value 11016 11017 #line default 11018 #line hidden 11019 , 118067), false) 11020 , Tuple.Create(Tuple.Create("", 118080), Tuple.Create("\')", 118080), true) 11021 ); 11022 11023 WriteLiteralTo(__razor_helper_writer, ">"); 11024 11025 11026 #line 2948 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11027 WriteTo(__razor_helper_writer, Translate(option.Name)); 11028 11029 11030 #line default 11031 #line hidden 11032 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11033 11034 11035 #line 2949 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11036 } 11037 11038 11039 #line default 11040 #line hidden 11041 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11042 11043 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11044 11045 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 118237), Tuple.Create("\"", 118273) 11046 11047 #line 2951 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11048 , Tuple.Create(Tuple.Create("", 118243), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11049 11050 #line default 11051 #line hidden 11052 , 118243), false) 11053 , Tuple.Create(Tuple.Create("", 118265), Tuple.Create("Selector", 118265), true) 11054 ); 11055 11056 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n </div>" + 11057 "\r\n"); 11058 11059 11060 #line 2955 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11061 } 11062 else 11063 { 11064 11065 11066 #line default 11067 #line hidden 11068 WriteLiteralTo(__razor_helper_writer, " <div"); 11069 11070 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-width u-margin-bottom\""); 11071 11072 WriteLiteralTo(__razor_helper_writer, ">\r\n <h5"); 11073 11074 WriteLiteralTo(__razor_helper_writer, " class=\"u-no-margin\""); 11075 11076 WriteLiteralTo(__razor_helper_writer, ">"); 11077 11078 11079 #line 2959 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11080 WriteTo(__razor_helper_writer, settings.Label); 11081 11082 11083 #line default 11084 #line hidden 11085 WriteLiteralTo(__razor_helper_writer, "</h5>\r\n <input"); 11086 11087 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 11088 11089 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 118549), Tuple.Create("\"", 118584) 11090 11091 #line 2960 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11092 , Tuple.Create(Tuple.Create("", 118554), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11093 11094 #line default 11095 #line hidden 11096 , 118554), false) 11097 , Tuple.Create(Tuple.Create("", 118576), Tuple.Create("Selector", 118576), true) 11098 ); 11099 11100 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger\""); 11101 11102 WriteLiteralTo(__razor_helper_writer, " />\r\n <div"); 11103 11104 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown u-full-width w-mod\""); 11105 11106 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 11107 11108 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__header dropdown__btn dw-mod\""); 11109 11110 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 118746), Tuple.Create("\"", 118782) 11111 11112 #line 2962 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11113 , Tuple.Create(Tuple.Create("", 118752), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11114 11115 #line default 11116 #line hidden 11117 , 118752), false) 11118 , Tuple.Create(Tuple.Create("", 118774), Tuple.Create("Selector", 118774), true) 11119 ); 11120 11121 WriteLiteralTo(__razor_helper_writer, ">"); 11122 11123 11124 #line 2962 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11125 WriteTo(__razor_helper_writer, Translate(selectedFilter)); 11126 11127 11128 #line default 11129 #line hidden 11130 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <div"); 11131 11132 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__content dw-mod\""); 11133 11134 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11135 11136 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11137 11138 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 118931), Tuple.Create("\"", 119004) 11139 , Tuple.Create(Tuple.Create("", 118941), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 118941), true) 11140 11141 #line 2964 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11142 , Tuple.Create(Tuple.Create("", 118978), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11143 11144 #line default 11145 #line hidden 11146 , 118978), false) 11147 , Tuple.Create(Tuple.Create("", 118998), Tuple.Create("\',", 118998), true) 11148 , Tuple.Create(Tuple.Create(" ", 119000), Tuple.Create("\'\')", 119001), true) 11149 ); 11150 11151 WriteLiteralTo(__razor_helper_writer, ">"); 11152 11153 11154 #line 2964 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11155 WriteTo(__razor_helper_writer, Translate("All")); 11156 11157 11158 #line default 11159 #line hidden 11160 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11161 11162 11163 #line 2965 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11164 11165 11166 #line default 11167 #line hidden 11168 11169 #line 2965 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11170 foreach (var option in settings.Options) 11171 { 11172 11173 11174 #line default 11175 #line hidden 11176 WriteLiteralTo(__razor_helper_writer, " <div"); 11177 11178 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown__item\""); 11179 11180 WriteAttributeTo(__razor_helper_writer, "onclick", Tuple.Create(" onclick=\"", 119156), Tuple.Create("\"", 119242) 11181 , Tuple.Create(Tuple.Create("", 119166), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 119166), true) 11182 11183 #line 2967 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11184 , Tuple.Create(Tuple.Create("", 119203), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11185 11186 #line default 11187 #line hidden 11188 , 119203), false) 11189 , Tuple.Create(Tuple.Create("", 119223), Tuple.Create("\',", 119223), true) 11190 , Tuple.Create(Tuple.Create(" ", 119225), Tuple.Create("\'", 119226), true) 11191 11192 #line 2967 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11193 , Tuple.Create(Tuple.Create("", 119227), Tuple.Create<System.Object, System.Int32>(option.Value 11194 11195 #line default 11196 #line hidden 11197 , 119227), false) 11198 , Tuple.Create(Tuple.Create("", 119240), Tuple.Create("\')", 119240), true) 11199 ); 11200 11201 WriteLiteralTo(__razor_helper_writer, ">"); 11202 11203 11204 #line 2967 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11205 WriteTo(__razor_helper_writer, Translate(option.Name)); 11206 11207 11208 #line default 11209 #line hidden 11210 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11211 11212 11213 #line 2968 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11214 } 11215 11216 11217 #line default 11218 #line hidden 11219 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <label"); 11220 11221 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-trigger-off\""); 11222 11223 WriteAttributeTo(__razor_helper_writer, "for", Tuple.Create(" for=\"", 119385), Tuple.Create("\"", 119421) 11224 11225 #line 2970 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11226 , Tuple.Create(Tuple.Create("", 119391), Tuple.Create<System.Object, System.Int32>(settings.SystemName 11227 11228 #line default 11229 #line hidden 11230 , 119391), false) 11231 , Tuple.Create(Tuple.Create("", 119413), Tuple.Create("Selector", 119413), true) 11232 ); 11233 11234 WriteLiteralTo(__razor_helper_writer, "></label>\r\n </div>\r\n </div>\r\n"); 11235 11236 11237 #line 2973 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11238 } 11239 } 11240 11241 11242 #line default 11243 #line hidden 11244 }); 11245 11246 #line 2975 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11247 } 11248 #line default 11249 #line hidden 11250 11251 11252 #line 2983 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11253 public RazorEngine.Templating.TemplateWriter RenderArticleListSearch(ArticleListSearch settings) 11254 { 11255 #line default 11256 #line hidden 11257 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11258 11259 #line 2984 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11260 11261 string searchParameter = !string.IsNullOrEmpty(settings.SearchParameter) ? settings.SearchParameter : "Title"; 11262 string searchWord = HttpContext.Current.Request.QueryString.Get(searchParameter); 11263 string searchString = !string.IsNullOrEmpty(searchWord) ? searchWord.Trim('*') : ""; 11264 string className = "u-w340px u-pull--right u-margin-left"; 11265 11266 if (Pageview.Device.ToString() == "Mobile" || Pageview.Device.ToString() == "Tablet") 11267 { 11268 className = "u-full-width"; 11269 } 11270 11271 11272 11273 #line default 11274 #line hidden 11275 WriteLiteralTo(__razor_helper_writer, " <div"); 11276 11277 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 120271), Tuple.Create("\"", 120338) 11278 , Tuple.Create(Tuple.Create("", 120279), Tuple.Create("typeahead", 120279), true) 11279 , Tuple.Create(Tuple.Create(" ", 120288), Tuple.Create("u-color-inherit", 120289), true) 11280 , Tuple.Create(Tuple.Create(" ", 120304), Tuple.Create("u-margin-bottom", 120305), true) 11281 , Tuple.Create(Tuple.Create(" ", 120320), Tuple.Create("dw-mod", 120321), true) 11282 11283 #line 2995 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11284 , Tuple.Create(Tuple.Create(" ", 120327), Tuple.Create<System.Object, System.Int32>(className 11285 11286 #line default 11287 #line hidden 11288 , 120328), false) 11289 ); 11290 11291 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 11292 11293 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 11294 11295 WriteLiteralTo(__razor_helper_writer, " class=\"typeahead-search-field u-no-margin dw-mod\""); 11296 11297 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 120418), Tuple.Create("\"", 120460) 11298 11299 #line 2996 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11300 , Tuple.Create(Tuple.Create("", 120432), Tuple.Create<System.Object, System.Int32>(Translate("Search in list") 11301 11302 #line default 11303 #line hidden 11304 , 120432), false) 11305 ); 11306 11307 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 120461), Tuple.Create("\"", 120482) 11308 11309 #line 2996 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11310 , Tuple.Create(Tuple.Create("", 120469), Tuple.Create<System.Object, System.Int32>(searchString 11311 11312 #line default 11313 #line hidden 11314 , 120469), false) 11315 ); 11316 11317 WriteLiteralTo(__razor_helper_writer, " id=\"ArticleListSearchInput\""); 11318 11319 WriteAttributeTo(__razor_helper_writer, "onchange", Tuple.Create(" onchange=\"", 120511), Tuple.Create("\"", 120646) 11320 , Tuple.Create(Tuple.Create("", 120522), Tuple.Create("QueryArray.setParameterInCurrentURL(\'", 120522), true) 11321 11322 #line 2996 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11323 , Tuple.Create(Tuple.Create("", 120559), Tuple.Create<System.Object, System.Int32>(searchParameter 11324 11325 #line default 11326 #line hidden 11327 , 120559), false) 11328 , Tuple.Create(Tuple.Create("", 120575), Tuple.Create("\',", 120575), true) 11329 , Tuple.Create(Tuple.Create(" ", 120577), Tuple.Create("\'*\'", 120578), true) 11330 , Tuple.Create(Tuple.Create(" ", 120581), Tuple.Create("+", 120582), true) 11331 , Tuple.Create(Tuple.Create(" ", 120583), Tuple.Create("document.getElementById(\'ArticleListSearchInput\').value", 120584), true) 11332 , Tuple.Create(Tuple.Create(" ", 120639), Tuple.Create("+", 120640), true) 11333 , Tuple.Create(Tuple.Create(" ", 120641), Tuple.Create("\'*\')", 120642), true) 11334 ); 11335 11336 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 11337 11338 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 11339 11340 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn--condensed btn--primary u-no-margin dw-mod\""); 11341 11342 WriteLiteralTo(__razor_helper_writer, "><i"); 11343 11344 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-search\""); 11345 11346 WriteLiteralTo(__razor_helper_writer, "></i></button>\r\n </div>\r\n"); 11347 11348 11349 #line 2999 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11350 11351 11352 #line default 11353 #line hidden 11354 }); 11355 11356 #line 2999 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11357 } 11358 #line default 11359 #line hidden 11360 11361 11362 #line 3007 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11363 public RazorEngine.Templating.TemplateWriter RenderArticleListNoResultsInfo(ArticleListNoResultsInfo settings) 11364 { 11365 #line default 11366 #line hidden 11367 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11368 11369 #line 3008 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11370 11371 11372 11373 #line default 11374 #line hidden 11375 WriteLiteralTo(__razor_helper_writer, " <div"); 11376 11377 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top--lg u-bold u-ta-center u-bold\""); 11378 11379 WriteLiteralTo(__razor_helper_writer, ">"); 11380 11381 11382 #line 3009 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11383 WriteTo(__razor_helper_writer, Translate(settings.Message)); 11384 11385 11386 #line default 11387 #line hidden 11388 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11389 11390 11391 #line 3010 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11392 11393 11394 #line default 11395 #line hidden 11396 }); 11397 11398 #line 3010 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11399 } 11400 #line default 11401 #line hidden 11402 11403 11404 #line 3020 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11405 public RazorEngine.Templating.TemplateWriter RenderArticleListItem(ArticleListItem settings) 11406 { 11407 #line default 11408 #line hidden 11409 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11410 11411 #line 3021 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11412 11413 switch (settings.Type) { 11414 case ArticleListItemType.Card: 11415 11416 11417 #line default 11418 #line hidden 11419 11420 #line 3024 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11421 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 11422 11423 11424 #line default 11425 #line hidden 11426 11427 #line 3024 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11428 ; 11429 break; 11430 case ArticleListItemType.List: 11431 11432 11433 #line default 11434 #line hidden 11435 11436 #line 3027 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11437 WriteTo(__razor_helper_writer, RenderArticleListItemList(settings)); 11438 11439 11440 #line default 11441 #line hidden 11442 11443 #line 3027 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11444 ; 11445 break; 11446 case ArticleListItemType.Simple: 11447 11448 11449 #line default 11450 #line hidden 11451 11452 #line 3030 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11453 WriteTo(__razor_helper_writer, RenderArticleListItemSimple(settings)); 11454 11455 11456 #line default 11457 #line hidden 11458 11459 #line 3030 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11460 ; 11461 break; 11462 default: 11463 11464 11465 #line default 11466 #line hidden 11467 11468 #line 3033 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11469 WriteTo(__razor_helper_writer, RenderArticleListItemCard(settings)); 11470 11471 11472 #line default 11473 #line hidden 11474 11475 #line 3033 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11476 ; 11477 break; 11478 } 11479 11480 11481 #line default 11482 #line hidden 11483 }); 11484 11485 #line 3036 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11486 } 11487 #line default 11488 #line hidden 11489 11490 11491 #line 3038 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11492 public RazorEngine.Templating.TemplateWriter RenderArticleListItemCard(ArticleListItem settings) { 11493 #line default 11494 #line hidden 11495 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11496 11497 #line 3038 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11498 11499 11500 11501 #line default 11502 #line hidden 11503 WriteLiteralTo(__razor_helper_writer, " <a"); 11504 11505 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 122043), Tuple.Create("\"", 122064) 11506 11507 #line 3039 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11508 , Tuple.Create(Tuple.Create("", 122050), Tuple.Create<System.Object, System.Int32>(settings.Link 11509 11510 #line default 11511 #line hidden 11512 , 122050), false) 11513 ); 11514 11515 WriteLiteralTo(__razor_helper_writer, " class=\"u-full-height u-color-light--bg\""); 11516 11517 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11518 11519 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light--bg u-no-padding dw-mod\""); 11520 11521 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11522 11523 11524 #line 3041 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11525 11526 11527 #line default 11528 #line hidden 11529 11530 #line 3041 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11531 if (settings.Logo != null) 11532 { 11533 string backgroundImage = settings.Image != null ? "background-image:url(/Admin/Public/GetImage.ashx?width=992&amp;height=760&amp;crop=0&amp;Compression=75&amp;DoNotUpscale=True&amp;image=" + settings.Image.Path + "); background-size: cover;" : ""; 11534 settings.Logo.ImageDefault.Crop = 5; 11535 settings.Logo.ImageDefault.Width = settings.Logo.ImageDefault.Width == 1920 ? 240 : settings.Logo.ImageDefault.Width; 11536 settings.Logo.ImageDefault.Height = settings.Logo.ImageDefault.Height == 1080 ? 200 : settings.Logo.ImageDefault.Height; 11537 11538 11539 #line default 11540 #line hidden 11541 WriteLiteralTo(__razor_helper_writer, " <div"); 11542 11543 WriteLiteralTo(__razor_helper_writer, " class=\"image-hover__wrapper layered-image layered-image--tinted dw-mod\""); 11544 11545 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 122909), Tuple.Create("\"", 122933) 11546 11547 #line 3047 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11548 , Tuple.Create(Tuple.Create("", 122917), Tuple.Create<System.Object, System.Int32>(backgroundImage 11549 11550 #line default 11551 #line hidden 11552 , 122917), false) 11553 ); 11554 11555 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11556 11557 11558 #line 3048 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11559 11560 11561 #line default 11562 #line hidden 11563 11564 #line 3048 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11565 if (settings.Stickers != null) 11566 { 11567 if (settings.Stickers.Position != StickersListPosition.Custom) 11568 { 11569 11570 11571 #line default 11572 #line hidden 11573 11574 #line 3052 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11575 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 11576 11577 11578 #line default 11579 #line hidden 11580 11581 #line 3052 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11582 ; 11583 } 11584 } 11585 11586 11587 #line default 11588 #line hidden 11589 WriteLiteralTo(__razor_helper_writer, " "); 11590 11591 11592 #line 3055 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11593 WriteTo(__razor_helper_writer, RenderImage(settings.Logo)); 11594 11595 11596 #line default 11597 #line hidden 11598 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 11599 11600 11601 #line 3057 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11602 } else if (settings.Image != null) 11603 { 11604 11605 11606 #line default 11607 #line hidden 11608 WriteLiteralTo(__razor_helper_writer, " <div"); 11609 11610 WriteLiteralTo(__razor_helper_writer, " class=\"flex-img image-hover__wrapper u-position-relative dw-mod\""); 11611 11612 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11613 11614 11615 #line 3060 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11616 11617 11618 #line default 11619 #line hidden 11620 11621 #line 3060 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11622 if (settings.Stickers != null) 11623 { 11624 if (settings.Stickers.Position != StickersListPosition.Custom) 11625 { 11626 11627 11628 #line default 11629 #line hidden 11630 11631 #line 3064 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11632 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 11633 11634 11635 #line default 11636 #line hidden 11637 11638 #line 3064 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11639 ; 11640 } 11641 } 11642 11643 11644 #line default 11645 #line hidden 11646 WriteLiteralTo(__razor_helper_writer, " "); 11647 11648 11649 #line 3067 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11650 WriteTo(__razor_helper_writer, Render(settings.Image)); 11651 11652 11653 #line default 11654 #line hidden 11655 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 11656 11657 11658 #line 3069 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11659 } 11660 11661 11662 #line default 11663 #line hidden 11664 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n"); 11665 11666 11667 #line 3072 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11668 11669 11670 #line default 11671 #line hidden 11672 11673 #line 3072 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11674 if (!String.IsNullOrEmpty(settings.Title) || !String.IsNullOrEmpty(settings.Summary)) 11675 { 11676 11677 11678 #line default 11679 #line hidden 11680 WriteLiteralTo(__razor_helper_writer, " <div"); 11681 11682 WriteLiteralTo(__razor_helper_writer, " class=\"card u-color-light--bg dw-mod\""); 11683 11684 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11685 11686 11687 #line 3075 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11688 11689 11690 #line default 11691 #line hidden 11692 11693 #line 3075 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11694 if (settings.Stickers != null) 11695 { 11696 if (settings.Stickers.Position == StickersListPosition.Custom) 11697 { 11698 11699 11700 #line default 11701 #line hidden 11702 11703 #line 3079 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11704 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 11705 11706 11707 #line default 11708 #line hidden 11709 11710 #line 3079 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11711 ; 11712 } 11713 } 11714 11715 11716 #line default 11717 #line hidden 11718 WriteLiteralTo(__razor_helper_writer, " "); 11719 11720 11721 #line 3082 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11722 if (!String.IsNullOrEmpty(settings.Title)) 11723 { 11724 11725 11726 #line default 11727 #line hidden 11728 WriteLiteralTo(__razor_helper_writer, " <h3"); 11729 11730 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text dw-mod\""); 11731 11732 WriteLiteralTo(__razor_helper_writer, ">"); 11733 11734 11735 #line 3084 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11736 WriteTo(__razor_helper_writer, settings.Title); 11737 11738 11739 #line default 11740 #line hidden 11741 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n"); 11742 11743 11744 #line 3085 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11745 } 11746 11747 11748 #line default 11749 #line hidden 11750 WriteLiteralTo(__razor_helper_writer, " "); 11751 11752 11753 #line 3086 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11754 if (!String.IsNullOrEmpty(settings.SubTitle)) 11755 { 11756 11757 11758 #line default 11759 #line hidden 11760 WriteLiteralTo(__razor_helper_writer, " <div"); 11761 11762 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 11763 11764 WriteLiteralTo(__razor_helper_writer, ">"); 11765 11766 11767 #line 3088 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11768 WriteTo(__razor_helper_writer, settings.SubTitle); 11769 11770 11771 #line default 11772 #line hidden 11773 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 11774 11775 11776 #line 3089 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11777 } 11778 11779 11780 #line default 11781 #line hidden 11782 WriteLiteralTo(__razor_helper_writer, " "); 11783 11784 11785 #line 3090 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11786 if (!String.IsNullOrEmpty(settings.Summary)) 11787 { 11788 11789 11790 #line default 11791 #line hidden 11792 WriteLiteralTo(__razor_helper_writer, " <p"); 11793 11794 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary dw-mod\""); 11795 11796 WriteLiteralTo(__razor_helper_writer, ">"); 11797 11798 11799 #line 3092 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11800 WriteTo(__razor_helper_writer, settings.Summary); 11801 11802 11803 #line default 11804 #line hidden 11805 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 11806 11807 11808 #line 3093 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11809 } 11810 11811 11812 #line default 11813 #line hidden 11814 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 11815 11816 11817 #line 3095 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11818 } 11819 11820 11821 #line default 11822 #line hidden 11823 WriteLiteralTo(__razor_helper_writer, " </a>\r\n"); 11824 11825 11826 #line 3097 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11827 11828 11829 #line default 11830 #line hidden 11831 }); 11832 11833 #line 3097 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11834 } 11835 #line default 11836 #line hidden 11837 11838 11839 #line 3099 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11840 public RazorEngine.Templating.TemplateWriter RenderArticleListItemList(ArticleListItem settings) { 11841 #line default 11842 #line hidden 11843 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 11844 11845 #line 3099 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11846 11847 11848 11849 #line default 11850 #line hidden 11851 WriteLiteralTo(__razor_helper_writer, " <a"); 11852 11853 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 125122), Tuple.Create("\"", 125143) 11854 11855 #line 3100 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11856 , Tuple.Create(Tuple.Create("", 125129), Tuple.Create<System.Object, System.Int32>(settings.Link 11857 11858 #line default 11859 #line hidden 11860 , 125129), false) 11861 ); 11862 11863 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11864 11865 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-color-light--bg u-no-padding dw-mod\""); 11866 11867 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11868 11869 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-3\""); 11870 11871 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 11872 11873 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-light--bg u-no-padding dw-mod\""); 11874 11875 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11876 11877 11878 #line 3104 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11879 11880 11881 #line default 11882 #line hidden 11883 11884 #line 3104 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11885 if (settings.Logo != null) 11886 { 11887 string backgroundImage = settings.Image != null ? "background-image:url(/Admin/Public/GetImage.ashx?width=992&amp;height=760&amp;crop=0&amp;Compression=75&amp;DoNotUpscale=True&amp;image=" + settings.Image.Path + "); background-size: cover;" : ""; 11888 settings.Logo.ImageDefault.Crop = 5; 11889 settings.Logo.ImageDefault.Width = settings.Logo.ImageDefault.Width == 1920 ? 240 : settings.Logo.ImageDefault.Width; 11890 settings.Logo.ImageDefault.Height = settings.Logo.ImageDefault.Height == 1080 ? 200 : settings.Logo.ImageDefault.Height; 11891 11892 11893 #line default 11894 #line hidden 11895 WriteLiteralTo(__razor_helper_writer, " <div"); 11896 11897 WriteLiteralTo(__razor_helper_writer, " class=\"image-hover__wrapper layered-image layered-image--tinted dw-mod\""); 11898 11899 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 126120), Tuple.Create("\"", 126144) 11900 11901 #line 3110 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11902 , Tuple.Create(Tuple.Create("", 126128), Tuple.Create<System.Object, System.Int32>(backgroundImage 11903 11904 #line default 11905 #line hidden 11906 , 126128), false) 11907 ); 11908 11909 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11910 11911 11912 #line 3111 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11913 11914 11915 #line default 11916 #line hidden 11917 11918 #line 3111 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11919 if (settings.Stickers != null) 11920 { 11921 if (settings.Stickers.Position != StickersListPosition.Custom) 11922 { 11923 11924 11925 #line default 11926 #line hidden 11927 11928 #line 3115 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11929 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 11930 11931 11932 #line default 11933 #line hidden 11934 11935 #line 3115 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11936 ; 11937 } 11938 } 11939 11940 11941 #line default 11942 #line hidden 11943 WriteLiteralTo(__razor_helper_writer, " "); 11944 11945 11946 #line 3118 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11947 WriteTo(__razor_helper_writer, RenderImage(settings.Logo)); 11948 11949 11950 #line default 11951 #line hidden 11952 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 11953 11954 11955 #line 3120 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11956 } else if (settings.Image != null) 11957 { 11958 11959 11960 #line default 11961 #line hidden 11962 WriteLiteralTo(__razor_helper_writer, " <div"); 11963 11964 WriteLiteralTo(__razor_helper_writer, " class=\"flex-img image-hover__wrapper dw-mod\""); 11965 11966 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 11967 11968 11969 #line 3123 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11970 11971 11972 #line default 11973 #line hidden 11974 11975 #line 3123 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11976 if (settings.Stickers != null) 11977 { 11978 if (settings.Stickers.Position != StickersListPosition.Custom) 11979 { 11980 11981 11982 #line default 11983 #line hidden 11984 11985 #line 3127 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11986 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 11987 11988 11989 #line default 11990 #line hidden 11991 11992 #line 3127 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 11993 ; 11994 } 11995 } 11996 11997 11998 #line default 11999 #line hidden 12000 WriteLiteralTo(__razor_helper_writer, " "); 12001 12002 12003 #line 3130 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12004 WriteTo(__razor_helper_writer, Render(settings.Image)); 12005 12006 12007 #line default 12008 #line hidden 12009 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 12010 12011 12012 #line 3132 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12013 } 12014 12015 12016 #line default 12017 #line hidden 12018 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n\r\n"); 12019 12020 12021 #line 3136 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12022 12023 12024 #line default 12025 #line hidden 12026 12027 #line 3136 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12028 if (!String.IsNullOrEmpty(settings.Title) || !String.IsNullOrEmpty(settings.Summary)) 12029 { 12030 12031 12032 #line default 12033 #line hidden 12034 WriteLiteralTo(__razor_helper_writer, " <div"); 12035 12036 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-9\""); 12037 12038 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12039 12040 12041 #line 3139 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12042 12043 12044 #line default 12045 #line hidden 12046 12047 #line 3139 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12048 if (!String.IsNullOrEmpty(settings.Title)) 12049 { 12050 12051 12052 #line default 12053 #line hidden 12054 WriteLiteralTo(__razor_helper_writer, " <h3"); 12055 12056 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text dw-mod\""); 12057 12058 WriteLiteralTo(__razor_helper_writer, ">"); 12059 12060 12061 #line 3141 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12062 WriteTo(__razor_helper_writer, settings.Title); 12063 12064 12065 #line default 12066 #line hidden 12067 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n"); 12068 12069 12070 #line 3142 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12071 } 12072 12073 12074 #line default 12075 #line hidden 12076 WriteLiteralTo(__razor_helper_writer, " "); 12077 12078 12079 #line 3143 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12080 if (settings.Stickers != null) 12081 { 12082 if (settings.Stickers.Position == StickersListPosition.Custom) 12083 { 12084 12085 12086 #line default 12087 #line hidden 12088 12089 #line 3147 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12090 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 12091 12092 12093 #line default 12094 #line hidden 12095 12096 #line 3147 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12097 ; 12098 } 12099 } 12100 12101 12102 #line default 12103 #line hidden 12104 WriteLiteralTo(__razor_helper_writer, " "); 12105 12106 12107 #line 3150 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12108 if (!String.IsNullOrEmpty(settings.SubTitle)) 12109 { 12110 12111 12112 #line default 12113 #line hidden 12114 WriteLiteralTo(__razor_helper_writer, " <div"); 12115 12116 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 12117 12118 WriteLiteralTo(__razor_helper_writer, ">"); 12119 12120 12121 #line 3152 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12122 WriteTo(__razor_helper_writer, settings.SubTitle); 12123 12124 12125 #line default 12126 #line hidden 12127 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 12128 12129 12130 #line 3153 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12131 } 12132 12133 12134 #line default 12135 #line hidden 12136 WriteLiteralTo(__razor_helper_writer, " "); 12137 12138 12139 #line 3154 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12140 if (!String.IsNullOrEmpty(settings.Summary)) 12141 { 12142 12143 12144 #line default 12145 #line hidden 12146 WriteLiteralTo(__razor_helper_writer, " <p"); 12147 12148 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary dw-mod\""); 12149 12150 WriteLiteralTo(__razor_helper_writer, ">"); 12151 12152 12153 #line 3156 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12154 WriteTo(__razor_helper_writer, settings.Summary); 12155 12156 12157 #line default 12158 #line hidden 12159 WriteLiteralTo(__razor_helper_writer, "</p>\r\n"); 12160 12161 12162 #line 3157 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12163 } 12164 12165 12166 #line default 12167 #line hidden 12168 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 12169 12170 12171 #line 3159 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12172 } 12173 12174 12175 #line default 12176 #line hidden 12177 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </a>\r\n"); 12178 12179 12180 #line 3162 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12181 12182 12183 #line default 12184 #line hidden 12185 }); 12186 12187 #line 3162 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12188 } 12189 #line default 12190 #line hidden 12191 12192 12193 #line 3164 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12194 public RazorEngine.Templating.TemplateWriter RenderArticleListItemSimple(ArticleListItem settings) { 12195 #line default 12196 #line hidden 12197 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12198 12199 #line 3164 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12200 12201 12202 12203 #line default 12204 #line hidden 12205 WriteLiteralTo(__razor_helper_writer, " <a"); 12206 12207 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 128611), Tuple.Create("\"", 128632) 12208 12209 #line 3165 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12210 , Tuple.Create(Tuple.Create("", 128618), Tuple.Create<System.Object, System.Int32>(settings.Link 12211 12212 #line default 12213 #line hidden 12214 , 128618), false) 12215 ); 12216 12217 WriteLiteralTo(__razor_helper_writer, " class=\"u-color-inherit\""); 12218 12219 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12220 12221 WriteLiteralTo(__razor_helper_writer, " class=\"grid u-color-light--bg u-no-padding dw-mod\""); 12222 12223 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12224 12225 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-md-12\""); 12226 12227 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12228 12229 12230 #line 3168 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12231 12232 12233 #line default 12234 #line hidden 12235 12236 #line 3168 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12237 if (!String.IsNullOrEmpty(settings.Title)) 12238 { 12239 12240 12241 #line default 12242 #line hidden 12243 WriteLiteralTo(__razor_helper_writer, " <div"); 12244 12245 WriteLiteralTo(__razor_helper_writer, " class=\"article-list-item__header u-truncate-text u-no-margin dw-mod\""); 12246 12247 WriteLiteralTo(__razor_helper_writer, ">"); 12248 12249 12250 #line 3170 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12251 WriteTo(__razor_helper_writer, settings.Title); 12252 12253 12254 #line default 12255 #line hidden 12256 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 12257 12258 12259 #line 3171 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12260 } 12261 12262 12263 #line default 12264 #line hidden 12265 WriteLiteralTo(__razor_helper_writer, " "); 12266 12267 12268 #line 3172 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12269 if (!String.IsNullOrEmpty(settings.SubTitle)) 12270 { 12271 12272 12273 #line default 12274 #line hidden 12275 WriteLiteralTo(__razor_helper_writer, " <div"); 12276 12277 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-micro-info u-truncate-text dw-mod\""); 12278 12279 WriteLiteralTo(__razor_helper_writer, ">"); 12280 12281 12282 #line 3174 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12283 WriteTo(__razor_helper_writer, settings.SubTitle); 12284 12285 12286 #line default 12287 #line hidden 12288 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 12289 12290 12291 #line 3175 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12292 } 12293 12294 12295 #line default 12296 #line hidden 12297 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n </a>\r\n"); 12298 12299 12300 #line 3179 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12301 12302 12303 #line default 12304 #line hidden 12305 }); 12306 12307 #line 3179 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12308 } 12309 #line default 12310 #line hidden 12311 12312 12313 #line 3186 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12314 public RazorEngine.Templating.TemplateWriter RenderArticleAuthorAndDate(ArticleAuthorAndDate settings) 12315 { 12316 #line default 12317 #line hidden 12318 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12319 12320 #line 3187 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12321 12322 12323 12324 #line default 12325 #line hidden 12326 WriteLiteralTo(__razor_helper_writer, " <small"); 12327 12328 WriteLiteralTo(__razor_helper_writer, " class=\"article__subscription\""); 12329 12330 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12331 12332 12333 #line 3189 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12334 12335 12336 #line default 12337 #line hidden 12338 12339 #line 3189 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12340 if (!(string.IsNullOrWhiteSpace(settings.Author) && string.IsNullOrWhiteSpace(settings.Date))) 12341 { 12342 12343 12344 #line default 12345 #line hidden 12346 WriteLiteralTo(__razor_helper_writer, " "); 12347 12348 12349 #line 3191 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12350 WriteTo(__razor_helper_writer, Translate("Written")); 12351 12352 12353 #line default 12354 #line hidden 12355 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12356 12357 12358 #line 3192 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12359 } 12360 12361 12362 #line default 12363 #line hidden 12364 WriteLiteralTo(__razor_helper_writer, " "); 12365 12366 12367 #line 3193 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12368 if (!string.IsNullOrWhiteSpace(settings.Author)) 12369 { 12370 12371 12372 #line default 12373 #line hidden 12374 WriteLiteralTo(__razor_helper_writer, " "); 12375 12376 12377 #line 3195 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12378 WriteTo(__razor_helper_writer, Translate("by")); 12379 12380 12381 #line default 12382 #line hidden 12383 WriteLiteralTo(__razor_helper_writer, " "); 12384 12385 12386 #line 3195 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12387 WriteTo(__razor_helper_writer, settings.Author); 12388 12389 12390 #line default 12391 #line hidden 12392 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12393 12394 12395 #line 3196 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12396 } 12397 12398 12399 #line default 12400 #line hidden 12401 WriteLiteralTo(__razor_helper_writer, " "); 12402 12403 12404 #line 3197 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12405 if (!string.IsNullOrWhiteSpace(settings.Date)) 12406 { 12407 12408 12409 #line default 12410 #line hidden 12411 WriteLiteralTo(__razor_helper_writer, " "); 12412 12413 12414 #line 3199 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12415 WriteTo(__razor_helper_writer, Translate("on")); 12416 12417 12418 #line default 12419 #line hidden 12420 WriteLiteralTo(__razor_helper_writer, " "); 12421 12422 12423 #line 3199 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12424 WriteTo(__razor_helper_writer, settings.Date); 12425 12426 12427 #line default 12428 #line hidden 12429 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12430 12431 12432 #line 3200 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12433 } 12434 12435 12436 #line default 12437 #line hidden 12438 WriteLiteralTo(__razor_helper_writer, " </small>\r\n"); 12439 12440 12441 #line 3202 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12442 12443 12444 #line default 12445 #line hidden 12446 }); 12447 12448 #line 3202 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12449 } 12450 #line default 12451 #line hidden 12452 12453 12454 #line 3210 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12455 public RazorEngine.Templating.TemplateWriter RenderArticleLink(ArticleLink settings) 12456 { 12457 #line default 12458 #line hidden 12459 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12460 12461 #line 3211 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12462 12463 if (!string.IsNullOrEmpty(settings.Title)) 12464 { 12465 Button link = new Button { 12466 ConfirmText = settings.ConfirmText, 12467 ConfirmTitle = settings.ConfirmTitle, 12468 ButtonType = settings.ButtonType, 12469 Id = settings.Id, 12470 Title = settings.Title, 12471 AltText = settings.AltText, 12472 OnClick = settings.OnClick, 12473 CssClass = settings.CssClass, 12474 Disabled = settings.Disabled, 12475 Icon = settings.Icon, 12476 Name = settings.Name, 12477 Href = settings.Href, 12478 ButtonLayout = settings.ButtonLayout, 12479 ExtraAttributes = settings.ExtraAttributes 12480 }; 12481 12482 12483 #line default 12484 #line hidden 12485 WriteLiteralTo(__razor_helper_writer, " <div"); 12486 12487 WriteLiteralTo(__razor_helper_writer, " class=\"grid__cell\""); 12488 12489 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12490 12491 WriteLiteralTo(__razor_helper_writer, " "); 12492 12493 12494 #line 3231 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12495 WriteTo(__razor_helper_writer, Render(link)); 12496 12497 12498 #line default 12499 #line hidden 12500 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 12501 12502 12503 #line 3233 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12504 } 12505 12506 12507 #line default 12508 #line hidden 12509 }); 12510 12511 #line 3234 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12512 } 12513 #line default 12514 #line hidden 12515 12516 12517 #line 3243 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12518 public RazorEngine.Templating.TemplateWriter RenderArticleCarousel(ArticleCarousel settings) 12519 { 12520 #line default 12521 #line hidden 12522 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12523 12524 #line 3244 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12525 12526 12527 12528 #line default 12529 #line hidden 12530 WriteLiteralTo(__razor_helper_writer, " <div"); 12531 12532 WriteLiteralTo(__razor_helper_writer, " class=\"grid\""); 12533 12534 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12535 12536 WriteLiteralTo(__razor_helper_writer, " class=\"grid__col-12\""); 12537 12538 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12539 12540 WriteLiteralTo(__razor_helper_writer, " class=\"carousel\""); 12541 12542 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 131315), Tuple.Create("\"", 131341) 12543 , Tuple.Create(Tuple.Create("", 131320), Tuple.Create("carousel_", 131320), true) 12544 12545 #line 3247 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12546 , Tuple.Create(Tuple.Create("", 131329), Tuple.Create<System.Object, System.Int32>(settings.Id 12547 12548 #line default 12549 #line hidden 12550 , 131329), false) 12551 ); 12552 12553 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12554 12555 WriteLiteralTo(__razor_helper_writer, " class=\"carousel__container js-carousel-slides dw-mod\""); 12556 12557 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12558 12559 WriteLiteralTo(__razor_helper_writer, " "); 12560 12561 12562 #line 3249 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12563 WriteTo(__razor_helper_writer, RenderBlockList(settings.SubBlocks)); 12564 12565 12566 #line default 12567 #line hidden 12568 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n"); 12569 12570 12571 #line 3254 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12572 12573 12574 12575 #line default 12576 #line hidden 12577 WriteLiteralTo(__razor_helper_writer, " <script>\r\n document.addEventListener(\"DOMContentLoaded\", function () {" + 12578 "\r\n new CarouselModule(\"#carousel_"); 12579 12580 12581 #line 3257 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12582 WriteTo(__razor_helper_writer, settings.Id); 12583 12584 12585 #line default 12586 #line hidden 12587 WriteLiteralTo(__razor_helper_writer, "\", {\r\n slideTime: 0,\r\n dots: true\r\n });\r" + 12588 "\n });\r\n </script>\r\n"); 12589 12590 12591 #line 3263 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12592 12593 12594 #line default 12595 #line hidden 12596 }); 12597 12598 #line 3263 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12599 } 12600 #line default 12601 #line hidden 12602 12603 12604 #line 3265 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12605 public RazorEngine.Templating.TemplateWriter RenderArticleCarouselSlide(ArticleCarouselSlide settings) 12606 { 12607 #line default 12608 #line hidden 12609 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12610 12611 #line 3266 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12612 12613 string imageEngine = "/Admin/Public/GetImage.ashx?"; 12614 12615 string defaultImage = settings.ImageSettings != null ? imageEngine : settings.Image; 12616 if (settings.ImageSettings != null) 12617 { 12618 defaultImage += settings.ImageSettings.Width != 0 ? "Width=" + settings.ImageSettings.Width + "&" : ""; 12619 defaultImage += settings.ImageSettings.Height != 0 ? "Height=" + settings.ImageSettings.Height + "&" : ""; 12620 defaultImage += "Crop=" + settings.ImageSettings.Crop + "&"; 12621 defaultImage += "Compression=" + settings.ImageSettings.Compression + "&"; 12622 defaultImage += "DoNotUpscale=" + settings.ImageSettings.DoNotUpscale.ToString() + "&"; 12623 defaultImage += "FillCanvas=" + settings.ImageSettings.FillCanvas.ToString() + "&"; 12624 } 12625 defaultImage += "&Image=" + settings.Image; 12626 12627 12628 12629 #line default 12630 #line hidden 12631 WriteLiteralTo(__razor_helper_writer, " <div"); 12632 12633 WriteLiteralTo(__razor_helper_writer, " class=\"carousel__slide u-min-h300px u-flex dw-mod\""); 12634 12635 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 132764), Tuple.Create("\"", 132832) 12636 , Tuple.Create(Tuple.Create("", 132772), Tuple.Create("background-size:cover;", 132772), true) 12637 , Tuple.Create(Tuple.Create(" ", 132794), Tuple.Create("background-image:url(\'", 132795), true) 12638 12639 #line 3281 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12640 , Tuple.Create(Tuple.Create("", 132817), Tuple.Create<System.Object, System.Int32>(defaultImage 12641 12642 #line default 12643 #line hidden 12644 , 132817), false) 12645 , Tuple.Create(Tuple.Create("", 132830), Tuple.Create("\')", 132830), true) 12646 ); 12647 12648 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 12649 12650 WriteLiteralTo(__razor_helper_writer, " class=\"article-carousel-item__wrap\""); 12651 12652 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 132882), Tuple.Create("\"", 132903) 12653 12654 #line 3282 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12655 , Tuple.Create(Tuple.Create("", 132889), Tuple.Create<System.Object, System.Int32>(settings.Link 12656 12657 #line default 12658 #line hidden 12659 , 132889), false) 12660 ); 12661 12662 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 132904), Tuple.Create("\"", 132927) 12663 12664 #line 3282 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12665 , Tuple.Create(Tuple.Create("", 132912), Tuple.Create<System.Object, System.Int32>(settings.Title 12666 12667 #line default 12668 #line hidden 12669 , 132912), false) 12670 ); 12671 12672 WriteLiteralTo(__razor_helper_writer, ">\r\n <h2"); 12673 12674 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-header u-truncate-text u-color-light dw-mod\""); 12675 12676 WriteLiteralTo(__razor_helper_writer, ">"); 12677 12678 12679 #line 3283 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12680 WriteTo(__razor_helper_writer, settings.Title); 12681 12682 12683 #line default 12684 #line hidden 12685 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n <div"); 12686 12687 WriteLiteralTo(__razor_helper_writer, " class=\"article-list__item-info\""); 12688 12689 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12690 12691 12692 #line 3285 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12693 12694 12695 #line default 12696 #line hidden 12697 12698 #line 3285 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12699 if (settings.Stickers != null) 12700 { 12701 settings.Stickers.Position = StickersListPosition.Custom; 12702 12703 12704 #line default 12705 #line hidden 12706 12707 #line 3288 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12708 WriteTo(__razor_helper_writer, Render(settings.Stickers)); 12709 12710 12711 #line default 12712 #line hidden 12713 12714 #line 3288 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12715 ; 12716 } 12717 12718 12719 #line default 12720 #line hidden 12721 WriteLiteralTo(__razor_helper_writer, "\r\n <small"); 12722 12723 WriteLiteralTo(__razor_helper_writer, " class=\"u-margin-top--lg u-color-light\""); 12724 12725 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 12726 12727 12728 #line 3292 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12729 12730 12731 #line default 12732 #line hidden 12733 12734 #line 3292 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12735 if (!(string.IsNullOrWhiteSpace(settings.Author) && string.IsNullOrWhiteSpace(settings.Date))) 12736 { 12737 12738 12739 #line default 12740 #line hidden 12741 WriteLiteralTo(__razor_helper_writer, " "); 12742 12743 12744 #line 3294 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12745 WriteTo(__razor_helper_writer, Translate("Written")); 12746 12747 12748 #line default 12749 #line hidden 12750 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12751 12752 12753 #line 3295 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12754 } 12755 12756 12757 #line default 12758 #line hidden 12759 WriteLiteralTo(__razor_helper_writer, " "); 12760 12761 12762 #line 3296 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12763 if (!string.IsNullOrWhiteSpace(settings.Author)) 12764 { 12765 12766 12767 #line default 12768 #line hidden 12769 WriteLiteralTo(__razor_helper_writer, " "); 12770 12771 12772 #line 3298 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12773 WriteTo(__razor_helper_writer, Translate("by")); 12774 12775 12776 #line default 12777 #line hidden 12778 WriteLiteralTo(__razor_helper_writer, " "); 12779 12780 12781 #line 3298 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12782 WriteTo(__razor_helper_writer, settings.Author); 12783 12784 12785 #line default 12786 #line hidden 12787 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12788 12789 12790 #line 3299 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12791 } 12792 12793 12794 #line default 12795 #line hidden 12796 WriteLiteralTo(__razor_helper_writer, " "); 12797 12798 12799 #line 3300 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12800 if (!string.IsNullOrWhiteSpace(settings.Date)) 12801 { 12802 12803 12804 #line default 12805 #line hidden 12806 WriteLiteralTo(__razor_helper_writer, " "); 12807 12808 12809 #line 3302 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12810 WriteTo(__razor_helper_writer, Translate("on")); 12811 12812 12813 #line default 12814 #line hidden 12815 WriteLiteralTo(__razor_helper_writer, " "); 12816 12817 12818 #line 3302 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12819 WriteTo(__razor_helper_writer, settings.Date); 12820 12821 12822 #line default 12823 #line hidden 12824 WriteLiteralTo(__razor_helper_writer, "\r\n"); 12825 12826 12827 #line 3303 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12828 } 12829 12830 12831 #line default 12832 #line hidden 12833 WriteLiteralTo(__razor_helper_writer, " </small>\r\n </div>\r\n\r\n <h3"); 12834 12835 WriteLiteralTo(__razor_helper_writer, " class=\"article__short-summary u-color-light\""); 12836 12837 WriteLiteralTo(__razor_helper_writer, ">"); 12838 12839 12840 #line 3307 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12841 WriteTo(__razor_helper_writer, settings.Summary); 12842 12843 12844 #line default 12845 #line hidden 12846 WriteLiteralTo(__razor_helper_writer, "</h3>\r\n </a>\r\n"); 12847 12848 12849 #line 3309 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12850 12851 12852 #line default 12853 #line hidden 12854 12855 #line 3309 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12856 if (settings.UseFilters == true) 12857 { 12858 12859 12860 #line default 12861 #line hidden 12862 WriteLiteralTo(__razor_helper_writer, " <div"); 12863 12864 WriteLiteralTo(__razor_helper_writer, " class=\"background-image image-filter image-filter--darken dw-mod\""); 12865 12866 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 12867 12868 12869 #line 3312 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12870 } 12871 12872 12873 #line default 12874 #line hidden 12875 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 12876 12877 12878 #line 3314 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12879 12880 12881 #line default 12882 #line hidden 12883 }); 12884 12885 #line 3314 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12886 } 12887 #line default 12888 #line hidden 12889 12890 12891 #line 3323 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12892 public RazorEngine.Templating.TemplateWriter RenderArticleVideo(ArticleVideo settings) 12893 { 12894 #line default 12895 #line hidden 12896 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12897 12898 #line 3324 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12899 12900 if (settings.Url != null) 12901 { 12902 //getting video ID from youtube URL 12903 string videoCode = settings.Url; 12904 Regex regex = new Regex(@".be\/(.[^?]*)"); 12905 Match match = regex.Match(videoCode); 12906 string videoId = ""; 12907 if (match.Success) 12908 { 12909 videoId = match.Groups[1].Value; 12910 } 12911 else 12912 { 12913 regex = new Regex(@"v=([^&]+)"); 12914 match = regex.Match(videoCode); 12915 if (match.Success) 12916 { 12917 videoId = match.Groups[1].Value; 12918 } 12919 } 12920 12921 int autoPlay = settings.AutoPlay == "true" ? 1 : 0; 12922 12923 12924 12925 #line default 12926 #line hidden 12927 WriteLiteralTo(__razor_helper_writer, " <div"); 12928 12929 WriteLiteralTo(__razor_helper_writer, " class=\"video-wrapper\""); 12930 12931 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 12932 12933 WriteLiteralTo(__razor_helper_writer, " class=\"js-youtube-video\""); 12934 12935 WriteLiteralTo(__razor_helper_writer, " data-video=\""); 12936 12937 12938 #line 3349 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12939 WriteTo(__razor_helper_writer, videoId); 12940 12941 12942 #line default 12943 #line hidden 12944 WriteLiteralTo(__razor_helper_writer, "\""); 12945 12946 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 135342), Tuple.Create("\"", 135386) 12947 , Tuple.Create(Tuple.Create("", 135347), Tuple.Create("ytPlayer", 135347), true) 12948 12949 #line 3349 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12950 , Tuple.Create(Tuple.Create("", 135355), Tuple.Create<System.Object, System.Int32>(Guid.NewGuid().ToString("N") 12951 12952 #line default 12953 #line hidden 12954 , 135355), false) 12955 ); 12956 12957 WriteLiteralTo(__razor_helper_writer, " data-auto-play=\""); 12958 12959 12960 #line 3349 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12961 WriteTo(__razor_helper_writer, autoPlay); 12962 12963 12964 #line default 12965 #line hidden 12966 WriteLiteralTo(__razor_helper_writer, "\""); 12967 12968 WriteLiteralTo(__razor_helper_writer, " data-enable-controls=\"1\""); 12969 12970 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div> \r\n"); 12971 12972 12973 #line 3351 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12974 } 12975 12976 12977 #line default 12978 #line hidden 12979 }); 12980 12981 #line 3352 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12982 } 12983 #line default 12984 #line hidden 12985 12986 12987 #line 3359 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12988 public RazorEngine.Templating.TemplateWriter RenderArticleItemGallery(IList<ItemViewModel> gallery) { 12989 #line default 12990 #line hidden 12991 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 12992 12993 #line 3359 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 12994 12995 if (gallery != null && gallery.Count > 0) 12996 { 12997 int count = 1; 12998 12999 foreach (var item in gallery) 13000 { 13001 if (item.GetFile("ImagePath") != null) 13002 { 13003 string image = item.GetFile("ImagePath").PathUrlEncoded; 13004 string imagePrefix = "/Admin/Public/GetImage.ashx?width=1200&amp;height=820&amp;crop=5&amp;Compression=75&amp;DoNotUpscale=1&amp;image="; 13005 int imagesCount = gallery.Count; 13006 13007 if (count == 1) 13008 { 13009 13010 13011 #line default 13012 #line hidden 13013 WriteLiteralTo(__razor_helper_writer, " <label"); 13014 13015 WriteLiteralTo(__razor_helper_writer, " class=\"gallery\""); 13016 13017 WriteLiteralTo(__razor_helper_writer, " for=\"ParagraphGalleryModalTrigger\""); 13018 13019 WriteLiteralTo(__razor_helper_writer, " onclick=\"Gallery.openImage(this.querySelector(\'.js-gallery\'))\""); 13020 13021 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 13022 13023 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__main-image\""); 13024 13025 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 13026 13027 WriteLiteralTo(__razor_helper_writer, " src=\"/Files/Images/placeholder.gif\""); 13028 13029 WriteLiteralTo(__razor_helper_writer, " data-src=\"/Admin/Public/GetImage.ashx?width=992&amp;height=760&amp;crop=0&amp;Co" + 13030 "mpression=75&amp;DoNotUpscale=1&amp;image="); 13031 13032 13033 #line 3376 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 13034 WriteTo(__razor_helper_writer, image); 13035 13036 13037 #line default 13038 #line hidden 13039 WriteLiteralTo(__razor_helper_writer, "\""); 13040 13041 WriteLiteralTo(__razor_helper_writer, " class=\"b-lazy flex-img js-gallery\""); 13042 13043 WriteLiteralTo(__razor_helper_writer, " alt=\"\""); 13044 13045 WriteLiteralTo(__razor_helper_writer, " data-for=\"ParagraphGallery\""); 13046 13047 WriteLiteralTo(__razor_helper_writer, " data-image=\""); 13048 13049 13050 #line 3376 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 13051 WriteTo(__razor_helper_writer, imagePrefix); 13052 13053 13054 #line default 13055 #line hidden 13056 13057 #line 3376 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 13058 WriteTo(__razor_helper_writer, image); 13059 13060 13061 #line default 13062 #line hidden 13063 WriteLiteralTo(__razor_helper_writer, "\""); 13064 13065 WriteLiteralTo(__razor_helper_writer, " />\r\n </span>\r\n <span"); 13066 13067 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__image-counter\""); 13068 13069 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 13070 13071 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-camera fa-2x\""); 13072 13073 WriteLiteralTo(__razor_helper_writer, "></i> <span"); 13074 13075 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__image-counter__number\""); 13076 13077 WriteLiteralTo(__razor_helper_writer, ">"); 13078 13079 13080 #line 3379 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 13081 WriteTo(__razor_helper_writer, imagesCount); 13082 13083 13084 #line default 13085 #line hidden 13086 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <span"); 13087 13088 WriteLiteralTo(__razor_helper_writer, " class=\"gallery__image-counter__text\""); 13089 13090 WriteLiteralTo(__razor_helper_writer, ">"); 13091 13092 13093 #line 3380 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 13094 WriteTo(__razor_helper_writer, Translate("See all")); 13095 13096 13097 #line default 13098 #line hidden 13099 WriteLiteralTo(__razor_helper_writer, " <i"); 13100 13101 WriteLiteralTo(__razor_helper_writer, " class=\"fas fa-angle-right\""); 13102 13103 WriteLiteralTo(__razor_helper_writer, "></i></span>\r\n </span>\r\n </label>\r\n"); 13104 13105 13106 #line 3383 "D:\Dynamicweb.net\Solutions\Dynamicweb\dynamicwebdemo.dwsales.dynamicweb-cms.com\Files\Templates\Designs\Rapido\_parsed\Print.parsed.cshtml" 13107 } 13108 else 13109 { 13110 13111 13112 #line default 13113 #line hidden 13114 WriteLiteralTo(__razor_helper_writer, " <div"); 13115 13116 WriteLiteralTo(__razor_helper_writer, " class=\"u-hidden js-gallery\""); 13117 13118 WriteLiteralTo(__razor_helper_writer, " data-for=