Error compiling template "Designs/Forslag_02/Paragraph/Paragraph.cshtml"
Line 28: The type or namespace name 'Input' does not exist in the namespace 'Dynamicweb' (are you missing an assembly reference?)
Line 35: The type or namespace name 'Input' does not exist in the namespace 'Dynamicweb' (are you missing an assembly reference?)

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 17 public class RazorEngine_b6669f235fc349a0affd5285ed392456 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 18 19 #line hidden 20 21 #line 5 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 22 23 private int columnsWritten { get; set; } 24 private int columns { get; set; } 25 26 public void init() 27 { 28 columnsWritten = Dynamicweb.Input.FormatInteger(System.Web.HttpContext.Current.Items["currentColumns"]); 29 columns = GetInteger("Item.Width"); 30 System.Web.HttpContext.Current.Items["currentColumns"] = columnsWritten + GetInteger("Item.Width"); 31 } 32 33 public void Fluid() 34 { 35 columnsWritten = Dynamicweb.Input.FormatInteger(System.Web.HttpContext.Current.Items["currentColumns"]); 36 columns = 12; 37 System.Web.HttpContext.Current.Items["currentColumns"] = columnsWritten + 12; 38 } 39 40 public string ColumnClass() 41 { 42 if (GetString("Item.WidthMobile") == "hide"){ 43 return "col-md-" + GetString("Item.Width") + " hidden-xs"; 44 } else { 45 return "col-md-" + GetString("Item.Width") + " col-xs-" + GetString("Item.WidthMobile"); 46 } 47 } 48 49 public string NewRow() 50 { 51 if (columns + columnsWritten > 12) 52 { 53 System.Web.HttpContext.Current.Items["currentColumns"] = columns; 54 return "</div><div class=\"row\">"; 55 } 56 else 57 { 58 return string.Empty; 59 } 60 61 } 62 63 #line default 64 #line hidden 65 66 67 #line 127 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 68 public RazorEngine.Templating.TemplateWriter RenderHeading() 69 { 70 #line default 71 #line hidden 72 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 73 74 #line 128 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 75 76 if (GetBoolean("Item.ShowTitle") != false){ 77 if (!string.IsNullOrEmpty(GetString("Item.Title"))) 78 { 79 80 81 #line default 82 #line hidden 83 WriteLiteralTo(__razor_helper_writer, "\t\t\t<h1"); 84 85 WriteLiteralTo(__razor_helper_writer, " class=\"dw-section-title\""); 86 87 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<span>\r\n"); 88 89 WriteLiteralTo(__razor_helper_writer, "\t\t\t\t\t"); 90 91 92 #line 134 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 93 WriteTo(__razor_helper_writer, GetString("Item.Title")); 94 95 96 #line default 97 #line hidden 98 WriteLiteralTo(__razor_helper_writer, " \r\n\t\t\t\t</span>\r\n\t\t\t</h1>\r\n"); 99 100 101 #line 137 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 102 } 103 } 104 105 106 #line default 107 #line hidden 108 }); 109 110 #line 139 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 111 } 112 #line default 113 #line hidden 114 115 116 #line 141 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 117 public RazorEngine.Templating.TemplateWriter RenderButton() 118 { 119 #line default 120 #line hidden 121 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 122 123 #line 142 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 124 125 var Url = GetString("Item.Link"); 126 127 if (!string.IsNullOrEmpty(Url)) 128 { 129 if (Url.Contains("http")) 130 { 131 132 133 #line default 134 #line hidden 135 WriteLiteralTo(__razor_helper_writer, "\t\t\t"); 136 137 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t\t<p"); 138 139 WriteLiteralTo(__razor_helper_writer, " class=\"pull-right\""); 140 141 WriteLiteralTo(__razor_helper_writer, " style=\"margin-bottom: 30px !important\""); 142 143 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<a"); 144 145 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 2970), Tuple.Create("\"", 3000) 146 147 #line 151 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 148 , Tuple.Create(Tuple.Create("", 2977), Tuple.Create<System.Object, System.Int32>(GetString("Item.Link") 149 150 #line default 151 #line hidden 152 , 2977), false) 153 ); 154 155 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\""); 156 157 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-dw-primary pull-right\""); 158 159 WriteLiteralTo(__razor_helper_writer, ">"); 160 161 162 #line 151 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 163 WriteTo(__razor_helper_writer, GetString("Item.LinkText")); 164 165 166 #line default 167 #line hidden 168 WriteLiteralTo(__razor_helper_writer, "</a>\r\n\t\t\t</p>\r\n\t\t\t"); 169 170 WriteLiteralTo(__razor_helper_writer, "\r\n"); 171 172 173 #line 154 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 174 } 175 else if (Url.Contains("/")) 176 { 177 178 179 #line default 180 #line hidden 181 WriteLiteralTo(__razor_helper_writer, "\t\t\t"); 182 183 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t\t<p"); 184 185 WriteLiteralTo(__razor_helper_writer, " class=\"pull-right\""); 186 187 WriteLiteralTo(__razor_helper_writer, " style=\"margin-bottom: 30px !important\""); 188 189 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<a"); 190 191 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3234), Tuple.Create("\"", 3264) 192 193 #line 159 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 194 , Tuple.Create(Tuple.Create("", 3241), Tuple.Create<System.Object, System.Int32>(GetString("Item.Link") 195 196 #line default 197 #line hidden 198 , 3241), false) 199 ); 200 201 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-dw-primary pull-right\""); 202 203 WriteLiteralTo(__razor_helper_writer, " download>"); 204 205 206 #line 159 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 207 WriteTo(__razor_helper_writer, GetString("Item.LinkText")); 208 209 210 #line default 211 #line hidden 212 WriteLiteralTo(__razor_helper_writer, "</a>\r\n\t\t\t</p>\r\n\t\t\t"); 213 214 WriteLiteralTo(__razor_helper_writer, "\r\n"); 215 216 217 #line 162 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 218 } 219 else 220 { 221 222 223 #line default 224 #line hidden 225 WriteLiteralTo(__razor_helper_writer, "\t\t\t"); 226 227 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t\t<p"); 228 229 WriteLiteralTo(__razor_helper_writer, " class=\"pull-right\""); 230 231 WriteLiteralTo(__razor_helper_writer, " style=\"margin-bottom: 30px !important\""); 232 233 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<a"); 234 235 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3468), Tuple.Create("\"", 3498) 236 237 #line 167 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 238 , Tuple.Create(Tuple.Create("", 3475), Tuple.Create<System.Object, System.Int32>(GetString("Item.Link") 239 240 #line default 241 #line hidden 242 , 3475), false) 243 ); 244 245 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-dw-primary pull-right\""); 246 247 WriteLiteralTo(__razor_helper_writer, ">"); 248 249 250 #line 167 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 251 WriteTo(__razor_helper_writer, GetString("Item.LinkText")); 252 253 254 #line default 255 #line hidden 256 WriteLiteralTo(__razor_helper_writer, "</a>\r\n\t\t\t</p>\r\n\t\t\t"); 257 258 WriteLiteralTo(__razor_helper_writer, "\r\n"); 259 260 261 #line 170 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 262 } 263 } 264 265 266 #line default 267 #line hidden 268 }); 269 270 #line 172 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 271 } 272 #line default 273 #line hidden 274 275 276 #line 174 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 277 public RazorEngine.Templating.TemplateWriter RenderSubHeading() 278 { 279 #line default 280 #line hidden 281 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 282 283 #line 175 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 284 285 if (!string.IsNullOrEmpty(GetString("Item.Subtitle"))) 286 { 287 288 289 #line default 290 #line hidden 291 WriteLiteralTo(__razor_helper_writer, "\t\t<h2>\r\n"); 292 293 WriteLiteralTo(__razor_helper_writer, "\t\t\t"); 294 295 296 #line 179 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 297 WriteTo(__razor_helper_writer, GetString("Item.Subtitle")); 298 299 300 #line default 301 #line hidden 302 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t</h2>\r\n"); 303 304 305 #line 181 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 306 } 307 308 309 #line default 310 #line hidden 311 }); 312 313 #line 182 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 314 } 315 #line default 316 #line hidden 317 318 319 #line 184 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 320 public RazorEngine.Templating.TemplateWriter RenderText() 321 { 322 #line default 323 #line hidden 324 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 325 326 #line 185 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 327 328 if (!string.IsNullOrWhiteSpace(GetString("Item.Text"))){ 329 330 331 #line default 332 #line hidden 333 WriteLiteralTo(__razor_helper_writer, "\t\t<div"); 334 335 WriteLiteralTo(__razor_helper_writer, " class=\"figure\""); 336 337 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 338 339 WriteLiteralTo(__razor_helper_writer, "\t\t\t"); 340 341 342 #line 188 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 343 WriteTo(__razor_helper_writer, GetString("Item.Text")); 344 345 346 #line default 347 #line hidden 348 WriteLiteralTo(__razor_helper_writer, "\r\n\t\t</div>\r\n"); 349 350 351 #line 190 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 352 } 353 354 355 #line default 356 #line hidden 357 }); 358 359 #line 191 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 360 } 361 #line default 362 #line hidden 363 364 365 #line 193 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 366 public RazorEngine.Templating.TemplateWriter RenderModule() 367 { 368 #line default 369 #line hidden 370 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 371 372 #line 194 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 373 374 375 376 #line default 377 #line hidden 378 379 #line 195 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 380 WriteTo(__razor_helper_writer, GetString("ParagraphModule")); 381 382 383 #line default 384 #line hidden 385 386 #line 195 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 387 388 389 390 #line default 391 #line hidden 392 }); 393 394 #line 196 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 395 } 396 #line default 397 #line hidden 398 399 400 #line 198 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 401 public RazorEngine.Templating.TemplateWriter RenderImage() 402 { 403 #line default 404 #line hidden 405 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 406 407 #line 199 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 408 409 if (!string.IsNullOrEmpty(GetString("Item.Image"))) 410 { 411 var image = System.Web.HttpContext.Current.Server.UrlEncode(GetString("Item.Image")); 412 413 414 415 #line default 416 #line hidden 417 WriteLiteralTo(__razor_helper_writer, "\t\t<!-- Choosing the smallest possible width that will work with responsive sizes " + 418 "-->\r\n"); 419 420 421 #line 205 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 422 string optimizedwidth = "1280"; 423 switch (GetString("Item.Width")){ 424 case "12": 425 optimizedwidth = "1280"; 426 break; 427 case "9": 428 optimizedwidth = "960"; 429 break; 430 case "6": 431 optimizedwidth = "722"; 432 break; 433 case "3": 434 optimizedwidth = "722"; 435 break; 436 case "8": 437 optimizedwidth = "960"; 438 break; 439 case "4": 440 optimizedwidth = "722"; 441 break; 442 } 443 444 if (GetString("Item.ImageStyle") == "ball") { 445 optimizedwidth = "500&height=500"; 446 } 447 448 449 if (string.IsNullOrEmpty(GetString("Item.Link"))) 450 { 451 452 453 #line default 454 #line hidden 455 WriteLiteralTo(__razor_helper_writer, "\t\t\t<div"); 456 457 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive dw-std-image\""); 458 459 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<img"); 460 461 WriteLiteralTo(__razor_helper_writer, " class=\"content-image img-responsive\""); 462 463 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 4897), Tuple.Create("\"", 4925) 464 465 #line 235 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 466 , Tuple.Create(Tuple.Create("", 4905), Tuple.Create<System.Object, System.Int32>(GetImageBorderCss() 467 468 #line default 469 #line hidden 470 , 4905), false) 471 ); 472 473 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 4926), Tuple.Create("\"", 5016) 474 , Tuple.Create(Tuple.Create("", 4932), Tuple.Create("/Admin/Public/GetImage.ashx?width=", 4932), true) 475 476 #line 235 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 477 , Tuple.Create(Tuple.Create("", 4966), Tuple.Create<System.Object, System.Int32>(optimizedwidth 478 479 #line default 480 #line hidden 481 , 4966), false) 482 , Tuple.Create(Tuple.Create("", 4981), Tuple.Create("&crop=1&Compression=75&image=", 4981), true) 483 484 #line 235 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 485 , Tuple.Create(Tuple.Create("", 5010), Tuple.Create<System.Object, System.Int32>(image 486 487 #line default 488 #line hidden 489 , 5010), false) 490 ); 491 492 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive\""); 493 494 WriteLiteralTo(__razor_helper_writer, " alt=\"\""); 495 496 WriteLiteralTo(__razor_helper_writer, "></img>\r\n\t\t\t</div>\r\n"); 497 498 499 #line 237 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 500 } else { 501 502 503 #line default 504 #line hidden 505 WriteLiteralTo(__razor_helper_writer, "\t\t\t<a"); 506 507 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 5084), Tuple.Create("\"", 5114) 508 509 #line 238 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 510 , Tuple.Create(Tuple.Create("", 5091), Tuple.Create<System.Object, System.Int32>(GetString("Item.Link") 511 512 #line default 513 #line hidden 514 , 5091), false) 515 ); 516 517 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t<div"); 518 519 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive dw-std-image\""); 520 521 WriteLiteralTo(__razor_helper_writer, ">\r\n\t\t\t\t\t<img"); 522 523 WriteLiteralTo(__razor_helper_writer, " class=\"content-image img-responsive\""); 524 525 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 5211), Tuple.Create("\"", 5239) 526 527 #line 240 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 528 , Tuple.Create(Tuple.Create("", 5219), Tuple.Create<System.Object, System.Int32>(GetImageBorderCss() 529 530 #line default 531 #line hidden 532 , 5219), false) 533 ); 534 535 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 5240), Tuple.Create("\"", 5330) 536 , Tuple.Create(Tuple.Create("", 5246), Tuple.Create("/Admin/Public/GetImage.ashx?width=", 5246), true) 537 538 #line 240 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 539 , Tuple.Create(Tuple.Create("", 5280), Tuple.Create<System.Object, System.Int32>(optimizedwidth 540 541 #line default 542 #line hidden 543 , 5280), false) 544 , Tuple.Create(Tuple.Create("", 5295), Tuple.Create("&crop=1&Compression=75&image=", 5295), true) 545 546 #line 240 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 547 , Tuple.Create(Tuple.Create("", 5324), Tuple.Create<System.Object, System.Int32>(image 548 549 #line default 550 #line hidden 551 , 5324), false) 552 ); 553 554 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive\""); 555 556 WriteLiteralTo(__razor_helper_writer, " alt=\"\""); 557 558 WriteLiteralTo(__razor_helper_writer, "></img>\r\n\t\t\t\t</div>\r\n\t\t\t</a>\r\n"); 559 560 561 #line 243 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 562 } 563 } 564 565 566 #line default 567 #line hidden 568 }); 569 570 #line 245 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 571 } 572 #line default 573 #line hidden 574 575 576 #line 247 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 577 578 private string GetImageBorderCss() 579 { 580 if (GetString("Item.ImageStyle") == "cover") 581 { 582 return "padding: 8px"; 583 } 584 else if (GetString("Item.ImageStyle") == "cover-border") 585 { 586 return "padding: 4px; border: 1px solid #e1e1e1; border-radius: 0px !important"; 587 } 588 else if (GetString("Item.ImageStyle") == "frame") 589 { 590 return "padding: 6px; border: 1px solid #e1e1e1; border-radius: 0px !important"; 591 } 592 else if (GetString("Item.ImageStyle") == "rounded") 593 { 594 return "border-radius: 8px !important"; 595 } 596 else if (GetString("Item.ImageStyle") == "ball") 597 { 598 return "border-radius: 1000px !important"; 599 } 600 else if (GetString("Item.ImageStyle") == "shadow") 601 { 602 return "box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2)"; 603 } 604 else 605 { 606 return string.Empty; 607 } 608 } 609 610 #line default 611 #line hidden 612 613 614 public RazorEngine_b6669f235fc349a0affd5285ed392456() { 615 } 616 617 public override void Execute() { 618 619 #line 1 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 620 621 init(); 622 623 624 #line default 625 #line hidden 626 WriteLiteral("\n\n"); 627 628 WriteLiteral("\r\n"); 629 630 631 #line 47 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 632 Write(NewRow()); 633 634 635 #line default 636 #line hidden 637 WriteLiteral("\r\n\r\n<div"); 638 639 WriteAttribute("class", Tuple.Create(" class=\"", 1112), Tuple.Create("\"", 1134) 640 641 #line 49 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 642 , Tuple.Create(Tuple.Create("", 1120), Tuple.Create<System.Object, System.Int32>(ColumnClass() 643 644 #line default 645 #line hidden 646 , 1120), false) 647 ); 648 649 WriteLiteral(">\r\n\r\n"); 650 651 652 #line 51 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 653 654 655 #line default 656 #line hidden 657 658 #line 51 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 659 if (GetString("Item.Order") == "title-first" || GetString("Item.Order") == "") 660 { 661 662 663 #line default 664 #line hidden 665 666 #line 53 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 667 Write(RenderHeading()); 668 669 670 #line default 671 #line hidden 672 673 #line 53 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 674 675 676 677 #line default 678 #line hidden 679 680 #line 54 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 681 Write(RenderImage()); 682 683 684 #line default 685 #line hidden 686 687 #line 54 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 688 689 690 691 #line default 692 #line hidden 693 694 #line 55 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 695 Write(RenderSubHeading()); 696 697 698 #line default 699 #line hidden 700 701 #line 55 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 702 703 704 705 #line default 706 #line hidden 707 708 #line 56 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 709 Write(RenderText()); 710 711 712 #line default 713 #line hidden 714 715 #line 56 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 716 717 718 719 #line default 720 #line hidden 721 722 #line 57 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 723 Write(RenderModule()); 724 725 726 #line default 727 #line hidden 728 729 #line 57 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 730 731 732 733 #line default 734 #line hidden 735 736 #line 58 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 737 Write(RenderButton()); 738 739 740 #line default 741 #line hidden 742 743 #line 58 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 744 745 } 746 747 748 #line default 749 #line hidden 750 WriteLiteral("\r\n"); 751 752 753 #line 61 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 754 755 756 #line default 757 #line hidden 758 759 #line 61 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 760 if (GetString("Item.Order") == "image-first") 761 { 762 763 764 #line default 765 #line hidden 766 WriteLiteral("\t\t\t<p>&nbsp;</p>\r\n"); 767 768 769 #line 64 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 770 771 772 #line default 773 #line hidden 774 775 #line 64 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 776 Write(RenderImage()); 777 778 779 #line default 780 #line hidden 781 782 #line 64 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 783 784 785 786 #line default 787 #line hidden 788 789 #line 65 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 790 Write(RenderHeading()); 791 792 793 #line default 794 #line hidden 795 796 #line 65 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 797 798 799 800 #line default 801 #line hidden 802 803 #line 66 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 804 Write(RenderSubHeading()); 805 806 807 #line default 808 #line hidden 809 810 #line 66 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 811 812 813 814 #line default 815 #line hidden 816 817 #line 67 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 818 Write(RenderText()); 819 820 821 #line default 822 #line hidden 823 824 #line 67 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 825 826 827 828 #line default 829 #line hidden 830 831 #line 68 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 832 Write(RenderModule()); 833 834 835 #line default 836 #line hidden 837 838 #line 68 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 839 840 841 842 #line default 843 #line hidden 844 845 #line 69 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 846 Write(RenderButton()); 847 848 849 #line default 850 #line hidden 851 852 #line 69 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 853 854 } 855 856 857 #line default 858 #line hidden 859 WriteLiteral("\r\n"); 860 861 862 #line 72 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 863 864 865 #line default 866 #line hidden 867 868 #line 72 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 869 if (GetString("Item.Order") == "title-sub-first") 870 { 871 872 873 #line default 874 #line hidden 875 876 #line 74 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 877 Write(RenderHeading()); 878 879 880 #line default 881 #line hidden 882 883 #line 74 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 884 885 886 887 #line default 888 #line hidden 889 890 #line 75 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 891 Write(RenderSubHeading()); 892 893 894 #line default 895 #line hidden 896 897 #line 75 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 898 899 900 901 #line default 902 #line hidden 903 904 #line 76 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 905 Write(RenderImage()); 906 907 908 #line default 909 #line hidden 910 911 #line 76 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 912 913 914 915 #line default 916 #line hidden 917 918 #line 77 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 919 Write(RenderText()); 920 921 922 #line default 923 #line hidden 924 925 #line 77 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 926 927 928 929 #line default 930 #line hidden 931 932 #line 78 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 933 Write(RenderModule()); 934 935 936 #line default 937 #line hidden 938 939 #line 78 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 940 941 942 943 #line default 944 #line hidden 945 946 #line 79 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 947 Write(RenderButton()); 948 949 950 #line default 951 #line hidden 952 953 #line 79 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 954 955 } 956 957 958 #line default 959 #line hidden 960 WriteLiteral("\r\n"); 961 962 963 #line 82 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 964 965 966 #line default 967 #line hidden 968 969 #line 82 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 970 if (GetString("Item.Order") == "icon-xs") 971 { 972 973 974 #line default 975 #line hidden 976 WriteLiteral("\t\t<div"); 977 978 WriteLiteral(" class=\"col-md-2\""); 979 980 WriteLiteral(">\r\n"); 981 982 WriteLiteral("\t\t\t"); 983 984 985 #line 85 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 986 Write(RenderImage()); 987 988 989 #line default 990 #line hidden 991 WriteLiteral("\r\n\t\t</div>\r\n"); 992 993 WriteLiteral("\t\t<div"); 994 995 WriteLiteral(" class=\"col-md-10\""); 996 997 WriteLiteral(">\r\n"); 998 999 WriteLiteral("\t\t\t"); 1000 1001 1002 #line 88 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1003 Write(RenderHeading()); 1004 1005 1006 #line default 1007 #line hidden 1008 WriteLiteral("\r\n"); 1009 1010 WriteLiteral("\t\t\t"); 1011 1012 1013 #line 89 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1014 Write(RenderSubHeading()); 1015 1016 1017 #line default 1018 #line hidden 1019 WriteLiteral("\r\n"); 1020 1021 WriteLiteral("\t\t\t"); 1022 1023 1024 #line 90 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1025 Write(RenderText()); 1026 1027 1028 #line default 1029 #line hidden 1030 WriteLiteral("\r\n"); 1031 1032 WriteLiteral("\t\t\t"); 1033 1034 1035 #line 91 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1036 Write(RenderModule()); 1037 1038 1039 #line default 1040 #line hidden 1041 WriteLiteral("\r\n"); 1042 1043 WriteLiteral("\t\t\t"); 1044 1045 1046 #line 92 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1047 Write(RenderButton()); 1048 1049 1050 #line default 1051 #line hidden 1052 WriteLiteral("\r\n\t\t</div>\r\n"); 1053 1054 1055 #line 94 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1056 } 1057 1058 1059 #line default 1060 #line hidden 1061 WriteLiteral("\r\n"); 1062 1063 1064 #line 96 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1065 1066 1067 #line default 1068 #line hidden 1069 1070 #line 96 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1071 if (GetString("Item.Order") == "icon-sm") 1072 { 1073 1074 1075 #line default 1076 #line hidden 1077 WriteLiteral("\t\t<div"); 1078 1079 WriteLiteral(" class=\"col-md-3\""); 1080 1081 WriteLiteral(">\r\n"); 1082 1083 WriteLiteral("\t\t\t"); 1084 1085 1086 #line 99 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1087 Write(RenderImage()); 1088 1089 1090 #line default 1091 #line hidden 1092 WriteLiteral("\r\n\t\t</div>\r\n"); 1093 1094 WriteLiteral("\t\t<div"); 1095 1096 WriteLiteral(" class=\"col-md-9\""); 1097 1098 WriteLiteral(">\r\n"); 1099 1100 WriteLiteral("\t\t\t"); 1101 1102 1103 #line 102 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1104 Write(RenderHeading()); 1105 1106 1107 #line default 1108 #line hidden 1109 WriteLiteral("\r\n"); 1110 1111 WriteLiteral("\t\t\t"); 1112 1113 1114 #line 103 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1115 Write(RenderSubHeading()); 1116 1117 1118 #line default 1119 #line hidden 1120 WriteLiteral("\r\n"); 1121 1122 WriteLiteral("\t\t\t"); 1123 1124 1125 #line 104 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1126 Write(RenderText()); 1127 1128 1129 #line default 1130 #line hidden 1131 WriteLiteral("\r\n"); 1132 1133 WriteLiteral("\t\t\t"); 1134 1135 1136 #line 105 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1137 Write(RenderModule()); 1138 1139 1140 #line default 1141 #line hidden 1142 WriteLiteral("\r\n"); 1143 1144 WriteLiteral("\t\t\t"); 1145 1146 1147 #line 106 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1148 Write(RenderButton()); 1149 1150 1151 #line default 1152 #line hidden 1153 WriteLiteral("\r\n\t\t</div>\r\n"); 1154 1155 1156 #line 108 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1157 } 1158 1159 1160 #line default 1161 #line hidden 1162 WriteLiteral("\r\n"); 1163 1164 1165 #line 110 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1166 1167 1168 #line default 1169 #line hidden 1170 1171 #line 110 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1172 if (GetString("Item.Order") == "icon-md") 1173 { 1174 1175 1176 #line default 1177 #line hidden 1178 WriteLiteral("\t\t<div"); 1179 1180 WriteLiteral(" class=\"col-md-4\""); 1181 1182 WriteLiteral(">\r\n"); 1183 1184 WriteLiteral("\t\t\t"); 1185 1186 1187 #line 113 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1188 Write(RenderImage()); 1189 1190 1191 #line default 1192 #line hidden 1193 WriteLiteral("\r\n\t\t</div>\r\n"); 1194 1195 WriteLiteral("\t\t<div"); 1196 1197 WriteLiteral(" class=\"col-md-8\""); 1198 1199 WriteLiteral(">\r\n"); 1200 1201 WriteLiteral("\t\t\t"); 1202 1203 1204 #line 116 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1205 Write(RenderHeading()); 1206 1207 1208 #line default 1209 #line hidden 1210 WriteLiteral("\r\n"); 1211 1212 WriteLiteral("\t\t\t"); 1213 1214 1215 #line 117 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1216 Write(RenderSubHeading()); 1217 1218 1219 #line default 1220 #line hidden 1221 WriteLiteral("\r\n"); 1222 1223 WriteLiteral("\t\t\t"); 1224 1225 1226 #line 118 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1227 Write(RenderText()); 1228 1229 1230 #line default 1231 #line hidden 1232 WriteLiteral("\r\n"); 1233 1234 WriteLiteral("\t\t\t"); 1235 1236 1237 #line 119 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1238 Write(RenderModule()); 1239 1240 1241 #line default 1242 #line hidden 1243 WriteLiteral("\r\n"); 1244 1245 WriteLiteral("\t\t\t"); 1246 1247 1248 #line 120 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1249 Write(RenderButton()); 1250 1251 1252 #line default 1253 #line hidden 1254 WriteLiteral("\r\n\t\t</div>\r\n"); 1255 1256 1257 #line 122 "D:\dynamicweb.net\Solutions\EGDataHealthcare\hallogstengade.dw9.dynamicweb-cms.com\files\Templates\Designs\Forslag_02\Paragraph\Paragraph.cshtml" 1258 } 1259 1260 1261 #line default 1262 #line hidden 1263 WriteLiteral("\t\r\n</div>\r\n\r\n\r\n"); 1264 1265 WriteLiteral("\r\n"); 1266 1267 WriteLiteral("\r\n"); 1268 1269 WriteLiteral("\r\n"); 1270 1271 WriteLiteral("\r\n"); 1272 1273 WriteLiteral("\r\n"); 1274 1275 WriteLiteral("\r\n"); 1276 1277 } 1278 } 1279 } 1280

1 @{ 2 init(); 3 } 4 5 @functions { 6 private int columnsWritten { get; set; } 7 private int columns { get; set; } 8 9 public void init() 10 { 11 columnsWritten = Dynamicweb.Input.FormatInteger(System.Web.HttpContext.Current.Items["currentColumns"]); 12 columns = GetInteger("Item.Width"); 13 System.Web.HttpContext.Current.Items["currentColumns"] = columnsWritten + GetInteger("Item.Width"); 14 } 15 16 public void Fluid() 17 { 18 columnsWritten = Dynamicweb.Input.FormatInteger(System.Web.HttpContext.Current.Items["currentColumns"]); 19 columns = 12; 20 System.Web.HttpContext.Current.Items["currentColumns"] = columnsWritten + 12; 21 } 22 23 public string ColumnClass() 24 { 25 if (GetString("Item.WidthMobile") == "hide"){ 26 return "col-md-" + GetString("Item.Width") + " hidden-xs"; 27 } else { 28 return "col-md-" + GetString("Item.Width") + " col-xs-" + GetString("Item.WidthMobile"); 29 } 30 } 31 32 public string NewRow() 33 { 34 if (columns + columnsWritten > 12) 35 { 36 System.Web.HttpContext.Current.Items["currentColumns"] = columns; 37 return "</div><div class=\"row\">"; 38 } 39 else 40 { 41 return string.Empty; 42 } 43 44 } 45 } 46 47 @NewRow() 48 49 <div class="@ColumnClass()"> 50 51 @if (GetString("Item.Order") == "title-first" || GetString("Item.Order") == "") 52 { 53 @RenderHeading() 54 @RenderImage() 55 @RenderSubHeading() 56 @RenderText() 57 @RenderModule() 58 @RenderButton() 59 } 60 61 @if (GetString("Item.Order") == "image-first") 62 { 63 <p>&nbsp;</p> 64 @RenderImage() 65 @RenderHeading() 66 @RenderSubHeading() 67 @RenderText() 68 @RenderModule() 69 @RenderButton() 70 } 71 72 @if (GetString("Item.Order") == "title-sub-first") 73 { 74 @RenderHeading() 75 @RenderSubHeading() 76 @RenderImage() 77 @RenderText() 78 @RenderModule() 79 @RenderButton() 80 } 81 82 @if (GetString("Item.Order") == "icon-xs") 83 { 84 <div class="col-md-2"> 85 @RenderImage() 86 </div> 87 <div class="col-md-10"> 88 @RenderHeading() 89 @RenderSubHeading() 90 @RenderText() 91 @RenderModule() 92 @RenderButton() 93 </div> 94 } 95 96 @if (GetString("Item.Order") == "icon-sm") 97 { 98 <div class="col-md-3"> 99 @RenderImage() 100 </div> 101 <div class="col-md-9"> 102 @RenderHeading() 103 @RenderSubHeading() 104 @RenderText() 105 @RenderModule() 106 @RenderButton() 107 </div> 108 } 109 110 @if (GetString("Item.Order") == "icon-md") 111 { 112 <div class="col-md-4"> 113 @RenderImage() 114 </div> 115 <div class="col-md-8"> 116 @RenderHeading() 117 @RenderSubHeading() 118 @RenderText() 119 @RenderModule() 120 @RenderButton() 121 </div> 122 } 123 124 </div> 125 126 127 @helper RenderHeading() 128 { 129 if (GetBoolean("Item.ShowTitle") != false){ 130 if (!string.IsNullOrEmpty(GetString("Item.Title"))) 131 { 132 <h1 class="dw-section-title"> 133 <span> 134 @GetString("Item.Title") 135 </span> 136 </h1> 137 } 138 } 139 } 140 141 @helper RenderButton() 142 { 143 var Url = GetString("Item.Link"); 144 145 if (!string.IsNullOrEmpty(Url)) 146 { 147 if (Url.Contains("http")) 148 { 149 <text> 150 <p class="pull-right" style="margin-bottom: 30px !important"> 151 <a href="@GetString("Item.Link")" target="_blank" class="btn btn-dw-primary pull-right">@GetString("Item.LinkText")</a> 152 </p> 153 </text> 154 } 155 else if (Url.Contains("/")) 156 { 157 <text> 158 <p class="pull-right" style="margin-bottom: 30px !important"> 159 <a href="@GetString("Item.Link")" class="btn btn-dw-primary pull-right" download>@GetString("Item.LinkText")</a> 160 </p> 161 </text> 162 } 163 else 164 { 165 <text> 166 <p class="pull-right" style="margin-bottom: 30px !important"> 167 <a href="@GetString("Item.Link")" class="btn btn-dw-primary pull-right">@GetString("Item.LinkText")</a> 168 </p> 169 </text> 170 } 171 } 172 } 173 174 @helper RenderSubHeading() 175 { 176 if (!string.IsNullOrEmpty(GetString("Item.Subtitle"))) 177 { 178 <h2> 179 @GetString("Item.Subtitle") 180 </h2> 181 } 182 } 183 184 @helper RenderText() 185 { 186 if (!string.IsNullOrWhiteSpace(GetString("Item.Text"))){ 187 <div class="figure"> 188 @GetString("Item.Text") 189 </div> 190 } 191 } 192 193 @helper RenderModule() 194 { 195 @GetString("ParagraphModule") 196 } 197 198 @helper RenderImage() 199 { 200 if (!string.IsNullOrEmpty(GetString("Item.Image"))) 201 { 202 var image = System.Web.HttpContext.Current.Server.UrlEncode(GetString("Item.Image")); 203 204 <!-- Choosing the smallest possible width that will work with responsive sizes --> 205 string optimizedwidth = "1280"; 206 switch (GetString("Item.Width")){ 207 case "12": 208 optimizedwidth = "1280"; 209 break; 210 case "9": 211 optimizedwidth = "960"; 212 break; 213 case "6": 214 optimizedwidth = "722"; 215 break; 216 case "3": 217 optimizedwidth = "722"; 218 break; 219 case "8": 220 optimizedwidth = "960"; 221 break; 222 case "4": 223 optimizedwidth = "722"; 224 break; 225 } 226 227 if (GetString("Item.ImageStyle") == "ball") { 228 optimizedwidth = "500&height=500"; 229 } 230 231 232 if (string.IsNullOrEmpty(GetString("Item.Link"))) 233 { 234 <div class="img-responsive dw-std-image"> 235 <img class="content-image img-responsive" style="@GetImageBorderCss()" src="/Admin/Public/GetImage.ashx?width=@optimizedwidth&crop=1&Compression=75&image=@image" class="img-responsive" alt=""></img> 236 </div> 237 } else { 238 <a href="@GetString("Item.Link")"> 239 <div class="img-responsive dw-std-image"> 240 <img class="content-image img-responsive" style="@GetImageBorderCss()" src="/Admin/Public/GetImage.ashx?width=@optimizedwidth&crop=1&Compression=75&image=@image" class="img-responsive" alt=""></img> 241 </div> 242 </a> 243 } 244 } 245 } 246 247 @functions { 248 private string GetImageBorderCss() 249 { 250 if (GetString("Item.ImageStyle") == "cover") 251 { 252 return "padding: 8px"; 253 } 254 else if (GetString("Item.ImageStyle") == "cover-border") 255 { 256 return "padding: 4px; border: 1px solid #e1e1e1; border-radius: 0px !important"; 257 } 258 else if (GetString("Item.ImageStyle") == "frame") 259 { 260 return "padding: 6px; border: 1px solid #e1e1e1; border-radius: 0px !important"; 261 } 262 else if (GetString("Item.ImageStyle") == "rounded") 263 { 264 return "border-radius: 8px !important"; 265 } 266 else if (GetString("Item.ImageStyle") == "ball") 267 { 268 return "border-radius: 1000px !important"; 269 } 270 else if (GetString("Item.ImageStyle") == "shadow") 271 { 272 return "box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.2)"; 273 } 274 else 275 { 276 return string.Empty; 277 } 278 } 279 } 280