Min side

Velkommen til din side

Error compiling template "Designs/Tapas/Extranet/NotLoggedIn.cshtml"
Line 52: 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 #line 2 "D:\dynamicweb.net\Solutions\millarco.live\Files\Templates\Designs\Tapas\Extranet\NotLoggedIn.cshtml" 17 using Dynamicweb.Rendering; 18 19 #line default 20 #line hidden 21 22 23 public class RazorEngine_e2fa84a9af3b4cbd91cf1bdd260bcaae : RazorTemplateBase<RazorTemplateModel<Template>> { 24 25 #line hidden 26 27 public RazorEngine_e2fa84a9af3b4cbd91cf1bdd260bcaae() { 28 } 29 30 public override void Execute() { 31 WriteLiteral("\r\n<div"); 32 33 WriteLiteral(" class=\"container notLoggedIn\""); 34 35 WriteLiteral(" data-bind=\"viewModel: \'LoginViewModel\'\""); 36 37 WriteLiteral(">\r\n <div"); 38 39 WriteLiteral(" data-bind=\"visible: !$root.User().IsLoggedIn()\""); 40 41 WriteLiteral(">\r\n"); 42 43 44 #line 6 "D:\dynamicweb.net\Solutions\millarco.live\Files\Templates\Designs\Tapas\Extranet\NotLoggedIn.cshtml" 45 46 47 #line default 48 #line hidden 49 50 #line 6 "D:\dynamicweb.net\Solutions\millarco.live\Files\Templates\Designs\Tapas\Extranet\NotLoggedIn.cshtml" 51 52 string displayModal = Dynamicweb.Input.RequestBoolean("ShowLoginPopup") ? ".loginModal" : ""; 53 54 55 #line default 56 #line hidden 57 WriteLiteral("\r\n <input"); 58 59 WriteLiteral(" type=\"hidden\""); 60 61 WriteLiteral(" data-bind=\"toggleModalBinding: { modalSelector:\'"); 62 63 64 #line 9 "D:\dynamicweb.net\Solutions\millarco.live\Files\Templates\Designs\Tapas\Extranet\NotLoggedIn.cshtml" 65 Write(displayModal); 66 67 68 #line default 69 #line hidden 70 WriteLiteral("\', observableModal: loginModal }\""); 71 72 WriteLiteral(" />\r\n <div"); 73 74 WriteLiteral(" class=\"col-md-12 col-sm-12 col-xs-12 badges\""); 75 76 WriteLiteral(">\r\n <h1"); 77 78 WriteLiteral(" class=\"heading h1 color-grey-80\""); 79 80 WriteLiteral(">\r\n"); 81 82 WriteLiteral(" "); 83 84 85 #line 12 "D:\dynamicweb.net\Solutions\millarco.live\Files\Templates\Designs\Tapas\Extranet\NotLoggedIn.cshtml" 86 Write(Translate("NotLoggedIn.Header", "du er ikke logget ind!")); 87 88 89 #line default 90 #line hidden 91 WriteLiteral("\r\n </h1>\r\n <div"); 92 93 WriteLiteral(" class=\"sub\""); 94 95 WriteLiteral(">\r\n"); 96 97 WriteLiteral(" "); 98 99 100 #line 15 "D:\dynamicweb.net\Solutions\millarco.live\Files\Templates\Designs\Tapas\Extranet\NotLoggedIn.cshtml" 101 Write(Translate("NotLoggedIn.Text", "Log venligst ind for at forts&aelig;tte.")); 102 103 104 #line default 105 #line hidden 106 WriteLiteral("\r\n </div>\r\n </div>\r\n <a"); 107 108 WriteLiteral(" id=\"user\""); 109 110 WriteLiteral("\r\n class=\"color-concrete\""); 111 112 WriteLiteral("\r\n data-toggle=\"modal\""); 113 114 WriteLiteral("\r\n data-target=\".loginModal\""); 115 116 WriteLiteral("\r\n data-bind=\"visible: !$root.User().IsLoggedIn(), value: loginModal = \'.lo" + 117 "ginModal\'\""); 118 119 WriteLiteral(">\r\n <div"); 120 121 WriteLiteral(" class=\"btn btn-primary btn-md xs-m-t-1 sm-m-t-1 sm-m-b-1\""); 122 123 WriteLiteral(" tabindex=\"3\""); 124 125 WriteLiteral(">"); 126 127 128 #line 23 "D:\dynamicweb.net\Solutions\millarco.live\Files\Templates\Designs\Tapas\Extranet\NotLoggedIn.cshtml" 129 Write(Translate("NotLoggedIn.LoginButton", "Log ind")); 130 131 132 #line default 133 #line hidden 134 WriteLiteral("</div>\r\n </a>\r\n </div>\r\n </div>\r\n</div>\r\n"); 135 136 } 137 } 138 } 139

1 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 2 @using Dynamicweb.Rendering; 3 4 <div class="container notLoggedIn" data-bind="viewModel: 'LoginViewModel'"> 5 <div data-bind="visible: !$root.User().IsLoggedIn()"> 6 @{ 7 string displayModal = Dynamicweb.Input.RequestBoolean("ShowLoginPopup") ? ".loginModal" : ""; 8 } 9 <input type="hidden" data-bind="toggleModalBinding: { modalSelector:'@displayModal', observableModal: loginModal }" /> 10 <div class="col-md-12 col-sm-12 col-xs-12 badges"> 11 <h1 class="heading h1 color-grey-80"> 12 @Translate("NotLoggedIn.Header", "du er ikke logget ind!") 13 </h1> 14 <div class="sub"> 15 @Translate("NotLoggedIn.Text", "Log venligst ind for at forts&aelig;tte.") 16 </div> 17 </div> 18 <a id="user" 19 class="color-concrete" 20 data-toggle="modal" 21 data-target=".loginModal" 22 data-bind="visible: !$root.User().IsLoggedIn(), value: loginModal = '.loginModal'"> 23 <div class="btn btn-primary btn-md xs-m-t-1 sm-m-t-1 sm-m-b-1" tabindex="3">@Translate("NotLoggedIn.LoginButton", "Log ind")</div> 24 </a> 25 </div> 26 </div> 27 </div> 28

Denne hjemmesiden bruker informasjonskapsler til trafikkmåling og optimering av innhold