Error compiling template "Designs/carstenbolldotdk/_parsed/landingpage.parsed.cshtml"
Line 252: 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 13 #line 1 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 using System.Collections.Generic; 19 using System.Linq; 20 21 #line 2 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 22 using System.Web; 23 24 #line default 25 #line hidden 26 27 28 public class RazorEngine_6364ba99ec9f452a913c5493fbada561 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 29 30 #line hidden 31 32 public RazorEngine_6364ba99ec9f452a913c5493fbada561() { 33 } 34 35 public override void Execute() { 36 WriteLiteral("\r\n\t<!--Variables-->\r\n"); 37 38 39 #line 5 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 40 41 42 #line default 43 #line hidden 44 45 #line 5 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 46 47 var attrValue = ""; 48 string currentpageid = GetString("DwPageID"); 49 string firstpageid = GetString("DwAreaFirstActivePageID"); 50 51 52 #line default 53 #line hidden 54 WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<html"); 55 56 WriteLiteral(" lang=\"en\""); 57 58 WriteLiteral(">\r\n\r\n<head>\r\n\r\n <meta"); 59 60 WriteLiteral(" charset=\"utf-8\""); 61 62 WriteLiteral(">\r\n <meta"); 63 64 WriteLiteral(" http-equiv=\"X-UA-Compatible\""); 65 66 WriteLiteral(" content=\"IE=edge\""); 67 68 WriteLiteral(">\r\n <meta"); 69 70 WriteLiteral(" name=\"viewport\""); 71 72 WriteLiteral(" content=\"width=device-width, initial-scale=1\""); 73 74 WriteLiteral(">\r\n \r\n <meta"); 75 76 WriteLiteral(" name=\"author\""); 77 78 WriteLiteral(" content=\"\""); 79 80 WriteLiteral(">\r\n\r\n <title>"); 81 82 83 #line 22 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 84 Write(GetValue("Title")); 85 86 87 #line default 88 #line hidden 89 WriteLiteral("</title>\r\n"); 90 91 92 #line 23 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 93 Write(GetValue("MetaTags")); 94 95 96 #line default 97 #line hidden 98 WriteLiteral("\r\n"); 99 100 101 #line 24 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 102 Write(GetValue("CopyRightNotice")); 103 104 105 #line default 106 #line hidden 107 WriteLiteral("\r\n\r\n\r\n <!-- Bootstrap Core CSS -->\r\n <link"); 108 109 WriteLiteral(" href=\"/Files/Templates/Designs/carstenbolldotdk/css/bootstrap.min.css\""); 110 111 WriteLiteral(" rel=\"stylesheet\""); 112 113 WriteLiteral(">\r\n\r\n <!-- Custom CSS -->\r\n <link"); 114 115 WriteLiteral(" href=\"/Files/Templates/Designs/carstenbolldotdk/css/landing-page.css\""); 116 117 WriteLiteral(" rel=\"stylesheet\""); 118 119 WriteLiteral(">\r\n <link"); 120 121 WriteLiteral(" href=\"/Files/Templates/Designs/carstenbolldotdk/css/custom.css\""); 122 123 WriteLiteral(" rel=\"stylesheet\""); 124 125 WriteLiteral(">\r\n\r\n\r\n <!-- Custom Fonts -->\r\n <link"); 126 127 WriteLiteral(" href=\"/Files/Templates/Designs/carstenbolldotdk/font-awesome/css/font-awesome.mi" + 128 "n.css\""); 129 130 WriteLiteral(" rel=\"stylesheet\""); 131 132 WriteLiteral(" type=\"text/css\""); 133 134 WriteLiteral(">\r\n <link"); 135 136 WriteLiteral(" href=\"http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400itali" + 137 "c,700italic\""); 138 139 WriteLiteral(" rel=\"stylesheet\""); 140 141 WriteLiteral(" type=\"text/css\""); 142 143 WriteLiteral(@"> 144 145 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> 146 <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> 147 <!--[if lt IE 9]> 148 <script src=""https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js""></script> 149 <script src=""https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js""></script> 150 <![endif]--> 151 152 "); 153 154 155 #line 46 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 156 Write(GetValue("Stylesheets")); 157 158 159 #line default 160 #line hidden 161 WriteLiteral("\r\n"); 162 163 164 #line 47 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 165 Write(GetValue("Javascripts")); 166 167 168 #line default 169 #line hidden 170 WriteLiteral("\r\n</head>\r\n\r\n<body>\r\n\r\n <!-- Navigation -->\r\n "); 171 172 WriteLiteral("\r\n\r\n\r\n <!-- Header -->\r\n <a"); 173 174 WriteLiteral(" name=\"about\""); 175 176 WriteLiteral("></a>\r\n <div"); 177 178 WriteLiteral(" class=\"intro-header\""); 179 180 WriteLiteral(">\r\n <div"); 181 182 WriteLiteral(" class=\"container\""); 183 184 WriteLiteral(">\r\n\r\n <div"); 185 186 WriteLiteral(" class=\"row\""); 187 188 WriteLiteral(">\r\n <div"); 189 190 WriteLiteral(" class=\"col-lg-12\""); 191 192 WriteLiteral(">\r\n <div"); 193 194 WriteLiteral(" class=\"intro-message\""); 195 196 WriteLiteral(">\r\n <h1>Carstenboll.dk</h1>\r\n <h3>A" + 197 " Personal Projects Page</h3>\r\n <hr"); 198 199 WriteLiteral(" class=\"intro-divider\""); 200 201 WriteLiteral(">\r\n <ul"); 202 203 WriteLiteral(" class=\"list-inline intro-social-buttons\""); 204 205 WriteLiteral(">\r\n <li>\r\n <a"); 206 207 WriteLiteral(" href=\"http://www.ancientcoingallery.net\""); 208 209 WriteLiteral(" class=\"btn btn-default btn-lg\""); 210 211 WriteLiteral("><i"); 212 213 WriteLiteral(" class=\"fa fa-usd fa-fw\""); 214 215 WriteLiteral("></i> <span"); 216 217 WriteLiteral(" class=\"network-name\""); 218 219 WriteLiteral(">AncientCoinGallery</span></a>\r\n </li>\r\n " + 220 " <li>\r\n "); 221 222 WriteLiteral("\r\n </li>\r\n <li>\r\n " + 223 " <a"); 224 225 WriteLiteral(" href=\"https://www.linkedin.com/in/bollcarsten\""); 226 227 WriteLiteral(" class=\"btn btn-default btn-lg\""); 228 229 WriteLiteral("><i"); 230 231 WriteLiteral(" class=\"fa fa-linkedin fa-fw\""); 232 233 WriteLiteral("></i> <span"); 234 235 WriteLiteral(" class=\"network-name\""); 236 237 WriteLiteral(">Linkedin</span></a>\r\n </li>\r\n " + 238 "</ul>\r\n </div>\r\n </div>\r\n </div>\r\n\r" + 239 "\n </div>\r\n <!-- /.container -->\r\n\r\n "); 240 241 WriteLiteral("\r\n <!-- Footer -->\r\n \r\n \r\n \r\n <footer>" + 242 "\r\n\r\n\r\n"); 243 244 245 #line 149 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 246 247 248 #line default 249 #line hidden 250 251 #line 149 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 252 if (!Dynamicweb.Input.FormatBoolean(GetGlobalValue("Global:Extranet.UserName"))) 253 { 254 255 256 #line default 257 #line hidden 258 WriteLiteral("\t\t\t<button"); 259 260 WriteLiteral(" class=\"btn btn-primary\""); 261 262 WriteLiteral(" data-toggle=\"modal\""); 263 264 WriteLiteral(" data-target=\"#login\""); 265 266 WriteLiteral(">Login<text>&nbsp;&nbsp;</text> </button>\t\t"); 267 268 269 #line 151 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 270 } 271 else 272 { 273 274 275 #line default 276 #line hidden 277 WriteLiteral(" \t<button"); 278 279 WriteLiteral(" class=\"btn btn-primary\""); 280 281 WriteAttribute("href", Tuple.Create(" href=\"", 5394), Tuple.Create("\"", 5452) 282 , Tuple.Create(Tuple.Create("", 5401), Tuple.Create("/Admin/Public/ExtranetLogoff.aspx?ID=", 5401), true) 283 284 #line 154 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 285 , Tuple.Create(Tuple.Create("", 5438), Tuple.Create<System.Object, System.Int32>(currentpageid 286 287 #line default 288 #line hidden 289 , 5438), false) 290 ); 291 292 WriteLiteral(">Logout\t</button>\r\n"); 293 294 295 #line 155 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 296 } 297 298 299 #line default 300 #line hidden 301 WriteLiteral(" \r\n \r\n<!--login modal wrap--> \r\n\t<div"); 302 303 WriteLiteral(" class=\"modal fade\""); 304 305 WriteLiteral(" id=\"login\""); 306 307 WriteLiteral(" tabindex=\"-1\""); 308 309 WriteLiteral(" role=\"dialog\""); 310 311 WriteLiteral(" aria-labelledby=\"myModalLabel\""); 312 313 WriteLiteral(" aria-hidden=\"true\""); 314 315 WriteLiteral(">\r\n\t\t<div"); 316 317 WriteLiteral(" class=\"modal-dialog modal-sm\""); 318 319 WriteLiteral(">\r\n\t\t\t<div"); 320 321 WriteLiteral(" class=\"modal-content\""); 322 323 WriteLiteral(">\r\n\t\t\t\t<div"); 324 325 WriteLiteral(" class=\"modal-header\""); 326 327 WriteLiteral(">\r\n\t\t\t\t\t<h4"); 328 329 WriteLiteral(" class=\"modal-title\""); 330 331 WriteLiteral(" id=\"myModalLabel\""); 332 333 WriteLiteral(">"); 334 335 336 #line 163 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 337 Write(Translate("Login", "Login")); 338 339 340 #line default 341 #line hidden 342 WriteLiteral("</h4>\r\n\t\t\t\t</div>\r\n\t\t\t\t<form"); 343 344 WriteLiteral(" role=\"form\""); 345 346 WriteLiteral(" id=\"loginform\""); 347 348 WriteLiteral(" method=\"post\""); 349 350 WriteLiteral(">\r\n\t\t\t\t\t<div"); 351 352 WriteLiteral(" class=\"modal-body\""); 353 354 WriteLiteral(">\r\n"); 355 356 357 #line 167 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 358 359 360 #line default 361 #line hidden 362 363 #line 167 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 364 if (!string.IsNullOrWhiteSpace(GetString("DW_extranet_error_uk"))) 365 { 366 367 368 #line default 369 #line hidden 370 WriteLiteral("\t\t\t\t\t\t\t<script>alert(\""); 371 372 373 #line 169 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 374 Write(GetValue("DW_extranet_error_uk")); 375 376 377 #line default 378 #line hidden 379 WriteLiteral("\");</script>\r\n"); 380 381 382 #line 170 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 383 } 384 385 386 #line default 387 #line hidden 388 WriteLiteral("\r\n\t\t\t\t\t\t<input"); 389 390 WriteLiteral(" type=\"hidden\""); 391 392 WriteLiteral(" name=\"ID\""); 393 394 WriteAttribute("value", Tuple.Create(" value=\"", 6153), Tuple.Create("\"", 6173) 395 396 #line 172 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 397 , Tuple.Create(Tuple.Create("", 6161), Tuple.Create<System.Object, System.Int32>(Pageview.ID 398 399 #line default 400 #line hidden 401 , 6161), false) 402 ); 403 404 WriteLiteral(">\r\n\t\t\t\t\t\t<input"); 405 406 WriteLiteral(" type=\"hidden\""); 407 408 WriteLiteral(" name=\"DWExtranetUsernameRemember\""); 409 410 WriteLiteral(" value=\"True\""); 411 412 WriteLiteral(">\r\n\t\t\t\t\t\t<input"); 413 414 WriteLiteral(" type=\"hidden\""); 415 416 WriteLiteral(" name=\"DWExtranetPasswordRemember\""); 417 418 WriteLiteral(" value=\"True\""); 419 420 WriteLiteral(">\r\n\t\t\t\t\t\t<div"); 421 422 WriteLiteral(" class=\"form-group\""); 423 424 WriteLiteral(">\r\n"); 425 426 427 #line 176 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 428 429 430 #line default 431 #line hidden 432 433 #line 176 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 434 attrValue = Translate("Enter username", "Enter username"); 435 var username2 = @GetValue("DWExtranetUsername"); 436 437 438 #line default 439 #line hidden 440 WriteLiteral("\r\n\r\n\t\t\t\t\t\t\t<label"); 441 442 WriteLiteral(" for=\"username\""); 443 444 WriteLiteral(">"); 445 446 447 #line 180 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 448 Write(Translate("Email address", "Email address")); 449 450 451 #line default 452 #line hidden 453 WriteLiteral("</label>\r\n\t\t\t\t\t\t\t<input"); 454 455 WriteLiteral(" type=\"text\""); 456 457 WriteLiteral(" class=\"form-control\""); 458 459 WriteLiteral(" name=\"username\""); 460 461 WriteLiteral(" id=\"username\""); 462 463 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 6662), Tuple.Create("\"", 6686) 464 465 #line 181 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 466 , Tuple.Create(Tuple.Create("", 6676), Tuple.Create<System.Object, System.Int32>(attrValue 467 468 #line default 469 #line hidden 470 , 6676), false) 471 ); 472 473 WriteAttribute("value", Tuple.Create(" value=\"", 6687), Tuple.Create("\"", 6705) 474 475 #line 181 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 476 , Tuple.Create(Tuple.Create("", 6695), Tuple.Create<System.Object, System.Int32>(username2 477 478 #line default 479 #line hidden 480 , 6695), false) 481 ); 482 483 WriteLiteral(">\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div"); 484 485 WriteLiteral(" class=\"form-group\""); 486 487 WriteLiteral(">\r\n"); 488 489 490 #line 184 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 491 492 493 #line default 494 #line hidden 495 496 #line 184 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 497 attrValue = Translate("Enter password", "Enter password"); 498 499 500 #line default 501 #line hidden 502 WriteLiteral("\r\n\r\n\t\t\t\t\t\t\t<label"); 503 504 WriteLiteral(" for=\"password\""); 505 506 WriteLiteral(">"); 507 508 509 #line 187 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 510 Write(Translate("Password", "Password")); 511 512 513 #line default 514 #line hidden 515 WriteLiteral("</label>\r\n\t\t\t\t\t\t\t<input"); 516 517 WriteLiteral(" type=\"password\""); 518 519 WriteLiteral(" class=\"form-control\""); 520 521 WriteLiteral(" name=\"password\""); 522 523 WriteLiteral(" id=\"password\""); 524 525 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 6990), Tuple.Create("\"", 7014) 526 527 #line 188 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 528 , Tuple.Create(Tuple.Create("", 7004), Tuple.Create<System.Object, System.Int32>(attrValue 529 530 #line default 531 #line hidden 532 , 7004), false) 533 ); 534 535 WriteLiteral(">\r\n\t\t\t\t\t\t\t<p>&nbsp;</p>\r\n\t\t\t\t\t\t\t<a"); 536 537 WriteLiteral(" class=\"pull-left\""); 538 539 WriteAttribute("href", Tuple.Create(" href=\"", 7067), Tuple.Create("\"", 7124) 540 , Tuple.Create(Tuple.Create("", 7074), Tuple.Create("/Default.aspx?ID=", 7074), true) 541 542 #line 190 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 543 , Tuple.Create(Tuple.Create("", 7091), Tuple.Create<System.Object, System.Int32>(firstpageid 544 545 #line default 546 #line hidden 547 , 7091), false) 548 , Tuple.Create(Tuple.Create("", 7103), Tuple.Create("&LoginAction=Recovery", 7103), true) 549 ); 550 551 WriteLiteral(">"); 552 553 554 #line 190 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 555 Write(Translate("Forgot your password?", "Forgot your password?")); 556 557 558 #line default 559 #line hidden 560 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t&nbsp;\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div"); 561 562 WriteLiteral(" class=\"modal-footer\""); 563 564 WriteLiteral(">\r\n\t\t\t\t\t\t<div"); 565 566 WriteLiteral(" class=\"row\""); 567 568 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div"); 569 570 WriteLiteral(" class=\"col-md-12\""); 571 572 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div"); 573 574 WriteLiteral(" class=\"checkbox pull-left\""); 575 576 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t\t\t\t<input"); 577 578 WriteLiteral(" type=\"checkbox\""); 579 580 WriteLiteral(" name=\"Autologin\""); 581 582 WriteLiteral(" checked=\"checked\""); 583 584 WriteLiteral(" value=\"True\""); 585 586 WriteLiteral("> "); 587 588 589 #line 199 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 590 Write(Translate("Remember me", "Remember me")); 591 592 593 #line default 594 #line hidden 595 WriteLiteral("\r\n\t\t\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t<button"); 596 597 WriteLiteral(" type=\"submit\""); 598 599 WriteLiteral(" class=\"btn btn-xs btn-base pull-right\""); 600 601 WriteLiteral(">"); 602 603 604 #line 202 "E:\dynamicweb.net\Solutions\Dynamicweb\cboll.net.dynamicweb-cms.com\Files\Templates\Designs\carstenbolldotdk\_parsed\landingpage.parsed.cshtml" 605 Write(Translate("Sign in", "Sign in")); 606 607 608 #line default 609 #line hidden 610 WriteLiteral("</button>\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t</" + 611 "div>\r\n\t</div>\r\n\r\n \r\n \r\n \r\n<!--login modal mine--> \r\n"); 612 613 WriteLiteral(" \r\n \r\n \r\n </footer>\r\n\r\n <!-- jQuery -->\r\n <script"); 614 615 WriteLiteral(" src=\"/Files/Templates/Designs/carstenbolldotdk/js/jquery.js\""); 616 617 WriteLiteral("></script>\r\n\r\n <!-- Bootstrap Core JavaScript -->\r\n <script"); 618 619 WriteLiteral(" src=\"/Files/Templates/Designs/carstenbolldotdk/js/bootstrap.min.js\""); 620 621 WriteLiteral("></script>\r\n \r\n <!-- Custom -->\r\n <script"); 622 623 WriteLiteral(" src=\"/Files/Templates/Designs/carstenbolldotdk/js/custom.js\""); 624 625 WriteLiteral("></script>\r\n\r\n</body>\r\n\r\n</html>\r\n \r\n"); 626 627 } 628 } 629 } 630

1 @using System 2 @using System.Web 3 4 <!--Variables--> 5 @{ 6 var attrValue = ""; 7 string currentpageid = GetString("DwPageID"); 8 string firstpageid = GetString("DwAreaFirstActivePageID"); 9 } 10 11 <!DOCTYPE html> 12 <html lang="en"> 13 14 <head> 15 16 <meta charset="utf-8"> 17 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 18 <meta name="viewport" content="width=device-width, initial-scale=1"> 19 20 <meta name="author" content=""> 21 22 <title>@GetValue("Title")</title> 23 @GetValue("MetaTags") 24 @GetValue("CopyRightNotice") 25 26 27 <!-- Bootstrap Core CSS --> 28 <link href="/Files/Templates/Designs/carstenbolldotdk/css/bootstrap.min.css" rel="stylesheet"> 29 30 <!-- Custom CSS --> 31 <link href="/Files/Templates/Designs/carstenbolldotdk/css/landing-page.css" rel="stylesheet"> 32 <link href="/Files/Templates/Designs/carstenbolldotdk/css/custom.css" rel="stylesheet"> 33 34 35 <!-- Custom Fonts --> 36 <link href="/Files/Templates/Designs/carstenbolldotdk/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"> 37 <link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> 38 39 <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> 40 <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> 41 <!--[if lt IE 9]> 42 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> 43 <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> 44 <![endif]--> 45 46 @GetValue("Stylesheets") 47 @GetValue("Javascripts") 48 </head> 49 50 <body> 51 52 <!-- Navigation --> 53 @* <nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation"> 54 <div class="container topnav"> 55 <!-- Brand and toggle get grouped for better mobile display --> 56 <div class="navbar-header"> 57 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> 58 <span class="sr-only">Toggle navigation</span> 59 <span class="icon-bar"></span> 60 <span class="icon-bar"></span> 61 <span class="icon-bar"></span> 62 </button> 63 </div> 64 <!-- Collect the nav links, forms, and other content for toggling --> 65 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> 66 @GetValue("DwNavigation(dwnav)") 67 </div> 68 <!-- /.navbar-collapse --> 69 </div> 70 <!-- /.container --> 71 </nav> *@ 72 73 74 <!-- Header --> 75 <a name="about"></a> 76 <div class="intro-header"> 77 <div class="container"> 78 79 <div class="row"> 80 <div class="col-lg-12"> 81 <div class="intro-message"> 82 <h1>Carstenboll.dk</h1> 83 <h3>A Personal Projects Page</h3> 84 <hr class="intro-divider"> 85 <ul class="list-inline intro-social-buttons"> 86 <li> 87 <a href="http://www.ancientcoingallery.net" class="btn btn-default btn-lg"><i class="fa fa-usd fa-fw"></i> <span class="network-name">AncientCoinGallery</span></a> 88 </li> 89 <li> 90 @*<a href="http://fredstrup.carstenboll.dk" class="btn btn-default btn-lg"><i class="fa fa-tree fa-fw"></i> <span class="network-name">Fredstrup</span></a>*@ 91 </li> 92 <li> 93 <a href="https://www.linkedin.com/in/bollcarsten" class="btn btn-default btn-lg"><i class="fa fa-linkedin fa-fw"></i> <span class="network-name">Linkedin</span></a> 94 </li> 95 </ul> 96 </div> 97 </div> 98 </div> 99 100 </div> 101 <!-- /.container --> 102 103 @* </div> 104 <!-- /.intro-header --> 105 106 <!-- Page Content --> 107 108 <a name="services"></a> 109 <div class="content-section-a"> 110 111 <div id="firstcontent" class="container">@GetValue("DwContent(firstcontent)")</div> 112 <!-- /.container --> 113 114 </div> 115 <!-- /.content-section-a --> 116 117 <div class="content-section-b"> 118 119 <div id="secondcontent" class="container">@GetValue("DwContent(secondcontent)")</div> 120 <!-- /.container --> 121 122 </div> 123 <!-- /.content-section-b --> 124 125 <div class="content-section-a"> 126 127 <div id="thirdcontent" class="container">@GetValue("DwContent(thirdcontent)")</div> 128 <!-- /.container --> 129 130 </div> 131 <!-- /.content-section-a --> 132 133 <a name="contact"></a> 134 <div class="banner"> 135 136 <div id="banner" class="container">@GetValue("DwContent(banner)")</div> 137 <!-- /.container --> 138 139 </div> 140 <!-- /.banner --> 141 *@ 142 <!-- Footer --> 143 144 145 146 <footer> 147 148 149 @if (!Dynamicweb.Input.FormatBoolean(GetGlobalValue("Global:Extranet.UserName"))) 150 { 151 <button class="btn btn-primary" data-toggle="modal" data-target="#login">Login<text>&nbsp;&nbsp;</text> </button> } 152 else 153 { 154 <button class="btn btn-primary" href="/Admin/Public/ExtranetLogoff.aspx?ID=@currentpageid">Logout </button> 155 } 156 157 158 <!--login modal wrap--> 159 <div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 160 <div class="modal-dialog modal-sm"> 161 <div class="modal-content"> 162 <div class="modal-header"> 163 <h4 class="modal-title" id="myModalLabel">@Translate("Login", "Login")</h4> 164 </div> 165 <form role="form" id="loginform" method="post"> 166 <div class="modal-body"> 167 @if (!string.IsNullOrWhiteSpace(GetString("DW_extranet_error_uk"))) 168 { 169 <script>alert("@GetValue("DW_extranet_error_uk")");</script> 170 } 171 172 <input type="hidden" name="ID" value="@Pageview.ID"> 173 <input type="hidden" name="DWExtranetUsernameRemember" value="True"> 174 <input type="hidden" name="DWExtranetPasswordRemember" value="True"> 175 <div class="form-group"> 176 @{ attrValue = Translate("Enter username", "Enter username"); 177 var username2 = @GetValue("DWExtranetUsername"); 178 } 179 180 <label for="username">@Translate("Email address", "Email address")</label> 181 <input type="text" class="form-control" name="username" id="username" placeholder="@attrValue" value="@username2"> 182 </div> 183 <div class="form-group"> 184 @{ attrValue = Translate("Enter password", "Enter password"); 185 } 186 187 <label for="password">@Translate("Password", "Password")</label> 188 <input type="password" class="form-control" name="password" id="password" placeholder="@attrValue"> 189 <p>&nbsp;</p> 190 <a class="pull-left" href="/Default.aspx?ID=@firstpageid&LoginAction=Recovery">@Translate("Forgot your password?", "Forgot your password?")</a> 191 &nbsp; 192 </div> 193 </div> 194 <div class="modal-footer"> 195 <div class="row"> 196 <div class="col-md-12"> 197 <div class="checkbox pull-left"> 198 <label> 199 <input type="checkbox" name="Autologin" checked="checked" value="True"> @Translate("Remember me", "Remember me") 200 </label> 201 </div> 202 <button type="submit" class="btn btn-xs btn-base pull-right">@Translate("Sign in", "Sign in")</button> 203 </div> 204 </div> 205 </div> 206 </form> 207 </div> 208 </div> 209 </div> 210 211 212 213 214 <!--login modal mine--> 215 @* 216 <div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 217 <div class="modal-dialog"> 218 <div class="modal-content"> 219 <div class="modal-header"> 220 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> 221 <h4 class="modal-title" id="myModalLabel">@Translate("Login", "Login")</h4> 222 </div> <!-- /.modal-header --> 223 <form role="form" id="loginform" method="post"> 224 <div class="modal-body"> 225 @if (!string.IsNullOrWhiteSpace(GetString("DW_extranet_error_uk"))) 226 { 227 <script>alert("@GetValue("DW_extranet_error_uk")");</script> 228 } 229 <input type="hidden" name="ID" value="@Pageview.ID"> 230 <input type="hidden" name="DWExtranetUsernameRemember" value="True"> 231 <input type="hidden" name="DWExtranetPasswordRemember" value="True"> 232 <div class="form-group"> 233 <div class="input-group"> 234 <input type="text" class="form-control" name="username" id="username" placeholder="Username"> 235 <label for="username" class="input-group-addon glyphicon glyphicon-user"></label> 236 </div> 237 </div> <!-- /.form-group --> 238 239 <div class="form-group"> 240 <div class="input-group"> 241 <input type="password" class="form-control" name="password" id="password" placeholder="Password"> 242 <label for="password" class="input-group-addon glyphicon glyphicon-lock"></label> 243 </div> <!-- /.input-group --> 244 </div> <!-- /.form-group --> 245 246 <div class="checkbox"> 247 <label> 248 <input type="checkbox" name="Autologin" checked="checked" value="True"> @Translate("Remember me", "Remember me") 249 </label> 250 </div> <!-- /.checkbox --> 251 </div> <!-- /.modal-body --> 252 253 <div class="modal-footer"> 254 <button type="submit" class="form-control btn btn-primary">Ok</button> 255 256 <div class="progress"> 257 <div class="progress-bar progress-bar-primary" role="progressbar" aria-valuenow="1" aria-valuemin="1" aria-valuemax="100" style="width: 0%;"> 258 <span class="sr-only">progress</span> 259 </div> 260 </div> 261 </div> <!-- /.modal-footer --> 262 </form> 263 </div><!-- /.modal-content --> 264 </div><!-- /.modal-dialog --> 265 </div><!-- /.modal --> 266 *@ 267 268 269 </footer> 270 271 <!-- jQuery --> 272 <script src="/Files/Templates/Designs/carstenbolldotdk/js/jquery.js"></script> 273 274 <!-- Bootstrap Core JavaScript --> 275 <script src="/Files/Templates/Designs/carstenbolldotdk/js/bootstrap.min.js"></script> 276 277 <!-- Custom --> 278 <script src="/Files/Templates/Designs/carstenbolldotdk/js/custom.js"></script> 279 280 </body> 281 282 </html> 283 284