#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 5 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPasswordConfirmation.cshtml" ViewData["Title"] = SharedLocalizer.GetLocalizedHtmlString("ForgotPassword"); #line default #line hidden BeginContext(200, 6, true); WriteLiteral("\r\n<h2>"); EndContext(); BeginContext(207, 17, false); #line 9 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPasswordConfirmation.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(224, 16, true); WriteLiteral("</h2>\r\n<p>\r\n "); EndContext(); BeginContext(241, 52, false); #line 11 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPasswordConfirmation.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("CheckEmail")); #line default #line hidden EndContext(); BeginContext(293, 11, true); WriteLiteral(";\r\n</p>\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(74, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(151, 2, true); WriteLiteral("\r\n"); EndContext(); #line 7 "C:\Users\ppatel\WorkingFolder\TestingExamples\GlobalApp\GlobalApp\Views\Home\About.cshtml" ViewData["Title"] = "About"; #line default #line hidden BeginContext(194, 4, true); WriteLiteral("<h2>"); EndContext(); BeginContext(199, 17, false); #line 10 "C:\Users\ppatel\WorkingFolder\TestingExamples\GlobalApp\GlobalApp\Views\Home\About.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(216, 11, true); WriteLiteral("</h2>\r\n<h3>"); EndContext(); BeginContext(228, 19, false); #line 11 "C:\Users\ppatel\WorkingFolder\TestingExamples\GlobalApp\GlobalApp\Views\Home\About.cshtml" Write(ViewData["Message"]); #line default #line hidden EndContext(); BeginContext(247, 71, true); WriteLiteral("</h3>\r\n\r\n<p>Use this area to provide additional information.</p>\r\n\r\n<p>"); EndContext(); BeginContext(319, 48, false); #line 15 "C:\Users\ppatel\WorkingFolder\TestingExamples\GlobalApp\GlobalApp\Views\Home\About.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Shared")); #line default #line hidden EndContext(); BeginContext(367, 9, true); WriteLiteral("</p>\r\n<p>"); EndContext(); BeginContext(377, 22, false); #line 16 "C:\Users\ppatel\WorkingFolder\TestingExamples\GlobalApp\GlobalApp\Views\Home\About.cshtml" Write(pageLocalizer["About"]); #line default #line hidden EndContext(); BeginContext(399, 8, true); WriteLiteral("</p>\r\n\r\n"); EndContext(); }
public SurveyContactInfoModelValidator(SharedLocalizer _localizer) { ValidatorOptions.Global.CascadeMode = CascadeMode.Continue; // FirstName (Page: page__start) RuleFor(x => x.FirstName).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // LastName (Page: page__start) RuleFor(x => x.LastName).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // PhoneNumber (Page: page__start) RuleFor(x => x.PhoneNumber).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Email (Page: page__start) RuleFor(x => x.Email).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Email).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); RuleFor(x => x.Email).EmailAddress(); // ProvinceOrState (Page: page__start) RuleFor(x => x.ProvinceOrState).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // ContactingUsAs (Page: page__start) RuleFor(x => x.ContactingUsAs).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactingUsAs).Must(x => new List <string> { "individual", "federal_or_agency", "private_sector", "organization_school_hospital" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // QuestionsRelateTo (Page: page__start) RuleFor(x => x.QuestionsRelateTo).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.QuestionsRelateTo).Must(x => new List <string> { "individual", "federal_or_agency", "private_sector", "organization_school_hospital" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // TopicOfEnquiry (Page: page_topics) RuleForEach(x => x.TopicOfEnquiry).Must(x => new List <string> { "personal_information", "advertising_marketing", "air_travel", "authentication_identification", "behavioural_advertising", "biometrics", "businesses_collection_pi", "businesses_safeguarding_pi", "casl_spam", "cloud", "compliance", "consent", "driver_licence", "electronic_disclosure_tribunal_decisions", "complaint_pipeda", "genetic_privacy", "gps", "health_information", "identity_theft", "online_privacy", "jurisdiction", "landlords_tenants", "non_profit_sector", "OPC_role_mandate", "outsourcing", "personal_financial_information", "privacy_kids", "privacy_breaches", "impact_assessments", "privacy_policies", "safety_law_enforcement", "sin", "social_networking", "surveillance_monitoring", "technology_privacy", "workplace_privacy", "privacy_rights" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // QuestionToInformationCenterDetails (Page: page_question_details) RuleFor(x => x.QuestionToInformationCenterDetails).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.QuestionToInformationCenterDetails).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); }
public SurveyTellOPCModelValidator(SharedLocalizer _localizer) { ValidatorOptions.Global.CascadeMode = CascadeMode.Continue; // PrivacyConcern (Page: page_main) RuleFor(x => x.PrivacyConcern).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.PrivacyConcern).Length(0, 4096).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_FirstName (Page: page_main) RuleFor(x => x.Complainant_FirstName).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_LastName (Page: page_main) RuleFor(x => x.Complainant_LastName).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_Email (Page: page_main) RuleFor(x => x.Complainant_Email).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); RuleFor(x => x.Complainant_Email).EmailAddress() ; // Complainant_PhoneNumber (Page: page_main) RuleFor(x => x.Complainant_PhoneNumber).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" ViewData["Title"] = "Home page"; #line default #line hidden BeginContext(142, 1546, true); WriteLiteral(@"<style> .overlay { position: absolute; top: 0; bottom: 0; left: 33px; right: 0; opacity: 0; transition: .5s ease-in-out; background-color: #69d5a9; width: 222px; height: 201px; } .container:hover .overlay { opacity: 1; } .text { color: white; font-size: 20px; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; } button:after { background: none } #title:after, #title:before { background-color: #189849; content: """"; display: inline-block; height: 3px; position: relative; vertical-align: middle; width: 22%; margin: 16px } /* .banner-section .owl-theme .owl-nav .owl-prev:af"); WriteLiteral(@"ter { left:50% } .banner-section .owl-theme .owl-nav .owl-prev { left: -170px; }*/ </style> <!-- Banner Section --> <section class=""banner-section""> <div class=""banner-carousel love-carousel owl-theme owl-carousel"" data-options='{""loop"": true, ""margin"": 0, ""autoheight"":true, ""lazyload"":true, ""nav"": true, ""dots"": true, ""autoplay"": true, ""autoplayTimeout"": 6000, ""smartSpeed"": 300, ""responsive"":{ ""0"" :{ ""items"": ""1"" }, ""768"" :{ ""items"" : ""1"" } , ""1000"":{ ""items"" : ""1"" }}}'> "); EndContext(); BeginContext(1712, 245, true); WriteLiteral(" <div class=\"slide-item\">\r\n\r\n <div class=\"image-layer lazy-image\" data-bg=\"url(\'images/main-slider/1.jpg\')\"></div>\r\n\r\n <div class=\"auto-container\">\r\n <div class=\"content-box\">\r\n <h2>"); EndContext(); BeginContext(1958, 52, false); #line 71 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("YouCanHelp")); #line default #line hidden EndContext(); BeginContext(2010, 6, true); WriteLiteral(" <br>"); EndContext(); BeginContext(2017, 51, false); #line 71 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ThePeople")); #line default #line hidden EndContext(); BeginContext(2068, 48, true); WriteLiteral("</h2>\r\n <div class=\"btn-box\">"); EndContext(); BeginContext(2116, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc553faf2ed4b7aab99bd9286f7c6b9d386c58d97905", async() => { BeginContext(2170, 24, true); WriteLiteral("<span class=\"btn-title\">"); EndContext(); BeginContext(2195, 51, false); #line 72 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("DonateNow")); #line default #line hidden EndContext(); BeginContext(2246, 7, true); WriteLiteral("</span>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2257, 70, true); WriteLiteral("</div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n"); EndContext(); BeginContext(2351, 243, true); WriteLiteral(" <div class=\"slide-item\">\r\n <div class=\"image-layer lazy-image\" data-bg=\"url(\'images/main-slider/2.jpg\')\"></div>\r\n\r\n <div class=\"auto-container\">\r\n <div class=\"content-box\">\r\n <h2>"); EndContext(); BeginContext(2595, 52, false); #line 83 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("YouCanHelp")); #line default #line hidden EndContext(); BeginContext(2647, 6, true); WriteLiteral(" <br>"); EndContext(); BeginContext(2654, 51, false); #line 83 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ThePeople")); #line default #line hidden EndContext(); BeginContext(2705, 48, true); WriteLiteral("</h2>\r\n <div class=\"btn-box\">"); EndContext(); BeginContext(2753, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc553faf2ed4b7aab99bd9286f7c6b9d386c58d911211", async() => { BeginContext(2807, 24, true); WriteLiteral("<span class=\"btn-title\">"); EndContext(); BeginContext(2832, 51, false); #line 84 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("DonateNow")); #line default #line hidden EndContext(); BeginContext(2883, 7, true); WriteLiteral("</span>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2894, 70, true); WriteLiteral("</div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n"); EndContext(); BeginContext(2988, 243, true); WriteLiteral(" <div class=\"slide-item\">\r\n <div class=\"image-layer lazy-image\" data-bg=\"url(\'images/main-slider/3.jpg\')\"></div>\r\n\r\n <div class=\"auto-container\">\r\n <div class=\"content-box\">\r\n <h2>"); EndContext(); BeginContext(3232, 52, false); #line 95 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("YouCanHelp")); #line default #line hidden EndContext(); BeginContext(3284, 6, true); WriteLiteral(" <br>"); EndContext(); BeginContext(3291, 51, false); #line 95 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ThePeople")); #line default #line hidden EndContext(); BeginContext(3342, 48, true); WriteLiteral("</h2>\r\n <div class=\"btn-box\">"); EndContext(); BeginContext(3390, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc553faf2ed4b7aab99bd9286f7c6b9d386c58d914518", async() => { BeginContext(3444, 24, true); WriteLiteral("<span class=\"btn-title\">"); EndContext(); BeginContext(3469, 51, false); #line 96 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("DonateNow")); #line default #line hidden EndContext(); BeginContext(3520, 7, true); WriteLiteral("</span>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3531, 653, true); WriteLiteral(@"</div> </div> </div> </div> </div> </section> <!--End Banner Section --> <!--Media Section--> <section class=""about-section""> <div class=""top-rotten-curve""></div> <div class=""bottom-rotten-curve""></div> <div class=""circle-one""></div> <div class=""circle-two""></div> <div class=""auto-container""> <div class=""row clearfix""> <!--Left Column--> <div class=""right-column col-lg-6 col-md-12 col-sm-12""> <div class=""inner""> <h1 style=""text-align: center;margin-top: -74px;padding-bottom: 52px"" id=""title"">"); EndContext(); BeginContext(4185, 48, false); #line 119 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Albums")); #line default #line hidden EndContext(); BeginContext(4233, 101, true); WriteLiteral("</h1>\r\n <div class=\"row clearfix\">\r\n <!--About Feature-->\r\n"); EndContext(); #line 122 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" foreach (var item in Model.result.Take(4)) { #line default #line hidden BeginContext(4430, 173, true); WriteLiteral(" <div class=\"about-feature col-md-6 col-sm-12\">\r\n <div class=\"container\">\r\n <img"); EndContext(); BeginWriteAttribute("src", " src=\"", 4603, "\"", 4642, 2); WriteAttributeValue("", 4609, "data:image/png;base64,", 4609, 22, true); #line 126 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" WriteAttributeValue("", 4631, item.Image, 4631, 11, false); #line default #line hidden EndWriteAttribute(); BeginContext(4643, 182, true); WriteLiteral(" style=\"height:200px;width: 222px;\" alt=\"Avatar\" class=\"image\">\r\n <div class=\"overlay\">\r\n <div class=\"text\">"); EndContext(); BeginContext(4826, 16, false); #line 128 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(item.Description); #line default #line hidden EndContext(); BeginContext(4842, 128, true); WriteLiteral("</div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); #line 132 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" } #line default #line hidden BeginContext(4999, 349, true); WriteLiteral(@" </div> </div> </div> <!--Right Column--> <div class=""right-column col-lg-6 col-md-12 col-sm-12""> <div class=""inner""> <div> <h1 style=""text-align: center;margin-top: -74px;padding-bottom: 52px"" id=""title"">"); EndContext(); BeginContext(5349, 48, false); #line 144 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Vedios")); #line default #line hidden EndContext(); BeginContext(5397, 129, true); WriteLiteral("</h1>\r\n </div>\r\n <div class=\"row clearfix\">\r\n <!--About Feature-->\r\n"); EndContext(); #line 148 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" foreach (var item in Model.vedioResult.Take(4)) { #line default #line hidden BeginContext(5629, 201, true); WriteLiteral(" <div class=\"about-feature col-md-6 col-sm-12\">\r\n <div class=\"container\">\r\n <iframe height=\"200\" width=\"250\""); EndContext(); BeginWriteAttribute("src", " src=\"", 5830, "\"", 5845, 1); #line 153 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" WriteAttributeValue("", 5836, item.URL, 5836, 9, false); #line default #line hidden EndWriteAttribute(); BeginContext(5846, 246, true); WriteLiteral(" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\r\n </div>\r\n </div>\r\n"); EndContext(); #line 156 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" } #line default #line hidden BeginContext(6119, 74, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); #line 161 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" if (Model.result.Count == 0) { #line default #line hidden BeginContext(6253, 114, true); WriteLiteral(" <div class=\"about-feature col-md-12 col-sm-12\">\r\n <p style=\"text-align:center\">"); EndContext(); BeginContext(6368, 48, false); #line 165 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("NoData")); #line default #line hidden EndContext(); BeginContext(6416, 30, true); WriteLiteral("</p>\r\n </div>\r\n"); EndContext(); #line 167 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" } #line default #line hidden BeginContext(6461, 33, true); WriteLiteral(" <!--Right Column-->\r\n"); EndContext(); #line 169 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" if (Model.result.Count > 0 && Model.vedioResult.Count > 0) { #line default #line hidden BeginContext(6582, 111, true); WriteLiteral(" <div class=\"left-column col-lg-6 col-md-12 col-sm-12\">\r\n \r\n <div class=\"btn-box\">"); EndContext(); BeginContext(6693, 141, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc553faf2ed4b7aab99bd9286f7c6b9d386c58d923805", async() => { BeginContext(6748, 24, true); WriteLiteral("<span class=\"btn-title\">"); EndContext(); BeginContext(6773, 50, false); #line 173 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ShowMore")); #line default #line hidden EndContext(); BeginContext(6823, 7, true); WriteLiteral("</span>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6834, 24, true); WriteLiteral("</div>\r\n </div>\r\n"); EndContext(); #line 175 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" } #line default #line hidden BeginContext(6873, 2, true); WriteLiteral("\r\n"); EndContext(); #line 177 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" if (Model.vedioResult.Count > 0 && Model.result.Count > 0) { #line default #line hidden BeginContext(6963, 114, true); WriteLiteral(" <div class=\"right-column col-lg-6 col-md-12 col-sm-12\">\r\n <div class=\"btn-box\">"); EndContext(); BeginContext(7077, 147, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cc553faf2ed4b7aab99bd9286f7c6b9d386c58d926496", async() => { BeginContext(7138, 24, true); WriteLiteral("<span class=\"btn-title\">"); EndContext(); BeginContext(7163, 50, false); #line 180 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ShowMore")); #line default #line hidden EndContext(); BeginContext(7213, 7, true); WriteLiteral("</span>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(7224, 32, true); WriteLiteral("</div>\r\n </div>\r\n"); EndContext(); #line 182 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Index.cshtml" } #line default #line hidden BeginContext(7271, 50, true); WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n</section>\r\n\r\n\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(132, 329, true); WriteLiteral(@"<!-- Page Banner Section --> <section class=""page-banner""> <div class=""image-layer lazy-image"" data-bg=""url('images/background/bg-banner-1.jpg')""></div> <div class=""bottom-rotten-curve""></div> <div class=""auto-container""> <h1>Our Events</h1> <ul class=""bread-crumb clearfix""> <li>"); EndContext(); BeginContext(461, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "046b21be9ccc8e67851b88638b09790379b39b2b3917", async() => { BeginContext(482, 46, false); #line 15 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\EventsVedios.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Home")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(532, 38, true); WriteLiteral("</li>\r\n <li class=\"active\">"); EndContext(); BeginContext(571, 48, false); #line 16 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\EventsVedios.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Events")); #line default #line hidden EndContext(); BeginContext(619, 207, true); WriteLiteral("</li>\r\n </ul>\r\n </div>\r\n\r\n</section>\r\n<!--End Banner Section -->\r\n<!--Events Section-->\r\n<section class=\"events-section\">\r\n <div class=\"auto-container\">\r\n\r\n <div class=\"row clearfix\">\r\n\r\n"); EndContext(); #line 28 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\EventsVedios.cshtml" foreach (var item in Model.vedioResult) { #line default #line hidden BeginContext(895, 400, true); WriteLiteral(@" <!--Event Block--> <div class=""event-block-three col-lg-4 col-md-6 col-sm-12""> <div class=""inner-box wow fadeInUp"" data-wow-delay=""0ms""> <div class=""image-box""> <figure class=""image""> <a> <iframe height=""250"" width=""400"""); EndContext(); BeginWriteAttribute("src", " src=\"", 1295, "\"", 1310, 1); #line 37 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\EventsVedios.cshtml" WriteAttributeValue("", 1301, item.URL, 1301, 9, false); #line default #line hidden EndWriteAttribute(); BeginContext(1311, 313, true); WriteLiteral(@" title=""YouTube video player"" frameborder=""0"" allow=""accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"" allowfullscreen></iframe> </a> </figure> <div class=""date""><span class=""month"">"); EndContext(); BeginContext(1625, 9, false); #line 40 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\EventsVedios.cshtml" Write(item.Type); #line default #line hidden EndContext(); BeginContext(1634, 232, true); WriteLiteral("</span></div>\r\n </div>\r\n <div class=\"lower-content\">\r\n <ul class=\"info clearfix\">\r\n <li><span class=\"icon far fa-clock\"></span> "); EndContext(); BeginContext(1867, 14, false); #line 44 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\EventsVedios.cshtml" Write(item.CreatedAt); #line default #line hidden EndContext(); BeginContext(1881, 126, true); WriteLiteral("</li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); #line 49 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\EventsVedios.cshtml" } #line default #line hidden BeginContext(2022, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(2286, 42, true); WriteLiteral("\r\n </div>\r\n\r\n </div>\r\n</section>"); EndContext(); }
public TellOPCSurveyController(IStringLocalizerFactory factory) { _localizer = new SharedLocalizer(factory); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(70, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(137, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(214, 2, true); WriteLiteral("\r\n"); EndContext(); #line 10 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" ViewData["Title"] = "Homepage"; #line default #line hidden BeginContext(260, 27, true); WriteLiteral("\r\n<!doctype html>\r\n<html>\r\n"); EndContext(); BeginContext(287, 721, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "af9815a43eb2449c91777fa7f07ad8cc", async() => { BeginContext(293, 708, true); WriteLiteral(@" <style> .menu { } img.gamepicture { width:inherit; height:100%; } ul.menu > li { border: 1px solid black } .gameboxContainer{ display: flex; flex-wrap: wrap; } .gamebox { text-align: center; width: 18%; height: auto; margin: 1%; padding-bottom: 5%; } div.gamebox > a{ width:100%; } </style> <meta charset=""utf-8""> <link rel=""stylesheet"" href=""https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css""> "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1008, 2, true); WriteLiteral("\r\n"); EndContext(); #line 52 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" string currentUserName = ViewBag.GetCurrentViewUsername(); bool thisIsLoggedUserGames = ViewBag.IsThisLoggedUserGamesView(); #line default #line hidden BeginContext(1152, 2213, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0c6fa579125c433da572b24dcf7aff97", async() => { BeginContext(1158, 25, true); WriteLiteral("\r\n <div class=\"row\">\r\n"); EndContext(); #line 58 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" if (thisIsLoggedUserGames) { #line default #line hidden BeginContext(1231, 16, true); WriteLiteral(" <h3>"); EndContext(); BeginContext(1248, 51, false); #line 60 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("YourGames")); #line default #line hidden EndContext(); BeginContext(1299, 7, true); WriteLiteral("</h3>\r\n"); EndContext(); #line 61 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" } else { #line default #line hidden BeginContext(1342, 16, true); WriteLiteral(" <h3>"); EndContext(); BeginContext(1359, 51, false); #line 64 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("UserGames")); #line default #line hidden EndContext(); BeginContext(1410, 1, true); WriteLiteral(" "); EndContext(); BeginContext(1412, 25, false); #line 64 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" Write(Html.Raw(currentUserName)); #line default #line hidden EndContext(); BeginContext(1437, 7, true); WriteLiteral("</h3>\r\n"); EndContext(); #line 65 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" } #line default #line hidden BeginContext(1455, 42, true); WriteLiteral("\r\n <div class=\"gameboxContainer\">\r\n"); EndContext(); #line 68 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" if (thisIsLoggedUserGames) { #line default #line hidden BeginContext(1553, 51, true); WriteLiteral(" <div class=\"gamebox\">\r\n "); EndContext(); BeginContext(1604, 174, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d8fb7d4b3bb5477eacc041fce1767e12", async() => { BeginContext(1675, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1697, 59, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5907a5ced91d43a8ace4f08efcffeaf3", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1756, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1778, 22, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 75 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" } #line default #line hidden BeginContext(1815, 2, true); WriteLiteral("\r\n"); EndContext(); #line 77 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" foreach (Game game in Model) { #line default #line hidden BeginContext(1875, 39, true); WriteLiteral(" <div class=\"gamebox\">\r\n"); EndContext(); #line 80 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" if (game.Photo != null) { #line default #line hidden BeginContext(1983, 24, true); WriteLiteral(" "); EndContext(); BeginContext(2007, 198, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "990d3e3e7802417bbf132d65766edc92", async() => { BeginContext(2063, 34, true); WriteLiteral("\r\n <img"); EndContext(); BeginWriteAttribute("src", " src=\"", 2097, "\"", 2151, 1); #line 83 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" WriteAttributeValue("", 2103, Url.Action("RenderImage", new { id = game.Id }), 2103, 48, false); #line default #line hidden EndWriteAttribute(); BeginContext(2152, 49, true); WriteLiteral(" class=\"gamepicture\" />\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2205, 2, true); WriteLiteral("\r\n"); EndContext(); #line 85 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" } else { //dostęp do każdej gry #line default #line hidden BeginContext(2327, 24, true); WriteLiteral(" "); EndContext(); BeginContext(2351, 180, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "84b9ab1b720247ddacd812057913c8f4", async() => { BeginContext(2407, 30, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2437, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "af2e87cc0c9540c8b28f6d2b639822b5", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2501, 26, true); WriteLiteral("\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2531, 2, true); WriteLiteral("\r\n"); EndContext(); #line 92 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" } #line default #line hidden BeginContext(2556, 42, true); WriteLiteral(" <p style=\"padding:1%\">"); EndContext(); BeginContext(2599, 9, false); #line 93 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" Write(game.Name); #line default #line hidden EndContext(); BeginContext(2608, 6, true); WriteLiteral("</p>\r\n"); EndContext(); #line 94 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" if (game.CreatorId == UserManager.GetUserId(User)) { #line default #line hidden BeginContext(2710, 24, true); WriteLiteral(" "); EndContext(); BeginContext(2734, 193, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6a27f145b10b4ade9faeaf20b76a320e", async() => { BeginContext(2814, 30, true); WriteLiteral("\r\n "); EndContext(); BeginContext(2845, 52, false); #line 97 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ModifyGame")); #line default #line hidden EndContext(); BeginContext(2897, 26, true); WriteLiteral("\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2927, 2, true); WriteLiteral("\r\n"); EndContext(); #line 99 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" } #line default #line hidden BeginContext(2952, 24, true); WriteLiteral(" </div>\r\n"); EndContext(); #line 101 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" } #line default #line hidden BeginContext(2991, 2, true); WriteLiteral("\r\n"); EndContext(); #line 103 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\Index.cshtml" /* * @for (int i = 0; i < 5; i++) * { * <a asp-area="" asp-controller="Home" asp-action="About"> * <img src="~/images/test_game_picture.png" class="gamepicture" /> * </a> * } */ #line default #line hidden BeginContext(3330, 28, true); WriteLiteral(" </div>\r\n </div>\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3365, 13, true); WriteLiteral("\r\n</html>\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 5 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" int i = 1; #line default #line hidden BeginContext(70, 2, true); WriteLiteral("\r\n"); EndContext(); #line 7 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Layout = "~/Pages/Shared/AdminLayout.cshtml"; #line default #line hidden BeginContext(201, 253, true); WriteLiteral("<!-- Page Banner Section -->\r\n<section class=\"page-banner\">\r\n <div class=\"image-layer lazy-image\" data-bg=\"url(\'images/background/bg-banner-1.jpg\')\"></div>\r\n <div class=\"bottom-rotten-curve\"></div>\r\n\r\n <div class=\"auto-container\">\r\n <h1>"); EndContext(); BeginContext(455, 51, false); #line 18 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Our_Cases")); #line default #line hidden EndContext(); BeginContext(506, 66, true); WriteLiteral("</h1>\r\n <ul class=\"bread-crumb clearfix\">\r\n <li>"); EndContext(); BeginContext(572, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "31fc2973c114913e6655ed91cdc5038f92bb06175339", async() => { BeginContext(594, 46, false); #line 20 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Home")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(644, 38, true); WriteLiteral("</li>\r\n <li class=\"active\">"); EndContext(); BeginContext(683, 51, false); #line 21 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Our_Cases")); #line default #line hidden EndContext(); BeginContext(734, 207, true); WriteLiteral("</li>\r\n </ul>\r\n </div>\r\n\r\n</section>\r\n<!--End Banner Section -->\r\n<!--Causes Section-->\r\n<section class=\"causes-section\">\r\n <div class=\"auto-container\">\r\n\r\n <div class=\"row clearfix\">\r\n\r\n"); EndContext(); #line 33 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" foreach (var item in Model.Result) { #line default #line hidden BeginContext(1005, 279, true); WriteLiteral(@" <!--Cause Block--> <div class=""cause-block col-lg-4 col-md-6 col-sm-12""> <div class=""inner-box wow fadeInUp"" data-wow-delay=""0ms"" style=""height: 420px""> <div class=""donate-info"" style=""height:20px""> "); EndContext(); BeginContext(1422, 145, true); WriteLiteral(" <a style=\"position: absolute; top: 16px;left: 162px;\"><p style=\"font-size: 40px; color: #1a9648; font-weight: bold;\">"); EndContext(); BeginContext(1569, 3, false); #line 40 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(i++); #line default #line hidden EndContext(); BeginContext(1573, 177, true); WriteLiteral("</p></a>\r\n </div>\r\n <div class=\"lower-content\">\r\n\r\n <h3><a><span style=\"color:#3aa364;font-weight:bold\">"); EndContext(); BeginContext(1751, 46, false); #line 44 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Name")); #line default #line hidden EndContext(); BeginContext(1797, 8, true); WriteLiteral(":</span>"); EndContext(); BeginContext(1806, 13, false); #line 44 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(item.CaseName); #line default #line hidden EndContext(); BeginContext(1819, 11, true); WriteLiteral("</a></h3>\r\n"); EndContext(); BeginContext(2188, 91, true); WriteLiteral(" <div class=\"text\"><span style=\"color:#3aa364;font-weight:bold\">"); EndContext(); BeginContext(2280, 49, false); #line 47 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Address")); #line default #line hidden EndContext(); BeginContext(2329, 8, true); WriteLiteral(":</span>"); EndContext(); BeginContext(2338, 17, false); #line 47 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(item.FisrtAddress); #line default #line hidden EndContext(); BeginContext(2355, 99, true); WriteLiteral("</div>\r\n <div class=\"text\"><span style=\"color:#3aa364;font-weight:bold\">"); EndContext(); BeginContext(2455, 48, false); #line 48 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Gender")); #line default #line hidden EndContext(); BeginContext(2503, 8, true); WriteLiteral(":</span>"); EndContext(); BeginContext(2512, 15, false); #line 48 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(item.CaseGender); #line default #line hidden EndContext(); BeginContext(2527, 8, true); WriteLiteral("</div>\r\n"); EndContext(); BeginContext(2797, 54, true); WriteLiteral("\r\n\r\n <div class=\"link-box\">"); EndContext(); BeginContext(2851, 170, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "31fc2973c114913e6655ed91cdc5038f92bb061712274", async() => { BeginContext(2935, 24, true); WriteLiteral("<span class=\"btn-title\">"); EndContext(); BeginContext(2960, 50, false); #line 53 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ShowMore")); #line default #line hidden EndContext(); BeginContext(3010, 7, true); WriteLiteral("</span>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-Id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 53 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" WriteLiteral(item.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["Id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-Id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["Id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3021, 92, true); WriteLiteral("</div>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); #line 57 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" } #line default #line hidden BeginContext(3128, 12, true); WriteLiteral(" "); EndContext(); #line 58 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" if (Model.Result.Count == 0) { #line default #line hidden BeginContext(3186, 121, true); WriteLiteral(" <div class=\"cause-block col-lg-12 col-md-6 col-sm-12\">\r\n <p style=\"text-align:center\">"); EndContext(); BeginContext(3308, 48, false); #line 61 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("NoData")); #line default #line hidden EndContext(); BeginContext(3356, 30, true); WriteLiteral("</p>\r\n </div>\r\n"); EndContext(); #line 63 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\cases.cshtml" } #line default #line hidden BeginContext(3401, 42, true); WriteLiteral(" </div>\r\n\r\n </div>\r\n</section>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(125, 383, true); WriteLiteral(@"<style> .form-group span { color: red; } </style> <div class=""container""> <div class=""row""> <div class=""col-sm-9 col-md-7 col-lg-5 mx-auto""> <div class=""card card-signin my-5""> <div class=""card-body""> <h5 class=""card-title text-center"" style=""color: #199849; font-size: 27px; font-weight: bold"">"); EndContext(); BeginContext(509, 47, false); #line 18 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Login")); #line default #line hidden EndContext(); BeginContext(556, 97, true); WriteLiteral("</h5>\r\n <div class=\"d-flex flex-column text-center\">\r\n "); EndContext(); BeginContext(653, 955, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "31161c836aa298db8b05bf91e2d3191a16fa30e27332", async() => { BeginContext(673, 88, true); WriteLiteral("\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(761, 142, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "31161c836aa298db8b05bf91e2d3191a16fa30e27805", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); #line 22 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Email); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "placeholder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 22 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" AddHtmlAttributeValue("", 848, SharedLocalizer.GetLocalizedHtmlString("Your_Email"), 848, 53, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(903, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(937, 46, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "31161c836aa298db8b05bf91e2d3191a16fa30e210327", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); #line 23 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Email); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(983, 126, true); WriteLiteral("\r\n\r\n </div>\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(1109, 154, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "31161c836aa298db8b05bf91e2d3191a16fa30e212154", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 27 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Password); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "placeholder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 27 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" AddHtmlAttributeValue("", 1205, SharedLocalizer.GetLocalizedHtmlString("Your_password"), 1205, 56, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1263, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1297, 49, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "31161c836aa298db8b05bf91e2d3191a16fa30e214687", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); #line 28 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Password); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1346, 172, true); WriteLiteral("\r\n\r\n </div>\r\n <button type=\"submit\" class=\"btn btn-success btn-block btn-round btn-style-three\" style=\"color:white\">"); EndContext(); BeginContext(1519, 47, false); #line 31 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Login")); #line default #line hidden EndContext(); BeginContext(1566, 35, true); WriteLiteral("</button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1608, 176, true); WriteLiteral("\r\n </div>\r\n </div>\r\n <div class=\"modal-footer d-flex justify-content-center\">\r\n <div class=\"signup-section\">"); EndContext(); BeginContext(1785, 59, false); #line 36 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Create_an_account")); #line default #line hidden EndContext(); BeginContext(1844, 1, true); WriteLiteral(" "); EndContext(); BeginContext(1845, 96, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "31161c836aa298db8b05bf91e2d3191a16fa30e218975", async() => { BeginContext(1888, 49, false); #line 36 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Login.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Sign_Up")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1941, 94, true); WriteLiteral("</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(47, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" ViewData["Title"] = "FindUser"; #line default #line hidden BeginContext(93, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(163, 6, true); WriteLiteral("\r\n<h2>"); EndContext(); BeginContext(170, 52, false); #line 10 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("SearchUser")); #line default #line hidden EndContext(); BeginContext(222, 180, true); WriteLiteral("</h2>\r\n<style>\r\n img.profilePhoto {\r\n width:40px;\r\n height:40px;\r\n }\r\n</style>\r\n\r\n<table class=\"table\">\r\n <thead>\r\n <tr>\r\n "); EndContext(); BeginContext(402, 1098, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "61684a14108c4ea7bb54ed7ab026a007", async() => { BeginContext(452, 71, true); WriteLiteral("\r\n <th></th>\r\n <th>\r\n "); EndContext(); BeginContext(524, 50, false); #line 24 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("UserName")); #line default #line hidden EndContext(); BeginContext(574, 56, true); WriteLiteral("\r\n <input type=\"text\" name=\"username\""); EndContext(); BeginWriteAttribute("placeholder", " placeholder=\"", 630, "\"", 695, 1); #line 25 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" WriteAttributeValue("", 644, SharedLocalizer.GetLocalizedHtmlString("UserName"), 644, 51, false); #line default #line hidden EndWriteAttribute(); BeginContext(696, 214, true); WriteLiteral(">\r\n </th>\r\n <th>\r\n Email\r\n <input type=\"text\" name=\"email\" placeholder=\"Email\">\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(911, 46, false); #line 32 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Name")); #line default #line hidden EndContext(); BeginContext(957, 52, true); WriteLiteral("\r\n <input type=\"text\" name=\"name\""); EndContext(); BeginWriteAttribute("placeholder", " placeholder=\"", 1009, "\"", 1070, 1); #line 33 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" WriteAttributeValue("", 1023, SharedLocalizer.GetLocalizedHtmlString("Name"), 1023, 47, false); #line default #line hidden EndWriteAttribute(); BeginContext(1071, 68, true); WriteLiteral(">\r\n </th>\r\n <th>\r\n "); EndContext(); BeginContext(1140, 49, false); #line 36 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Surname")); #line default #line hidden EndContext(); BeginContext(1189, 55, true); WriteLiteral("\r\n <input type=\"text\" name=\"surname\""); EndContext(); BeginWriteAttribute("placeholder", " placeholder=\"", 1244, "\"", 1308, 1); #line 37 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" WriteAttributeValue("", 1258, SharedLocalizer.GetLocalizedHtmlString("Surname"), 1258, 50, false); #line default #line hidden EndWriteAttribute(); BeginContext(1309, 88, true); WriteLiteral(">\r\n </th>\r\n <th>\r\n <input type=\"submit\""); EndContext(); BeginWriteAttribute("value", " value=\"", 1397, "\"", 1452, 1); #line 40 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" WriteAttributeValue("", 1405, SharedLocalizer.GetLocalizedHtmlString("Find"), 1405, 47, false); #line default #line hidden EndWriteAttribute(); BeginContext(1453, 40, true); WriteLiteral(" />\r\n </th>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1500, 44, true); WriteLiteral("\r\n </tr>\r\n </thead>\r\n <tbody>\r\n"); EndContext(); #line 46 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" foreach (var item in Model) { #line default #line hidden BeginContext(1593, 32, true); WriteLiteral(" <tr>\r\n <td>\r\n"); EndContext(); #line 50 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" if (item.Photo == null) { #line default #line hidden BeginContext(1686, 20, true); WriteLiteral(" "); EndContext(); BeginContext(1706, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0f67a468d4814f02ab853b182d07224c", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1772, 2, true); WriteLiteral("\r\n"); EndContext(); #line 53 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" } #line default #line hidden BeginContext(1793, 53, true); WriteLiteral(" </td>\r\n <td>\r\n "); EndContext(); BeginContext(1847, 13, false); #line 56 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(item.UserName); #line default #line hidden EndContext(); BeginContext(1860, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1916, 10, false); #line 59 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(item.Email); #line default #line hidden EndContext(); BeginContext(1926, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1982, 9, false); #line 62 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(item.Name); #line default #line hidden EndContext(); BeginContext(1991, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(2047, 12, false); #line 65 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(item.Surname); #line default #line hidden EndContext(); BeginContext(2059, 55, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(2114, 102, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d75ff8f02e2f4b36aab8f65232162f21", async() => { BeginContext(2161, 51, false); #line 68 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ShowGames")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 68 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" WriteLiteral(item.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2216, 36, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 71 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\User\FindUser.cshtml" } #line default #line hidden BeginContext(2263, 24, true); WriteLiteral(" </tbody>\r\n</table>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(7, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(41, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(107, 2, true); WriteLiteral("\r\n"); EndContext(); #line 8 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" ViewData["Title"] = SharedLocalizer.GetLocalizedHtmlString("ChangePassword"); #line default #line hidden BeginContext(199, 6, true); WriteLiteral("\r\n<h4>"); EndContext(); BeginContext(206, 17, false); #line 12 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(223, 7, true); WriteLiteral("</h4>\r\n"); EndContext(); BeginContext(231, 51, false); #line 13 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" Write(Html.Partial("_StatusMessage", Model.StatusMessage)); #line default #line hidden EndContext(); BeginContext(282, 57, true); WriteLiteral("\r\n<div class=\"row\">\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(339, 1296, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "511754e709a14e8094fe0970959c6c6f", async() => { BeginContext(385, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(399, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "25ce1f4dd61b4aebbb8a529bc87c36dc", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 17 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.All; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(459, 56, true); WriteLiteral("\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(515, 97, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ceccd07a2faf4b6cb49ef788f4dc52c8", async() => { BeginContext(551, 53, false); #line 19 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("OldPassword")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper); #line 19 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.OldPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(612, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(630, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "cb6ccc1d9dec47d48f4f2cf9b9f16dc6", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); #line 20 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.OldPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(688, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(706, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b0186089b92a4188b189744312a53cc7", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); #line 21 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.OldPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(778, 76, true); WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(854, 97, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "386e0fbad1594ff09ad2706ebaa36b6f", async() => { BeginContext(890, 53, false); #line 24 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("NewPassword")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper); #line 24 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.NewPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(951, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(969, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "99985198a587480bba109e327462941c", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); #line 25 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.NewPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1027, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1045, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e1b140dd9054132bd444e26e60045bb", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); #line 26 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.NewPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1117, 76, true); WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(1193, 105, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3949d201a1be49b59c0d5c4bd5da3f10", async() => { BeginContext(1233, 57, false); #line 29 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ConfirmPassword")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper); #line 29 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.ConfirmPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1298, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1316, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f669c6658a164856a4c5279c8d0052bf", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); #line 30 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.ConfirmPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1378, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1396, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f533767480844b3c927462136637e02d", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); #line 31 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.ConfirmPassword); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1472, 80, true); WriteLiteral("\r\n </div>\r\n <button type=\"submit\" class=\"btn btn-default\">"); EndContext(); BeginContext(1553, 56, false); #line 33 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\ChangePassword.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ChangePassword")); #line default #line hidden EndContext(); BeginContext(1609, 19, true); WriteLiteral("</button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1635, 24, true); WriteLiteral("\r\n </div>\r\n</div>\r\n\r\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(1677, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1683, 44, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8d000968015a4d7a8000bb010a9c6bf3", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1727, 2, true); WriteLiteral("\r\n"); EndContext(); } ); }
public ContactInfoSurveyController(IStringLocalizerFactory factory) { _localizer = new SharedLocalizer(factory); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(38, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(122, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(156, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(399, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(492, 2, true); WriteLiteral("\r\n"); EndContext(); #line 18 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" var requestCulture = Context.Features.Get <IRequestCultureFeature>(); var cultureItems = LocOptions.Value.SupportedUICultures .Select(c => new SelectListItem { Value = c.Name, Text = c.DisplayName }) .ToList(); var returnUrl = string.IsNullOrEmpty(Context.Request.Path) ? "~/" : $"~{Context.Request.Path.Value}"; #line default #line hidden BeginContext(846, 2, true); WriteLiteral("\r\n"); EndContext(); #line 26 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" if (SignInManager.IsSignedIn(User)) { #line default #line hidden BeginContext(889, 4, true); WriteLiteral(" "); EndContext(); BeginContext(893, 641, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "90d365b0cd164200989ced4898b7c8e8", async() => { BeginContext(1067, 86, true); WriteLiteral("\r\n <ul class=\"nav navbar-nav navbar-right\">\r\n <li>\r\n "); EndContext(); BeginContext(1153, 155, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8585f7b310ea441b928c6db375e1e7c4", async() => { BeginContext(1225, 47, false); #line 31 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Hello")); #line default #line hidden EndContext(); BeginContext(1272, 1, true); WriteLiteral(" "); EndContext(); BeginContext(1274, 29, false); #line 31 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" Write(UserManager.GetUserName(User)); #line default #line hidden EndContext(); BeginContext(1303, 1, true); WriteLiteral("!"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1308, 121, true); WriteLiteral("\r\n </li>\r\n <li>\r\n <button type=\"submit\" class=\"btn btn-link navbar-btn navbar-link\">"); EndContext(); BeginContext(1430, 48, false); #line 34 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Logout")); #line default #line hidden EndContext(); BeginContext(1478, 49, true); WriteLiteral("</button>\r\n </li>\r\n </ul>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Area = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Page = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 28 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" WriteLiteral(Url.Action("Index", "Home", new { area = "" })); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1534, 2, true); WriteLiteral("\r\n"); EndContext(); #line 38 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" } else { #line default #line hidden BeginContext(1548, 168, true); WriteLiteral(" <ul class=\"nav navbar-nav navbar-right\">\r\n <!--\r\n <li><a asp-area=\"Identity\" asp-page=\"/Account/Register\">Register</a></li>\r\n -->\r\n <li>"); EndContext(); BeginContext(1716, 111, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3fcbec121ee9477fbe0fdf0df79460d2", async() => { BeginContext(1766, 57, false); #line 45 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("LoginOrRegister")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1827, 18, true); WriteLiteral("</li>\r\n </ul>\r\n"); EndContext(); #line 47 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" } #line default #line hidden BeginContext(1848, 72, true); WriteLiteral(" <ul class=\"nav navbar-nav navbar-right\">\r\n <li>\r\n "); EndContext(); BeginContext(1920, 459, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "aefac3b08a43474aaf879b6aee5d52c8", async() => { BeginContext(2114, 188, true); WriteLiteral("\r\n <button name=\"culture\" value=\"pl-PL\" class=\"navbar-btn navbar-inverse\" style=\"border-color:#222;border-style: solid;\" onclick=\"this.form.submit();\">\r\n "); EndContext(); BeginContext(2302, 29, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ee4ee31177f14b14b5e2367f5cee2530", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2331, 41, true); WriteLiteral("\r\n </button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 51 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" WriteLiteral(returnUrl); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2379, 43, true); WriteLiteral("\r\n </li>\r\n <li>\r\n "); EndContext(); BeginContext(2422, 459, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f330ea2ffba34424a25e8f2ed061fc09", async() => { BeginContext(2616, 188, true); WriteLiteral("\r\n <button name=\"culture\" value=\"en-US\" class=\"navbar-btn navbar-inverse\" style=\"border-color:#222;border-style: solid;\" onclick=\"this.form.submit();\">\r\n "); EndContext(); BeginContext(2804, 29, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "88439005a1a2402bb230c64d29def39e", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2833, 41, true); WriteLiteral("\r\n </button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_9); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 60 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Shared\_LoginPartial.cshtml" WriteLiteral(returnUrl); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2881, 26, true); WriteLiteral("\r\n </li>\r\n </ul>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(126, 253, true); WriteLiteral("<!-- Page Banner Section -->\r\n<section class=\"page-banner\">\r\n <div class=\"image-layer lazy-image\" data-bg=\"url(\'images/background/bg-banner-1.jpg\')\"></div>\r\n <div class=\"bottom-rotten-curve\"></div>\r\n\r\n <div class=\"auto-container\">\r\n <h1>"); EndContext(); BeginContext(380, 48, false); #line 13 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Events")); #line default #line hidden EndContext(); BeginContext(428, 66, true); WriteLiteral("</h1>\r\n <ul class=\"bread-crumb clearfix\">\r\n <li>"); EndContext(); BeginContext(494, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9dee6a8e2afa06bb514cb7cef45806eac935e2244243", async() => { BeginContext(515, 46, false); #line 15 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Home")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(565, 38, true); WriteLiteral("</li>\r\n <li class=\"active\">"); EndContext(); BeginContext(604, 48, false); #line 16 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Events")); #line default #line hidden EndContext(); BeginContext(652, 207, true); WriteLiteral("</li>\r\n </ul>\r\n </div>\r\n\r\n</section>\r\n<!--End Banner Section -->\r\n<!--Events Section-->\r\n<section class=\"events-section\">\r\n <div class=\"auto-container\">\r\n\r\n <div class=\"row clearfix\">\r\n\r\n"); EndContext(); #line 28 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" foreach (var item in Model.result) { #line default #line hidden BeginContext(923, 319, true); WriteLiteral(@" <!--Event Block--> <div class=""event-block-three col-lg-4 col-md-6 col-sm-12""> <div class=""inner-box wow fadeInUp"" data-wow-delay=""0ms""> <div class=""image-box""> <figure class=""image""><a><img class=""lazy-image"""); EndContext(); BeginWriteAttribute("src", " src=\"", 1242, "\"", 1281, 2); WriteAttributeValue("", 1248, "data:image/png;base64,", 1248, 22, true); #line 35 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" WriteAttributeValue("", 1270, item.Image, 1270, 11, false); #line default #line hidden EndWriteAttribute(); BeginContext(1282, 116, true); WriteLiteral(" alt=\"images\" style=\"height:150px\"></a></figure>\r\n <div class=\"date\"><span class=\"month\">"); EndContext(); BeginContext(1399, 9, false); #line 36 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" Write(item.Type); #line default #line hidden EndContext(); BeginContext(1408, 135, true); WriteLiteral("</span></div>\r\n </div>\r\n <div class=\"lower-content\">\r\n <h3><a>"); EndContext(); BeginContext(1544, 16, false); #line 39 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" Write(item.Description); #line default #line hidden EndContext(); BeginContext(1560, 148, true); WriteLiteral(" <br></a></h3>\r\n <ul class=\"info clearfix\">\r\n <li><span class=\"icon far fa-clock\"></span> "); EndContext(); BeginContext(1709, 14, false); #line 41 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" Write(item.CreatedAt); #line default #line hidden EndContext(); BeginContext(1723, 126, true); WriteLiteral("</li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n"); EndContext(); #line 46 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" } #line default #line hidden BeginContext(1864, 12, true); WriteLiteral(" "); EndContext(); #line 47 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" if (Model.result.Count == 0) { #line default #line hidden BeginContext(1922, 101, true); WriteLiteral(" <div class=\"event-block-three col-lg-12 col-md-6 col-sm-12\">\r\n <p>"); EndContext(); BeginContext(2024, 48, false); #line 50 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("NoData")); #line default #line hidden EndContext(); BeginContext(2072, 30, true); WriteLiteral("</p>\r\n </div>\r\n"); EndContext(); #line 52 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Events.cshtml" } #line default #line hidden BeginContext(2117, 40, true); WriteLiteral(" </div>\r\n\r\n </div>\r\n</section>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\About.cshtml" ViewData["Title"] = "About page"; #line default #line hidden BeginContext(164, 337, true); WriteLiteral(@"<!-- Page Banner Section --> <section class=""page-banner""> <div class=""image-layer lazy-image"" data-bg=""url('images/background/bg-banner-1.jpg')""></div> <div class=""bottom-rotten-curve alternate""></div> <div class=""auto-container""> <h1>About Us</h1> <ul class=""bread-crumb clearfix""> <li>"); EndContext(); BeginContext(501, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4dfd44435b056112edb20610569aa596ea60de524560", async() => { BeginContext(523, 46, false); #line 16 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\About.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Home")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(573, 38, true); WriteLiteral("</li>\r\n <li class=\"active\">"); EndContext(); BeginContext(612, 47, false); #line 17 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\About.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("About")); #line default #line hidden EndContext(); BeginContext(659, 522, true); WriteLiteral(@"</li> </ul> </div> </section> <!--End Banner Section --> <!--About Section--> <section class=""about-section style-two alternate""> <div class=""circle-one""></div> <div class=""circle-two""></div> <div class=""auto-container""> <div class=""row clearfix""> <!--Left Column--> <div class=""left-column col-lg-6 col-md-12 col-sm-12""> <div class=""inner""> <div class=""sec-title""> <div class=""sub-title"">"); EndContext(); BeginContext(1182, 47, false); #line 33 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\About.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("About")); #line default #line hidden EndContext(); BeginContext(1229, 36, true); WriteLiteral("</div>\r\n <h2>"); EndContext(); BeginContext(1266, 67, false); #line 34 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\About.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("PleaseRiseYourHelpingHand")); #line default #line hidden EndContext(); BeginContext(1333, 173, true); WriteLiteral("</h2>\r\n <div class=\"text\" style=\"text-align: inherit;\">\r\n <span style=\"color: #20914b; font-size: 22px;font-weight: bold;\">"); EndContext(); BeginContext(1507, 52, false); #line 36 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\About.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("about_head")); #line default #line hidden EndContext(); BeginContext(1559, 10, true); WriteLiteral("</span> , "); EndContext(); BeginContext(1570, 54, false); #line 36 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\About.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("AboutContent")); #line default #line hidden EndContext(); BeginContext(1624, 34, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); BeginContext(1823, 286, true); WriteLiteral(@" </div> </div> </div> <!--Right Column--> <div class=""right-column col-lg-6 col-md-12 col-sm-12""> <div class=""inner""> <div class=""images clearfix""> "); EndContext(); BeginContext(2109, 35, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4dfd44435b056112edb20610569aa596ea60de529514", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2144, 118, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n</section>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(32, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(70, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(124, 2, true); WriteLiteral("\r\n"); EndContext(); #line 7 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Home\Index.cshtml" ViewData["Title"] = "Home Page"; #line default #line hidden BeginContext(171, 439, true); WriteLiteral(@" <div id=""myCarousel"" class=""carousel slide"" data-ride=""carousel"" data-interval=""6000""> <ol class=""carousel-indicators""> <li data-target=""#myCarousel"" data-slide-to=""0"" class=""active""></li> <li data-target=""#myCarousel"" data-slide-to=""1""></li> <li data-target=""#myCarousel"" data-slide-to=""2""></li> </ol> <div class=""carousel-inner"" role=""listbox""> <div class=""item active""> "); EndContext(); BeginContext(610, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c542126a2878454fb226d4baec495781", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(697, 101, true); WriteLiteral("\r\n <div class=\"carousel-caption\" role=\"option\">\r\n <p>\r\n "); EndContext(); BeginContext(799, 54, false); #line 22 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Home\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("BannerGdansk")); #line default #line hidden EndContext(); BeginContext(853, 100, true); WriteLiteral("\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n "); EndContext(); BeginContext(953, 86, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "39119c1c583a42bc917b52501a9f43b2", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1039, 101, true); WriteLiteral("\r\n <div class=\"carousel-caption\" role=\"option\">\r\n <p>\r\n "); EndContext(); BeginContext(1141, 53, false); #line 30 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Home\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("BannerSopot")); #line default #line hidden EndContext(); BeginContext(1194, 100, true); WriteLiteral("\r\n </p>\r\n </div>\r\n </div>\r\n <div class=\"item\">\r\n "); EndContext(); BeginContext(1294, 87, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "4d94635c43f749168ea23cd2e830d7ad", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1381, 101, true); WriteLiteral("\r\n <div class=\"carousel-caption\" role=\"option\">\r\n <p>\r\n "); EndContext(); BeginContext(1483, 54, false); #line 38 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Views\Home\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("BannerGdynia")); #line default #line hidden EndContext(); BeginContext(1537, 2876, true); WriteLiteral(@" </p> </div> </div> </div> <a class=""left carousel-control"" href=""#myCarousel"" role=""button"" data-slide=""prev""> <span class=""glyphicon glyphicon-chevron-left"" aria-hidden=""true""></span> <span class=""sr-only"">Previous</span> </a> <a class=""right carousel-control"" href=""#myCarousel"" role=""button"" data-slide=""next""> <span class=""glyphicon glyphicon-chevron-right"" aria-hidden=""true""></span> <span class=""sr-only"">Next</span> </a> </div> <!-- <div class=""row""> <div class=""col-md-3""> <h2>Application uses</h2> <ul> <li>Sample pages using ASP.NET Core MVC</li> <li>Theming using <a href=""https://go.microsoft.com/fwlink/?LinkID=398939"">Bootstrap</a></li> </ul> </div> <div class=""col-md-3""> <h2>How to</h2> <ul> <li><a href=""https://go.microsoft.com/fwlink/?LinkID=398600"">Add a Controller and View</a></li> <li>"); WriteLiteral(@"<a href=""https://go.microsoft.com/fwlink/?LinkId=699315"">Manage User Secrets using Secret Manager.</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkId=699316"">Use logging to log a message.</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkId=699317"">Add packages using NuGet.</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkId=699319"">Target development, staging or production environment.</a></li> </ul> </div> <div class=""col-md-3""> <h2>Overview</h2> <ul> <li><a href=""https://go.microsoft.com/fwlink/?LinkId=518008"">Conceptual overview of what is ASP.NET Core</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkId=699320"">Fundamentals of ASP.NET Core such as Startup and middleware.</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkId=398602"">Working with Data</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkId=398603"">Security</a></"); WriteLiteral(@"li> <li><a href=""https://go.microsoft.com/fwlink/?LinkID=699321"">Client side development</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkID=699322"">Develop on different platforms</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkID=699323"">Read more on the documentation site</a></li> </ul> </div> <div class=""col-md-3""> <h2>Run & Deploy</h2> <ul> <li><a href=""https://go.microsoft.com/fwlink/?LinkID=517851"">Run your app</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkID=517853"">Run tools such as EF migrations and more</a></li> <li><a href=""https://go.microsoft.com/fwlink/?LinkID=398609"">Publish to Microsoft Azure Web Apps</a></li> </ul> </div> </div> --> "); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(77, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(133, 2, true); WriteLiteral("\r\n"); EndContext(); #line 9 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" ViewData["Title"] = SharedLocalizer.GetLocalizedHtmlString("Profile"); #line default #line hidden BeginContext(237, 422, true); WriteLiteral(@"<script> function onFileSelected(event) { var selectedFile = event.target.files[0]; var reader = new FileReader(); var imgtag = document.getElementById(""LoadedImage""); imgtag.title = selectedFile.name; reader.onload = function (event) { imgtag.src = event.target.result; }; reader.readAsDataURL(selectedFile); } </script> <h4>"); EndContext(); BeginContext(660, 17, false); #line 28 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(677, 7, true); WriteLiteral("</h4>\r\n"); EndContext(); BeginContext(685, 51, false); #line 29 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" Write(Html.Partial("_StatusMessage", Model.StatusMessage)); #line default #line hidden EndContext(); BeginContext(736, 57, true); WriteLiteral("\r\n<div class=\"row\">\r\n <div class=\"col-md-6\">\r\n "); EndContext(); BeginContext(793, 1090, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c4db3775970b4a0e88106da8990ca8dc", async() => { BeginContext(861, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(875, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cd27ce4ad0ab440e854335d758ffc7e3", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 33 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.All; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(935, 56, true); WriteLiteral("\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(991, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9e398956e3874266b811620ce795feff", async() => { BeginContext(1021, 50, false); #line 35 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("UserName")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper); #line 35 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1079, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1097, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f4726c73a5c1428aa93f2886e11845de", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); #line 36 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); BeginWriteTagHelperAttribute(); __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __tagHelperExecutionContext.AddHtmlAttribute("disabled", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1158, 76, true); WriteLiteral("\r\n </div>\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(1234, 97, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6fda756609c54dc3afc5b40d13c9c120", async() => { BeginContext(1270, 53, false); #line 39 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("PhoneNumber")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper); #line 39 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.PhoneNumber); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1331, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1349, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1969e51ab23d4f7eb794ef1195a4c343", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); #line 40 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.PhoneNumber); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1407, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1425, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "beba778e19314043bfb193622f0cd1d3", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); #line 41 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.PhoneNumber); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1497, 48, true); WriteLiteral("\r\n <br/>\r\n <label>"); EndContext(); BeginContext(1546, 54, false); #line 43 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ChangeAvatar")); #line default #line hidden EndContext(); BeginContext(1600, 210, true); WriteLiteral("</label><input type=\"file\" name=\"avatar\" onchange=\"onFileSelected(event)\"/>\r\n <img id=\"LoadedImage\" height=\"200\" />\r\n </div>\r\n <button type=\"submit\" class=\"btn btn-default\">"); EndContext(); BeginContext(1811, 46, false); #line 46 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\Index.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Save")); #line default #line hidden EndContext(); BeginContext(1857, 19, true); WriteLiteral("</button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1883, 24, true); WriteLiteral("\r\n </div>\r\n</div>\r\n\r\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(1925, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1931, 44, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "f4fd8ec4b5d3493ab87cb78cb48c9310", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1975, 2, true); WriteLiteral("\r\n"); EndContext(); } ); }
public PipedaSurveyController(IStringLocalizerFactory factory) { _localizer = new SharedLocalizer(factory); }
public SurveyPAModelValidator(SharedLocalizer _localizer) { ValidatorOptions.Global.CascadeMode = CascadeMode.Continue; // FilingComplaintOnOwnBehalf (Page: page_preliminary_info_Authorization_for_Representative) RuleFor(x => x.FilingComplaintOnOwnBehalf).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.FilingComplaintOnOwnBehalf).Must(x => new List <string> { "yourself", "someone_else" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // WhichFederalGovernementInstitutionComplaintAgainst (Page: page_preliminary_info_Identify_institution) RuleFor(x => x.WhichFederalGovernementInstitutionComplaintAgainst).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // RaisedPrivacyToAtipCoordinator (Page: page_steps_taken_Writing_ATIP_Coordinator) RuleFor(x => x.RaisedPrivacyToAtipCoordinator).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.RaisedPrivacyToAtipCoordinator).Must(x => new List <string> { "yes", "no", "not_sure" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // NatureOfComplaint (Page: page_details_Type_complaint) RuleFor(x => x.NatureOfComplaint).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleForEach(x => x.NatureOfComplaint).Must(x => new List <string> { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage", "NatureOfComplaintCorrection", "NatureOfComplaintCollection", "NatureOfComplaintUseAndDisclosure", "NatureOfComplaintRetentionAndDisposal", "NatureOfComplaintOther" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // IsEmployee (Page: page_details_description_of_concerns) RuleFor(x => x.IsEmployee).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.IsEmployee).Must(x => new List <string> { "general_public", "employee_government" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // DateSentRequests (Page: page_details_description_of_concerns) RuleFor(x => x.DateSentRequests).NotEmpty().When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.DateSentRequests).Length(0, 5000).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // WordingOfRequest (Page: page_details_description_of_concerns) RuleFor(x => x.WordingOfRequest).NotEmpty().When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.WordingOfRequest).Length(0, 5000).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // MoreDetailsOfRequest (Page: page_details_description_of_concerns) RuleFor(x => x.MoreDetailsOfRequest).Length(0, 5000).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // DateOfFinalAnswer (Page: page_details_description_of_concerns) RuleFor(x => x.DateOfFinalAnswer).NotEmpty().When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.DateOfFinalAnswer).Length(0, 5000).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // DidNoRecordExist (Page: page_details_description_of_concerns) RuleFor(x => x.DidNoRecordExist).NotEmpty().When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.DidNoRecordExist).Must(x => new List <string> { "yes", "no" }.Contains(x)).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // PrivacyActSectionsApplied (Page: page_details_description_of_concerns) RuleFor(x => x.PrivacyActSectionsApplied).Length(0, 5000).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // ItemsNotRecieved (Page: page_details_description_of_concerns) RuleFor(x => x.ItemsNotRecieved).Length(0, 5000).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // InstitutionAgreedRequestOnInformalBasis (Page: page_details_description_of_concerns) RuleFor(x => x.InstitutionAgreedRequestOnInformalBasis).NotEmpty().When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.InstitutionAgreedRequestOnInformalBasis).Must(x => new List <string> { "yes", "no", "not_sure" }.Contains(x)).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // SummarizeYourConcernsAndAnyStepsTaken (Page: page_details_description_of_concerns) RuleFor(x => x.SummarizeYourConcernsAndAnyStepsTaken).NotEmpty().When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any() && x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintCorrection", "NatureOfComplaintCollection", "NatureOfComplaintUseAndDisclosure", "NatureOfComplaintRetentionAndDisposal", "NatureOfComplaintOther" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.SummarizeYourConcernsAndAnyStepsTaken).Length(0, 5000).When(x => x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any() && x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintCorrection", "NatureOfComplaintCollection", "NatureOfComplaintUseAndDisclosure", "NatureOfComplaintRetentionAndDisposal", "NatureOfComplaintOther" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // SummarizeYourComplaintAndAnyStepsTaken (Page: page_details_description_of_concerns) RuleFor(x => x.SummarizeYourComplaintAndAnyStepsTaken).NotEmpty().When(x => !x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any() && x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintCorrection", "NatureOfComplaintCollection", "NatureOfComplaintUseAndDisclosure", "NatureOfComplaintRetentionAndDisposal", "NatureOfComplaintOther" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.SummarizeYourComplaintAndAnyStepsTaken).Length(0, 5000).When(x => !x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintDelay", "NatureOfComplaintExtensionOfTime", "NatureOfComplaintDenialOfAccess", "NatureOfComplaintLanguage" }).Any() && x.NatureOfComplaint.Intersect(new List <string>() { "NatureOfComplaintCorrection", "NatureOfComplaintCollection", "NatureOfComplaintUseAndDisclosure", "NatureOfComplaintRetentionAndDisposal", "NatureOfComplaintOther" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // WhatWouldResolveYourComplaint (Page: page_details_description_of_concerns) RuleFor(x => x.WhatWouldResolveYourComplaint).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.WhatWouldResolveYourComplaint).Length(0, 5000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // SummarizeAttemptsToResolvePrivacyMatter (Page: page_details_description_of_concerns) RuleFor(x => x.SummarizeAttemptsToResolvePrivacyMatter).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.SummarizeAttemptsToResolvePrivacyMatter).Length(0, 5000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // AdditionalComments (Page: page_details_description_of_concerns) RuleFor(x => x.AdditionalComments).Length(0, 5000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_HaveYouSubmittedBefore (Page: page_Complainant_representative) RuleFor(x => x.Complainant_HaveYouSubmittedBefore).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_HaveYouSubmittedBefore).Must(x => new List <string> { "yes", "no" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // Complainant_FormOfAddress (Page: page_Complainant_representative) RuleFor(x => x.Complainant_FormOfAddress).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_FormOfAddress).Must(x => new List <string> { "Mr.", "Mrs.", "Ms.", "Other" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // Complainant_FirstName (Page: page_Complainant_representative) RuleFor(x => x.Complainant_FirstName).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_FirstName).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_LastName (Page: page_Complainant_representative) RuleFor(x => x.Complainant_LastName).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_LastName).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_Email (Page: page_Complainant_representative) RuleFor(x => x.Complainant_Email).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_Email).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); RuleFor(x => x.Complainant_Email).EmailAddress(); // Complainant_MailingAddress (Page: page_Complainant_representative) RuleFor(x => x.Complainant_MailingAddress).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_MailingAddress).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_City (Page: page_Complainant_representative) RuleFor(x => x.Complainant_City).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_City).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_Country (Page: page_Complainant_representative) RuleFor(x => x.Complainant_Country).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // Complainant_ProvinceOrState (Page: page_Complainant_representative) RuleFor(x => x.Complainant_ProvinceOrState).NotEmpty().When(x => x.Complainant_Country == "CA").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // Complainant_PostalCode (Page: page_Complainant_representative) RuleFor(x => x.Complainant_PostalCode).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_PostalCode).Length(0, 7).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_DayTimeNumber (Page: page_Complainant_representative) RuleFor(x => x.Complainant_DayTimeNumber).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "yourself").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Complainant_DayTimeNumber).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_DayTimeNumberExtension (Page: page_Complainant_representative) // Complainant_AltTelephoneNumber (Page: page_Complainant_representative) RuleFor(x => x.Complainant_AltTelephoneNumber).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Complainant_AltTelephoneNumberExtension (Page: page_Complainant_representative) // Reprensentative_FormOfAddress (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_FormOfAddress).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_FormOfAddress).Must(x => new List <string> { "Mr.", "Mrs.", "Ms.", "Other" }.Contains(x)).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // Reprensentative_FirstName (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_FirstName).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_FirstName).Length(0, 200).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Reprensentative_LastName (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_LastName).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_LastName).Length(0, 200).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Reprensentative_Email (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_Email).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_Email).Length(0, 200).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); RuleFor(x => x.Reprensentative_Email).EmailAddress().When(x => x.FilingComplaintOnOwnBehalf == "someone_else"); // Reprensentative_MailingAddress (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_MailingAddress).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_MailingAddress).Length(0, 200).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Reprensentative_City (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_City).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_City).Length(0, 200).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Reprensentative_Country (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_Country).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // Reprensentative_ProvinceOrState (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_ProvinceOrState).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else" && x.Reprensentative_Country == "CA").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // Reprensentative_PostalCode (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_PostalCode).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_PostalCode).Length(0, 7).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Reprensentative_DayTimeNumber (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_DayTimeNumber).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Reprensentative_DayTimeNumber).Length(0, 200).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Reprensentative_DayTimeNumberExtension (Page: page_Complainant_representative) // Reprensentative_AltTelephoneNumber (Page: page_Complainant_representative) RuleFor(x => x.Reprensentative_AltTelephoneNumber).Length(0, 200).When(x => x.FilingComplaintOnOwnBehalf == "someone_else").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Reprensentative_AltTelephoneNumberExtension (Page: page_Complainant_representative) // NeedsDisabilityAccommodation (Page: page_Complainant_representative) RuleFor(x => x.NeedsDisabilityAccommodation).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.NeedsDisabilityAccommodation).Must(x => new List <string> { "yes", "no" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // DisabilityAccommodation (Page: page_Complainant_representative) RuleFor(x => x.DisabilityAccommodation).NotEmpty().When(x => x.NeedsDisabilityAccommodation == "yes").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.DisabilityAccommodation).Length(0, 5000).When(x => x.NeedsDisabilityAccommodation == "yes").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // Documentation_type (Page: page_documentation) RuleFor(x => x.Documentation_type).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.Documentation_type).Must(x => new List <string> { "upload", "mail", "both", "none" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // Documentation_file_upload_rep (Page: page_documentation) RuleFor(x => x.Documentation_file_upload_rep).NotEmpty().When(x => x.FilingComplaintOnOwnBehalf == "someone_else" && (new List <string>() { x.Documentation_type }.Intersect(new List <string>() { "upload", "both" }).Any())).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // Documentation_file_upload (Page: page_documentation) RuleFor(x => x.Documentation_file_upload).NotEmpty().When(x => new List <string>() { x.Documentation_type }.Intersect(new List <string>() { "upload", "both" }).Any()).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // InformationIsTrue (Page: ) RuleFor(x => x.InformationIsTrue).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleForEach(x => x.InformationIsTrue).Must(x => new List <string> { "yes" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(193, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(322, 2, true); WriteLiteral("\r\n"); EndContext(); #line 11 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" var requestCulture = Context.Features.Get <IRequestCultureFeature>(); var cultureItems = LocOptions.Value.SupportedUICultures .Select(c => new SelectListItem { Value = c.Name, Text = c.DisplayName }) .ToList(); #line default #line hidden BeginContext(569, 6, true); WriteLiteral("\r\n<div"); EndContext(); BeginWriteAttribute("title", " title=\"", 575, "\"", 664, 2); #line 18 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" WriteAttributeValue("", 583, Localizer["Request culture provider:"], 583, 39, false); #line default #line hidden #line 18 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" WriteAttributeValue(" ", 622, requestCulture?.Provider?.GetType().Name, 623, 41, false); #line default #line hidden EndWriteAttribute(); BeginContext(665, 7, true); WriteLiteral(">\r\n "); EndContext(); BeginContext(672, 728, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d8a2b23e39d74b2582be8b37b1bb6bfd", async() => { BeginContext(866, 62, true); WriteLiteral("\r\n <label class=\"form-label\" style=\"padding-right:5px\">"); EndContext(); BeginContext(929, 50, false); #line 20 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("LANGUAGE")); #line default #line hidden EndContext(); BeginContext(979, 61, true); WriteLiteral(": </label>\r\n <div class=\"input-group\">\r\n\r\n "); EndContext(); BeginContext(1040, 135, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("select", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e7417a399c584b0cbf697407c062f126", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Name = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 23 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => requestCulture.RequestCulture.UICulture.Name); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 23 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Items = cultureItems; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-items", __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.Items, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1175, 120, true); WriteLiteral("\r\n <div class=\"input-group-append\">\r\n <button type=\"submit\" class=\"btn btn-outline-secondary\">"); EndContext(); BeginContext(1296, 46, false); #line 25 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("SAVE")); #line default #line hidden EndContext(); BeginContext(1342, 51, true); WriteLiteral("</button>\r\n </div>\r\n </div>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-returnUrl", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 19 "D:\Github\Localization\Views\Shared\_SelectLanguagePartial.cshtml" WriteLiteral(Context.Request.Path); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-returnUrl", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["returnUrl"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1400, 8, true); WriteLiteral("\r\n</div>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(127, 385, true); WriteLiteral(@"<style> .contact-section .map-column { top: 90px; } .message { color: red; } </style> <!-- Page Banner Section --> <section class=""page-banner""> <div class=""image-layer lazy-image"" data-bg=""url('images/background/bg-banner-1.jpg')""></div> <div class=""bottom-rotten-curve""></div> <div class=""auto-container""> <h1>"); EndContext(); BeginContext(513, 52, false); #line 24 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Contact_Us")); #line default #line hidden EndContext(); BeginContext(565, 66, true); WriteLiteral("</h1>\r\n <ul class=\"bread-crumb clearfix\">\r\n <li>"); EndContext(); BeginContext(631, 72, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3063697b7bcae9ab91f87d0857a89bf73124e0d27172", async() => { BeginContext(653, 46, false); #line 26 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Home")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(703, 38, true); WriteLiteral("</li>\r\n <li class=\"active\">"); EndContext(); BeginContext(742, 52, false); #line 27 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Contact_Us")); #line default #line hidden EndContext(); BeginContext(794, 258, true); WriteLiteral(@"</li> </ul> </div> </section> <!--End Banner Section --> <!--Contact Info Section--> <section class=""contact-info-section""> <div class=""auto-container""> <div class=""sec-title centered""> <div class=""sub-title"">"); EndContext(); BeginContext(1053, 52, false); #line 38 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Contact_Us")); #line default #line hidden EndContext(); BeginContext(1105, 24, true); WriteLiteral("</div>\r\n <h2>"); EndContext(); BeginContext(1130, 54, false); #line 39 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Get_In_Touch")); #line default #line hidden EndContext(); BeginContext(1184, 533, true); WriteLiteral(@"</h2> </div> <div class=""info-boxes""> <div class=""row clearfix""> <!--Info Box--> <div class=""info-box col-lg-4 col-md-6 col-sm-12""> <div class=""inner-box wow fadeInUp"" data-wow-delay=""0ms""> <div class=""image-layer lazy-image"" data-bg=""url('images/resource/contact-image-1.jpg')""></div> <div class=""icon-box""><span class=""flaticon-home-location-marker""></span></div> <h4>"); EndContext(); BeginContext(1718, 50, false); #line 49 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("FollowUs")); #line default #line hidden EndContext(); BeginContext(1768, 834, true); WriteLiteral(@"</h4> <ul> <li><a href=""https://www.facebook.com/GiovaniXilBene/"">FaceBook</a></li> <li><a href=""https://www.youtube.com/channel/UCoP85Zm67IBL10vI_-f6zZQ?fbclid=IwAR0CLQWYqgurv8XEYlrmmrP9XnsCROAc-MfeUcIv-ddCtkuZrXZJVgcIxBc"">Youtube</a></li> </ul> </div> </div> <!--Info Box--> <div class=""info-box col-lg-4 col-md-6 col-sm-12""> <div class=""inner-box wow fadeInUp"" data-wow-delay=""300ms""> <div class=""image-layer lazy-image"" data-bg=""url('images/resource/contact-image-2.jpg')""></div> <div class=""icon-box""><span class=""flaticon-phone-call""></span></div> <h4>"); EndContext(); BeginContext(2603, 52, false); #line 61 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Our_Phones")); #line default #line hidden EndContext(); BeginContext(2655, 737, true); WriteLiteral(@"</h4> <ul> <li><a href=""tel:(+55)654-545-5418"">(+55) 654 - 545 - 5418</a></li> <li><a href=""tel:(+55)654-545-1235"">(+55) 654 - 545 - 1235</a></li> </ul> </div> </div> <!--Info Box--> <div class=""info-box col-lg-4 col-md-6 col-sm-12""> <div class=""inner-box wow fadeInUp"" data-wow-delay=""600ms""> <div class=""image-layer lazy-image"" data-bg=""url('images/resource/contact-image-3.jpg')""></div> <div class=""icon-box""><span class=""flaticon-email""></span></div> <h4>"); EndContext(); BeginContext(3393, 55, false); #line 73 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Email_Address")); #line default #line hidden EndContext(); BeginContext(3448, 654, true); WriteLiteral(@"</h4> <ul> <li><a href=""mailto:[email protected]"">[email protected]</a></li> <li><a href=""mailto:[email protected]"">[email protected]</a></li> </ul> </div> </div> </div> </div> </div> </section> <section class=""contact-section ""> <div class=""outer-container clearfix""> <div class=""form-column clearfix""> <div class=""inner clearfix""> <div class=""sec-title centered ""> <div class=""sub-title"">"); EndContext(); BeginContext(4103, 52, false); #line 91 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Contact_Us")); #line default #line hidden EndContext(); BeginContext(4155, 32, true); WriteLiteral("</div>\r\n <h2>"); EndContext(); BeginContext(4188, 57, false); #line 92 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Leave_a_Message")); #line default #line hidden EndContext(); BeginContext(4245, 133, true); WriteLiteral("</h2>\r\n </div>\r\n <!-- Contact Form-->\r\n <div class=\"contact-form\">\r\n "); EndContext(); BeginContext(4378, 1560, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3063697b7bcae9ab91f87d0857a89bf73124e0d215206", async() => { BeginContext(4416, 159, true); WriteLiteral("\r\n <div class=\"row clearfix\">\r\n <div class=\"col-md-6 col-sm-12 form-group\">\r\n "); EndContext(); BeginContext(4575, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "3063697b7bcae9ab91f87d0857a89bf73124e0d215758", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); #line 99 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Subject); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "placeholder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 99 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" AddHtmlAttributeValue("", 4631, SharedLocalizer.GetLocalizedHtmlString("Your_Name"), 4631, 52, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4685, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4719, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3063697b7bcae9ab91f87d0857a89bf73124e0d218116", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 100 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Subject); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4783, 145, true); WriteLiteral("\r\n </div>\r\n\r\n <div class=\"col-md-6 col-sm-12 form-group\">\r\n "); EndContext(); BeginContext(4928, 121, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "3063697b7bcae9ab91f87d0857a89bf73124e0d220055", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); #line 104 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.EmailFromAddress); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "placeholder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 104 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" AddHtmlAttributeValue("", 4994, SharedLocalizer.GetLocalizedHtmlString("Your_Email"), 4994, 53, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5049, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5083, 73, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3063697b7bcae9ab91f87d0857a89bf73124e0d222425", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 105 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.EmailFromAddress); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5156, 146, true); WriteLiteral("\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 form-group\">\r\n "); EndContext(); BeginContext(5302, 118, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("textarea", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3063697b7bcae9ab91f87d0857a89bf73124e0d224374", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.TextAreaTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper); #line 109 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Body); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_TextAreaTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "placeholder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 109 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" AddHtmlAttributeValue("", 5346, SharedLocalizer.GetLocalizedHtmlString("Write_your_message"), 5346, 61, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5420, 34, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5454, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3063697b7bcae9ab91f87d0857a89bf73124e0d226547", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 110 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Body); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5515, 255, true); WriteLiteral("\r\n </div>\r\n\r\n <div class=\"col-md-12 col-sm-12 form-group text-center\">\r\n <button class=\"theme-btn btn-style-one\" type=\"submit\" name=\"submit-form\"><span class=\"btn-title\">"); EndContext(); BeginContext(5771, 54, false); #line 114 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Contact.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Send_Message")); #line default #line hidden EndContext(); BeginContext(5825, 106, true); WriteLiteral("</span></button>\r\n </div>\r\n </div>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5938, 119, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"map-column clearfix\">\r\n "); EndContext(); BeginContext(6057, 34, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3063697b7bcae9ab91f87d0857a89bf73124e0d230706", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6091, 44, true); WriteLiteral("\r\n </div>\r\n\r\n </div>\r\n</section>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 5 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" ViewData["Title"] = SharedLocalizer.GetLocalizedHtmlString("ForgotPassword"); #line default #line hidden BeginContext(193, 6, true); WriteLiteral("\r\n<h2>"); EndContext(); BeginContext(200, 17, false); #line 9 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(217, 11, true); WriteLiteral("</h2>\r\n<h4>"); EndContext(); BeginContext(229, 52, false); #line 10 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("EnterEmail")); #line default #line hidden EndContext(); BeginContext(281, 70, true); WriteLiteral("</h4>\r\n<hr />\r\n<div class=\"row\">\r\n <div class=\"col-md-4\">\r\n "); EndContext(); BeginContext(351, 496, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "84fa8ad5c57f43c9b3bf1660bfa6aa42", async() => { BeginContext(371, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(385, 60, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "fddc62bf2f1043f4b8592ca03a409c4d", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper); #line 15 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.All; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(445, 56, true); WriteLiteral("\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(501, 37, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("label", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "88fb55ac9fca4d7ba62ce03c41bf0e75", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.LabelTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper); #line 17 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_LabelTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(538, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(556, 52, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ff2b3da02adf4829a7635c4debac97e4", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); #line 18 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(608, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(626, 66, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("span", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "651430c8eb294ca2b1c525ba30c10e4f", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationMessageTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper); #line 19 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.Input.Email); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-for", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationMessageTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(692, 80, true); WriteLiteral("\r\n </div>\r\n <button type=\"submit\" class=\"btn btn-default\">"); EndContext(); BeginContext(773, 48, false); #line 21 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\ForgotPassword.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Submit")); #line default #line hidden EndContext(); BeginContext(821, 19, true); WriteLiteral("</button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(847, 24, true); WriteLiteral("\r\n </div>\r\n</div>\r\n\r\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(889, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(895, 44, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "9c55e39e042a446b933de41f7ec2bf0f", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(939, 2, true); WriteLiteral("\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(142, 2, true); WriteLiteral("\r\n"); EndContext(); #line 6 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any(); #line default #line hidden BeginContext(249, 47, true); WriteLiteral("<ul class=\"nav nav-pills nav-stacked\">\r\n <li"); EndContext(); BeginWriteAttribute("class", " class=\"", 296, "\"", 346, 1); #line 10 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" WriteAttributeValue("", 304, ManageNavPages.IndexNavClass(ViewContext), 304, 42, false); #line default #line hidden EndWriteAttribute(); BeginContext(347, 1, true); WriteLiteral(">"); EndContext(); BeginContext(348, 76, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "44d13840556c4418bbe7530152f23653", async() => { BeginContext(371, 49, false); #line 10 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Profile")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(424, 14, true); WriteLiteral("</li>\r\n <li"); EndContext(); BeginWriteAttribute("class", " class=\"", 438, "\"", 497, 1); #line 11 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" WriteAttributeValue("", 446, ManageNavPages.ChangePasswordNavClass(ViewContext), 446, 51, false); #line default #line hidden EndWriteAttribute(); BeginContext(498, 1, true); WriteLiteral(">"); EndContext(); BeginContext(499, 113, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a75720bd6df24b779fe7b6cfc45f693e", async() => { BeginContext(552, 56, false); #line 11 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ChangePassword")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(612, 7, true); WriteLiteral("</li>\r\n"); EndContext(); #line 12 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" if (hasExternalLogins) { #line default #line hidden BeginContext(655, 11, true); WriteLiteral(" <li"); EndContext(); BeginWriteAttribute("class", " class=\"", 666, "\"", 725, 1); #line 14 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" WriteAttributeValue("", 674, ManageNavPages.ExternalLoginsNavClass(ViewContext), 674, 51, false); #line default #line hidden EndWriteAttribute(); BeginContext(726, 1, true); WriteLiteral(">"); EndContext(); BeginContext(727, 70, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "68a10f8a7835413bb00db22fa03054ec", async() => { BeginContext(778, 15, true); WriteLiteral("External logins"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(797, 7, true); WriteLiteral("</li>\r\n"); EndContext(); #line 15 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" } #line default #line hidden BeginContext(811, 7, true); WriteLiteral(" <li"); EndContext(); BeginWriteAttribute("class", " class=\"", 818, "\"", 875, 1); #line 16 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" WriteAttributeValue("", 826, ManageNavPages.PersonalDataNavClass(ViewContext), 826, 49, false); #line default #line hidden EndWriteAttribute(); BeginContext(876, 1, true); WriteLiteral(">"); EndContext(); BeginContext(877, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e253d250e5c7431bbb082fc26e4aacda", async() => { BeginContext(907, 54, false); #line 16 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_ManageNav.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("PersonalData")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(965, 14, true); WriteLiteral("</li>\r\n</ul>\r\n"); EndContext(); }
public SurveyPBRModelValidator(SharedLocalizer _localizer) { ValidatorOptions.Global.CascadeMode = CascadeMode.Continue; // OrganizationName (Page: page_organization) RuleFor(x => x.OrganizationName).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.OrganizationName).Length(0, 250).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // OrganizationAddress (Page: page_organization) RuleFor(x => x.OrganizationAddress).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.OrganizationAddress).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // OrganizationCity (Page: page_organization) RuleFor(x => x.OrganizationCity).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.OrganizationCity).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // OrganizationProvince (Page: page_organization) RuleFor(x => x.OrganizationProvince).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // OrganizationProvinceOther (Page: page_organization) RuleFor(x => x.OrganizationProvinceOther).NotEmpty().When(x => x.OrganizationProvince == 14).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.OrganizationProvinceOther).Length(0, 200).When(x => x.OrganizationProvince == 14).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // OrganizationCountry (Page: page_organization) RuleFor(x => x.OrganizationCountry).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // OrganizationPostalCode (Page: page_organization) RuleFor(x => x.OrganizationPostalCode).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.OrganizationPostalCode).Length(0, 10).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // RepresentativeType (Page: page_organization) RuleFor(x => x.RepresentativeType).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.RepresentativeType).Must(x => new List <string> { "internal_representative", "external_representative" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // ContactName (Page: page_organization) RuleFor(x => x.ContactName).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactName).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // ContactTitle (Page: page_organization) RuleFor(x => x.ContactTitle).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactTitle).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // ContactPhoneWithCountryCode (Page: page_organization) RuleFor(x => x.ContactPhoneWithCountryCode).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactPhoneWithCountryCode).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // ContactPhoneExtension (Page: page_organization) // ContactEmail (Page: page_organization) RuleFor(x => x.ContactEmail).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactEmail).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); RuleFor(x => x.ContactEmail).EmailAddress(); // ContactAddress (Page: page_organization) RuleFor(x => x.ContactAddress).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactAddress).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // ContactCity (Page: page_organization) RuleFor(x => x.ContactCity).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactCity).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // ContactProvince (Page: page_organization) RuleFor(x => x.ContactProvince).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // ContactProvinceOther (Page: page_organization) RuleFor(x => x.ContactProvinceOther).NotEmpty().When(x => x.ContactProvince == 14).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactProvinceOther).Length(0, 200).When(x => x.ContactProvince == 14).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // ContactCountry (Page: page_organization) RuleFor(x => x.ContactCountry).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // ContactPostalCode (Page: page_organization) RuleFor(x => x.ContactPostalCode).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.ContactPostalCode).Length(0, 10).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // NumberOfInvidualKnown (Page: page_breach_description_affected) RuleFor(x => x.NumberOfInvidualKnown).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // NumberOfInvidualAffected (Page: page_breach_description_affected) RuleFor(x => x.NumberOfInvidualAffected).NotEmpty().When(x => x.NumberOfInvidualKnown == true).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // NumberOfCanadiansAffected (Page: page_breach_description_affected) // NumberAffectedComment (Page: page_breach_description_affected) RuleFor(x => x.NumberAffectedComment).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // DateBreachOccurrenceStart (Page: page_breach_description_dates) RuleFor(x => x.DateBreachOccurrenceStart).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // DateBreachOccurrenceEnd (Page: page_breach_description_dates) // BreachOccurrenceComment (Page: page_breach_description_dates) RuleFor(x => x.BreachOccurrenceComment).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // TypeOfBreach (Page: page_breach_description_type) RuleFor(x => x.TypeOfBreach).Must(x => new List <string> { "accidental_disclosure", "loss_physical_devices", "theft_physical_devices", "unauthorized_access", "other" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // TypeOfBreachOther (Page: page_breach_description_type) RuleFor(x => x.TypeOfBreachOther).NotEmpty().When(x => x.TypeOfBreach == "other").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.TypeOfBreachOther).Length(0, 2000).When(x => x.TypeOfBreach == "other").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // BreachCircumstanceDescription (Page: page_breach_description_circumstances) RuleFor(x => x.BreachCircumstanceDescription).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.BreachCircumstanceDescription).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // SecuritySafeguardsDescription (Page: page_breach_descriptionsecurity) RuleFor(x => x.SecuritySafeguardsDescription).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // PersonalInformation (Page: page_breach_description_subject) RuleFor(x => x.PersonalInformation).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleForEach(x => x.PersonalInformation).Must(x => new List <string> { "name", "phone_number", "email_address", "account_number", "social_insurance_number" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // SubjectOfBreach (Page: page_breach_description_subject) RuleFor(x => x.SubjectOfBreach).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.SubjectOfBreach).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // IsAffectedNotified (Page: page_notification_steps) RuleFor(x => x.IsAffectedNotified).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // DateNotificationBegan (Page: page_notification_steps) RuleFor(x => x.DateNotificationBegan).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // DateNotificationCompleted (Page: page_notification_steps) // MethodOfNotification (Page: page_notification_steps) RuleFor(x => x.MethodOfNotification).Must(x => new List <string> { "directly", "indirectly", "directly_and_indirectly", "not_notified" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // IndirectlyNotificationDescription (Page: page_notification_steps) RuleFor(x => x.IndirectlyNotificationDescription).NotEmpty().When(x => x.MethodOfNotification == "indirectly").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.IndirectlyNotificationDescription).Length(0, 2000).When(x => x.MethodOfNotification == "indirectly").WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // NotificationType (Page: page_notification_description) RuleFor(x => x.NotificationType).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleForEach(x => x.NotificationType).Must(x => new List <string> { "letter", "mail", "telephone", "newspaper" }.Contains(x)).WithMessage(_localizer.GetLocalizedStringSharedResource("SelectedValueNotValid")); // NotificationDescription (Page: page_notification_description) RuleFor(x => x.NotificationDescription).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.NotificationDescription).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // StepsReduceRisksDescription (Page: page_risk_mitigation_steps) RuleFor(x => x.StepsReduceRisksDescription).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); RuleFor(x => x.StepsReduceRisksDescription).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // OrganizationNotified (Page: page_risk_mitigation_organization) RuleFor(x => x.OrganizationNotified).NotEmpty().WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // OrganizationDescription (Page: page_risk_mitigation_organization) RuleFor(x => x.OrganizationDescription).NotEmpty().When(x => x.OrganizationNotified == true).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsRequired")); // StepsReduceRisksFuture (Page: page_risk_mitigation) RuleFor(x => x.StepsReduceRisksFuture).Length(0, 2000).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); // OrganizationDescription RuleForEach(x => x.OrganizationDescription).ChildRules(child => { // Name (Page: page_risk_mitigation_organization) child.RuleFor(x => x.Name).Length(0, 200).WithMessage(_localizer.GetLocalizedStringSharedResource("FieldIsOverCharacterLimit")); }).When(x => x.OrganizationNotified == true); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_Layout.cshtml" Layout = "/Areas/Identity/Pages/_Layout.cshtml"; #line default #line hidden BeginContext(132, 6, true); WriteLiteral("\r\n<h2>"); EndContext(); BeginContext(139, 55, false); #line 7 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_Layout.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ManageAccount")); #line default #line hidden EndContext(); BeginContext(194, 24, true); WriteLiteral("</h2>\r\n\r\n<div>\r\n <h4>"); EndContext(); BeginContext(219, 56, false); #line 10 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_Layout.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("ChangeSettings")); #line default #line hidden EndContext(); BeginContext(275, 86, true); WriteLiteral("</h4>\r\n <hr />\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n "); EndContext(); BeginContext(361, 29, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "fa3731d65047469bb44b705e3fc73cd1", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(390, 62, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-md-9\">\r\n "); EndContext(); BeginContext(453, 12, false); #line 17 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_Layout.cshtml" Write(RenderBody()); #line default #line hidden EndContext(); BeginContext(465, 40, true); WriteLiteral("\r\n </div>\r\n </div>\r\n</div>\r\n\r\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(523, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(530, 41, false); #line 23 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\_Layout.cshtml" Write(RenderSection("Scripts", required: false)); #line default #line hidden EndContext(); BeginContext(571, 2, true); WriteLiteral("\r\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Privacy.cshtml" ViewData["Title"] = "Privacy Policy"; #line default #line hidden BeginContext(156, 4, true); WriteLiteral("<h1>"); EndContext(); BeginContext(161, 17, false); #line 9 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Privacy.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(178, 73, true); WriteLiteral("</h1>\r\n\r\n<p>Use this page to detail your site\'s privacy policy.</p>\r\n\r\n\r\n"); EndContext(); BeginContext(251, 59, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "58f43d10b2534239b6a1cec29c0dc888c8012e295059", async() => { BeginContext(299, 7, true); WriteLiteral("English"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-culture", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["culture"] = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(310, 3, true); WriteLiteral("|\r\n"); EndContext(); BeginContext(313, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "58f43d10b2534239b6a1cec29c0dc888c8012e296948", async() => { BeginContext(361, 6, true); WriteLiteral("Arabic"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-culture", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["culture"] = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(371, 3, true); WriteLiteral("|\r\n"); EndContext(); BeginContext(374, 57, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "58f43d10b2534239b6a1cec29c0dc888c8012e298836", async() => { BeginContext(422, 5, true); WriteLiteral("Italy"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-culture", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["culture"] = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(431, 3, true); WriteLiteral("|\r\n"); EndContext(); BeginContext(435, 46, false); #line 17 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\Privacy.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Home")); #line default #line hidden EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Layout = "~/Pages/Shared/AdminLayout.cshtml"; #line default #line hidden #line 8 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" int i = 1; #line default #line hidden BeginContext(211, 542, true); WriteLiteral(@"<style> .thead { background: #25283a; } th { color: white } td, td a { color: black } .btn { outline: none; border: none; color: #25283a; } </style> <div class=""container"" style=""padding-top:100px;padding-bottom: 200px;""> <div class=""row col-md-12 col-md-offset-2 custyle""> <button id='myButton' onClick='redirectToAdd()' class=""btn "" style=""position: absolute; right: 13px; top: -49px;outline:none""><i class=""fa fa-plus""></i>"); EndContext(); BeginContext(754, 45, false); #line 30 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Add")); #line default #line hidden EndContext(); BeginContext(799, 155, true); WriteLiteral("</button>\r\n <table class=\"table\">\r\n <thead class=\"thead\">\r\n <tr>\r\n <th>#</th>\r\n <th>"); EndContext(); BeginContext(955, 46, false); #line 35 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Type")); #line default #line hidden EndContext(); BeginContext(1001, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(1033, 47, false); #line 36 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Image")); #line default #line hidden EndContext(); BeginContext(1080, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(1112, 47, false); #line 37 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Vedio")); #line default #line hidden EndContext(); BeginContext(1159, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(1191, 53, false); #line 38 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Description")); #line default #line hidden EndContext(); BeginContext(1244, 51, true); WriteLiteral("</th>\r\n <th class=\"text-center\">"); EndContext(); BeginContext(1296, 48, false); #line 39 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Action")); #line default #line hidden EndContext(); BeginContext(1344, 73, true); WriteLiteral("</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n"); EndContext(); #line 43 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" foreach (var item in Model.Result) { #line default #line hidden BeginContext(1489, 54, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(1543, 82, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "115d14b6fad07ae07a4a7cce1218bcde21b910b810947", async() => { BeginContext(1617, 3, false); #line 46 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(i++); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-Id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 46 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" WriteLiteral(item.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["Id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-Id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["Id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1625, 35, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(1661, 9, false); #line 47 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(item.Type); #line default #line hidden EndContext(); BeginContext(1670, 7, true); WriteLiteral("</td>\r\n"); EndContext(); #line 48 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" if (@item.Image != null) { #line default #line hidden BeginContext(1755, 36, true); WriteLiteral(" <td><img"); EndContext(); BeginWriteAttribute("src", " src=\"", 1791, "\"", 1830, 2); WriteAttributeValue("", 1797, "data:image/png;base64,", 1797, 22, true); #line 50 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" WriteAttributeValue("", 1819, item.Image, 1819, 11, false); #line default #line hidden EndWriteAttribute(); BeginContext(1831, 85, true); WriteLiteral(" style=\"height:50px;width:50px;border-radius:50%\" alt=\"image\" class=\"image\" /></td>\r\n"); EndContext(); #line 51 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" } #line default #line hidden BeginContext(1945, 24, true); WriteLiteral(" "); EndContext(); #line 53 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" if (@item.Image == null) { #line default #line hidden BeginContext(2023, 32, true); WriteLiteral(" <td>"); EndContext(); BeginContext(2055, 110, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "115d14b6fad07ae07a4a7cce1218bcde21b910b815566", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2165, 7, true); WriteLiteral("</td>\r\n"); EndContext(); #line 56 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" } #line default #line hidden BeginContext(2201, 32, true); WriteLiteral("\r\n <td><a"); EndContext(); BeginWriteAttribute("href", " href=\"", 2233, "\"", 2249, 1); #line 59 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" WriteAttributeValue("", 2240, item.URL, 2240, 9, false); #line default #line hidden EndWriteAttribute(); BeginContext(2250, 1, true); WriteLiteral(">"); EndContext(); BeginContext(2252, 8, false); #line 59 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(item.URL); #line default #line hidden EndContext(); BeginContext(2260, 39, true); WriteLiteral("</a></td>\r\n <td>"); EndContext(); BeginContext(2300, 16, false); #line 60 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(item.Description); #line default #line hidden EndContext(); BeginContext(2316, 57, true); WriteLiteral("</td>\r\n <td class=\"text-center\">\r\n"); EndContext(); BeginContext(2553, 28, true); WriteLiteral(" "); EndContext(); BeginContext(2581, 148, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "115d14b6fad07ae07a4a7cce1218bcde21b910b818714", async() => { BeginContext(2692, 33, true); WriteLiteral("<span class=\"fa fa-trash\"></span>"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Page = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-Id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 63 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" WriteLiteral(item.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["Id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-Id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["Id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.PageHandler = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2729, 60, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 66 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" } #line default #line hidden BeginContext(2810, 47, true); WriteLiteral("\r\n </tbody>\r\n\r\n <tfoot>\r\n"); EndContext(); #line 72 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" if (Model.Result.Count == 0) { #line default #line hidden BeginContext(2923, 28, true); WriteLiteral(" <tr><td>"); EndContext(); BeginContext(2952, 48, false); #line 74 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("NoData")); #line default #line hidden EndContext(); BeginContext(3000, 12, true); WriteLiteral("</td></tr>\r\n"); EndContext(); #line 75 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\ViewAllEvents.cshtml" } #line default #line hidden BeginContext(3031, 175, true); WriteLiteral(" </tfoot>\r\n </table>\r\n </div>\r\n</div>\r\n<script>\r\n function redirectToAdd() {\r\n document.location = \'/ManageAdmin/AddNewEvent\';\r\n }\r\n</script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" Layout = "~/Pages/Shared/AdminLayout.cshtml"; #line default #line hidden BeginContext(207, 346, true); WriteLiteral(@"<style> .form-group span { color: red; } </style> <div class=""container""> <div class=""row""> <div class=""col-sm-9 col-md-7 col-lg-5 mx-auto""> <div class=""card card-signin my-5""> <div class=""card-body""> <h5 class=""card-title text-center"" style=""color:#3cc88f"">"); EndContext(); BeginContext(554, 53, false); #line 20 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("AddNewEvent")); #line default #line hidden EndContext(); BeginContext(607, 99, true); WriteLiteral("</h5>\r\n <div class=\"d-flex flex-column text-center\">\r\n\r\n "); EndContext(); BeginContext(706, 614, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52142da4547c5b454e4ab9a239f685667ce423d19791", async() => { BeginContext(761, 116, true); WriteLiteral("\r\n <div class=\"form-group\" style=\"padding-bottom:30px\">\r\n "); EndContext(); BeginContext(877, 374, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("select", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52142da4547c5b454e4ab9a239f685667ce423d110295", async() => { BeginContext(980, 38, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1018, 75, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52142da4547c5b454e4ab9a239f685667ce423d110737", async() => { BeginContext(1037, 47, false); #line 26 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Image")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1093, 38, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1131, 75, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52142da4547c5b454e4ab9a239f685667ce423d112535", async() => { BeginContext(1150, 47, false); #line 27 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Vedio")); #line default #line hidden EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1206, 36, true); WriteLiteral("\r\n\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.SelectTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper); BeginWriteTagHelperAttribute(); __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __tagHelperExecutionContext.AddHtmlAttribute("selected", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized); #line 25 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Type); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_SelectTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1251, 62, true); WriteLiteral("\r\n </div>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.PageHandler = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1320, 28, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(1348, 1313, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52142da4547c5b454e4ab9a239f685667ce423d117762", async() => { BeginContext(1424, 2, true); WriteLiteral("\r\n"); EndContext(); #line 34 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" if (Model.Type == 1) { #line default #line hidden BeginContext(1508, 94, true); WriteLiteral(" <div class=\"form-group\">\r\n "); EndContext(); BeginContext(1602, 164, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "52142da4547c5b454e4ab9a239f685667ce423d118589", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); #line 37 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Descirption); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "placeholder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 37 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" AddHtmlAttributeValue("", 1700, SharedLocalizer.GetLocalizedHtmlString("EnterImageDescription"), 1700, 64, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1766, 138, true); WriteLiteral("\r\n\r\n </div>\r\n <div class=\"form-group\">\r\n "); EndContext(); BeginContext(1904, 75, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "52142da4547c5b454e4ab9a239f685667ce423d121282", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); #line 41 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.ImageUploader); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1979, 42, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 43 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" } #line default #line hidden BeginContext(2052, 2, true); WriteLiteral("\r\n"); EndContext(); #line 45 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" if (Model.Type == 2) { #line default #line hidden BeginContext(2136, 94, true); WriteLiteral(" <div class=\"form-group\">\r\n "); EndContext(); BeginContext(2230, 142, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "52142da4547c5b454e4ab9a239f685667ce423d124093", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); #line 48 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.model.Url); #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "placeholder", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 48 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" AddHtmlAttributeValue("", 2312, SharedLocalizer.GetLocalizedHtmlString("EnterURLOfVedio"), 2312, 58, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2372, 42, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 50 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" } #line default #line hidden BeginContext(2445, 128, true); WriteLiteral(" <button type=\"submit\" class=\"btn btn-success btn-block btn-round btn-style-three\" style=\"color:white\">"); EndContext(); BeginContext(2574, 45, false); #line 51 "C:\Users\Noha\source\repos\Charity_New\CharityProject\Charity.WebApp\Pages\ManageAdmin\AddNewEvent.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Add")); #line default #line hidden EndContext(); BeginContext(2619, 35, true); WriteLiteral("</button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.PageHandler = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2661, 625, true); WriteLiteral(@" </div> </div> </div> </div> </div> </div> <script> $.ajax({ type: 'POST', url: './ManageEvent/AddNewEvent', dataType: 'json', data: { id: '' }, success: function (data) { alert(""true""); }, error: function (ex) { var r = jQuery.parseJSON(response.responseText); alert(""Message: "" + r.Message); alert(""StackTrace: "" + r.StackTrace); alert(""ExceptionType: "" + r.ExceptionType); } }); return false; </script>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 5 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\PersonalData.cshtml" ViewData["Title"] = SharedLocalizer.GetLocalizedHtmlString("PersonalData"); ViewData["ActivePage"] = ManageNavPages.PersonalData; #line default #line hidden BeginContext(248, 6, true); WriteLiteral("\r\n<h4>"); EndContext(); BeginContext(255, 17, false); #line 10 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\PersonalData.cshtml" Write(ViewData["Title"]); #line default #line hidden EndContext(); BeginContext(272, 67, true); WriteLiteral("</h4>\r\n\r\n<div class=\"row\">\r\n <div class=\"col-md-6\">\r\n <p>"); EndContext(); BeginContext(340, 59, false); #line 14 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\PersonalData.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("PersonalDataInfo1")); #line default #line hidden EndContext(); BeginContext(399, 14, true); WriteLiteral("</p>\r\n "); EndContext(); BeginContext(413, 208, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c766268fba4d48a9a9506c2498e7b03a", async() => { BeginContext(484, 60, true); WriteLiteral("\r\n <button class=\"btn btn-default\" type=\"submit\">"); EndContext(); BeginContext(545, 50, false); #line 16 "C:\Users\user\Documents\GitHub\citygame\citygame\CityGames2019\Areas\Identity\Pages\Account\Manage\PersonalData.cshtml" Write(SharedLocalizer.GetLocalizedHtmlString("Download")); #line default #line hidden EndContext(); BeginContext(595, 19, true); WriteLiteral("</button>\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Page = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(621, 24, true); WriteLiteral("\r\n </div>\r\n</div>\r\n\r\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(663, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(669, 44, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a56b904d8cca44e2b5c6cf10358380f1", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(713, 2, true); WriteLiteral("\r\n"); EndContext(); } ); }