#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { #line 3 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" var contentComments = "#comments"; var contentNews = "#news"; #line default #line hidden BeginContext(140, 3372, true); WriteLiteral(@" <link rel=""stylesheet"" href=""https://cdnjs.cloudflare.com/ajax/libs/rateYo/2.3.2/jquery.rateyo.min.css""> <script src=""https://cdnjs.cloudflare.com/ajax/libs/rateYo/2.3.2/jquery.rateyo.min.js""></script> <link rel=""stylesheet"" href=""https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css""> <script src=""https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js""></script> <script src=""https://cdnjs.cloudflare.com/ajax/libs/markdown-it/9.0.1/markdown-it.min.js""></script> <script src=""https://cdn.jsdelivr.net/npm/[email protected]/dist/showdown.min.js""></script> <script type=""text/javascript""></script> <script> $(document).ready(function () { $('#buttonDemo1').click(function () { var commentText = document.getElementById(""commentText"").value; var commentCampaignId = document.getElementById(""commentCampaignId"").value; $.ajax({ type: 'GET', url: '/Project/AddComment?campId=' + commentCampaignId + '&value=' + commentTex"); WriteLiteral(@"t, success: function (result) { //var h4 = document.createElement('h4'); //h4.innerHTML = result; //$('#commentList').prepend(h4); } }); }); number = Number(document.getElementById('idNumber').value); $('#buttonShowMoreComments').click(function () { var commentCampaignId = document.getElementById(""commentCampaignId"").value; $.ajax({ type: 'GET', url: '/Project/ShowComments?campId=' + commentCampaignId + '&number=' + number, success: function (result) { if (result.length != 0) { number = Number(result[result.length - 1].id); for (var i = 0; i < result.length; i++) { var h4 = document.createElement('h4'); h4.innerHTML = result[i].userName + ':' + result[i].content; "); WriteLiteral(@" $('#commentList').append(h4); } } } }); }); var lastCommentId = Number(document.getElementById('idNumberLast').value); function update() { var commentCampaignId = document.getElementById(""commentCampaignId"").value; $.ajax({ type: 'GET', url: '/Project/UpdateComments?campId=' + commentCampaignId + '&lastCommentId=' + lastCommentId, success: function (result) { if (result.length != 0) { lastCommentId = Number(result[result.length - 1].id); for (var i = 0; i < result.length; i++) { var h4 = document.createElement('h4'); h4.innerHTML = result[i].userName + ':' + result[i].content; $('#commentList').prepend(h4); } "); WriteLiteral(@" } } }); } setInterval(update, 2000); }); </script> <div id='container'> <div class=""border-bottom shadow-sm""> <div class=""container""> <div class=""row""> <div class=""col-sm""> "); EndContext(); BeginContext(3512, 57, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "79179ab0afb0daa746011b2ab157bf4e974bafa412865", 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(3569, 113, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-sm\">\r\n <h2 class=\"text-center mb-2\">"); EndContext(); BeginContext(3683, 10, false); #line 83 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(Model.Name); #line default #line hidden EndContext(); BeginContext(3693, 39, true); WriteLiteral("</h2>\r\n <h6>Creator:"); EndContext(); BeginContext(3733, 14, false); #line 84 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(Model.UserName); #line default #line hidden EndContext(); BeginContext(3747, 41, true); WriteLiteral("</h6>\r\n <h6>Total sum:"); EndContext(); BeginContext(3789, 14, false); #line 85 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(Model.TotalSum); #line default #line hidden EndContext(); BeginContext(3803, 43, true); WriteLiteral("</h6>\r\n <h6>Current sum:"); EndContext(); BeginContext(3847, 16, false); #line 86 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(Model.CurrentSum); #line default #line hidden EndContext(); BeginContext(3863, 42, true); WriteLiteral("</h6>\r\n <h6>Days to go:"); EndContext(); BeginContext(3906, 14, false); #line 87 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(Model.DaysToGo); #line default #line hidden EndContext(); BeginContext(3920, 40, true); WriteLiteral("</h6>\r\n <h6>Category:"); EndContext(); BeginContext(3961, 14, false); #line 88 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(Model.Category); #line default #line hidden EndContext(); BeginContext(3975, 60, true); WriteLiteral("</h6>\r\n\r\n <div>\r\n "); EndContext(); BeginContext(4035, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa416729", async() => { } ); __Syncfusion_EJ2_Buttons_Button = CreateTagHelper <global::Syncfusion.EJ2.Buttons.Button>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Buttons_Button); __Syncfusion_EJ2_Buttons_Button.Id = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Syncfusion_EJ2_Buttons_Button.Content = (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(4096, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4122, 884, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa418108", async() => { BeginContext(4241, 30, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4271, 696, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa418528", async() => { BeginContext(4291, 89, true); WriteLiteral("\r\n <h4>Contribution</h4>\r\n "); EndContext(); BeginContext(4380, 536, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa419037", async() => { BeginContext(4490, 419, true); WriteLiteral(@" <div class=""form-group""> <input type=""number"" name=""Value"" /> </div> <div class=""form-group""> <input type=""submit"" value=""Отправить"" class=""btn"" /> </div> "); 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_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-campName", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 95 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteLiteral(Model.Name); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["campName"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-campName", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["campName"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-withBonus", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["withBonus"] = (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(4916, 30, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_ContentTemplate = CreateTagHelper <global::Syncfusion.EJ2.ContentTemplate>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_ContentTemplate); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4967, 26, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_Popups_Dialog = CreateTagHelper <global::Syncfusion.EJ2.Popups.Dialog>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Popups_Dialog); __Syncfusion_EJ2_Popups_Dialog.Id = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); #line 92 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" __Syncfusion_EJ2_Popups_Dialog.IsModal = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("isModal", __Syncfusion_EJ2_Popups_Dialog.IsModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_EJ2_Popups_Dialog.Width = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Syncfusion_EJ2_Popups_Dialog.OverlayClick = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_EJ2_Popups_Dialog.Target = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 92 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" __Syncfusion_EJ2_Popups_Dialog.Visible = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_EJ2_Popups_Dialog.Visible, 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(5006, 141, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n <iframe width=\"560\" height=\"315\""); EndContext(); BeginWriteAttribute("src", " src=\"", 5147, "\"", 5165, 1); #line 109 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteAttributeValue("", 5153, Model.Video, 5153, 12, false); #line default #line hidden EndWriteAttribute(); BeginContext(5166, 278, true); WriteLiteral(@" frameborder=""0"" allow=""accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"" allowfullscreen></iframe> </div> </div> </div> <div class=""container""> <div class=""row""> <div class=""col-sm""> "); EndContext(); BeginContext(5444, 485, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-tab", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa427059", async() => { BeginContext(5469, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5491, 410, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-tabitems", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa427468", async() => { BeginContext(5507, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5533, 101, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-tabitem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa427908", async() => { } ); __Syncfusion_EJ2_Navigations_TabTabItem = CreateTagHelper <global::Syncfusion.EJ2.Navigations.TabTabItem>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Navigations_TabTabItem); #line 118 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" __Syncfusion_EJ2_Navigations_TabTabItem.Header = ViewBag.headerTextOne; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("header", __Syncfusion_EJ2_Navigations_TabTabItem.Header, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 118 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteLiteral(Html.Raw(Model.Description)); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Syncfusion_EJ2_Navigations_TabTabItem.Content = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("content", __Syncfusion_EJ2_Navigations_TabTabItem.Content, 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(5634, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5660, 85, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-tabitem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa430198", async() => { } ); __Syncfusion_EJ2_Navigations_TabTabItem = CreateTagHelper <global::Syncfusion.EJ2.Navigations.TabTabItem>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Navigations_TabTabItem); #line 119 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" __Syncfusion_EJ2_Navigations_TabTabItem.Header = ViewBag.headerTextTwo; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("header", __Syncfusion_EJ2_Navigations_TabTabItem.Header, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 119 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteLiteral(contentNews); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Syncfusion_EJ2_Navigations_TabTabItem.Content = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("content", __Syncfusion_EJ2_Navigations_TabTabItem.Content, 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(5745, 26, true); WriteLiteral("\r\n "); EndContext(); BeginContext(5771, 91, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-tab-tabitem", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa432472", async() => { } ); __Syncfusion_EJ2_Navigations_TabTabItem = CreateTagHelper <global::Syncfusion.EJ2.Navigations.TabTabItem>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Navigations_TabTabItem); #line 120 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" __Syncfusion_EJ2_Navigations_TabTabItem.Header = ViewBag.headerTextThree; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("header", __Syncfusion_EJ2_Navigations_TabTabItem.Header, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 120 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteLiteral(contentComments); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Syncfusion_EJ2_Navigations_TabTabItem.Content = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("content", __Syncfusion_EJ2_Navigations_TabTabItem.Content, 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(5862, 22, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_Navigations_TabTabItems = CreateTagHelper <global::Syncfusion.EJ2.Navigations.TabTabItems>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Navigations_TabTabItems); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5901, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_Navigations_Tab = CreateTagHelper <global::Syncfusion.EJ2.Navigations.Tab>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Navigations_Tab); __Syncfusion_EJ2_Navigations_Tab.Id = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(5929, 99, true); WriteLiteral("\r\n </div>\r\n <div class=\"col-sm\">\r\n <table class=\"container\">\r\n"); EndContext(); #line 126 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" foreach (Bonus b in Model.Bonuses) { #line default #line hidden BeginContext(6115, 74, true); WriteLiteral(" <tr>\r\n <td><h3>"); EndContext(); BeginContext(6190, 6, false); #line 130 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(b.Name); #line default #line hidden EndContext(); BeginContext(6196, 52, true); WriteLiteral("</h3></td>\r\n <td><h3>"); EndContext(); BeginContext(6249, 5, false); #line 131 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(b.Sum); #line default #line hidden EndContext(); BeginContext(6254, 50, true); WriteLiteral(" $</h3></td>\r\n <td>"); EndContext(); BeginContext(6304, 117, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "79179ab0afb0daa746011b2ab157bf4e974bafa437786", async() => { BeginContext(6411, 6, true); WriteLiteral("Get it"); 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.Controller = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-bonusId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 132 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteLiteral(b.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["bonusId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-bonusId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["bonusId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(6421, 42, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 134 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" } #line default #line hidden BeginContext(6515, 190, true); WriteLiteral(" </table>\r\n \r\n </div>\r\n </div>\r\n </div>\r\n <div id=\"comments\" style=\"display:none\">\r\n <fieldset>\r\n <input type=\"hidden\""); EndContext(); BeginWriteAttribute("value", " value=\"", 6705, "\"", 6722, 1); #line 144 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteAttributeValue("", 6713, Model.Id, 6713, 9, false); #line default #line hidden EndWriteAttribute(); BeginContext(6723, 268, true); WriteLiteral(@" id=""commentCampaignId"" /> <input type=""text"" id=""commentText"" /> <input type=""button"" value=""Send Comment"" id=""buttonDemo1"" /> <br /> <span id=""result1""></span> </fieldset> <div id=""commentList""> "); EndContext(); #line 151 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" var orderByComments = from c in Model.Comments orderby c.Time descending select c; List <Comment> comments = orderByComments.ToList(); if (comments.Count != 0) { if (comments.Count >= 5) { #line default #line hidden BeginContext(7383, 65, true); WriteLiteral(" <input type=\"number\" style=\"display:none\""); EndContext(); BeginWriteAttribute("value", " value=\"", 7448, "\"", 7471, 1); #line 160 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteAttributeValue("", 7456, comments[4].Id, 7456, 15, false); #line default #line hidden EndWriteAttribute(); BeginContext(7472, 19, true); WriteLiteral(" id=\"idNumber\" />\r\n"); EndContext(); #line 161 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" for (int i = 0; i < 5; i++) { #line default #line hidden BeginContext(7571, 32, true); WriteLiteral(" <h4>"); EndContext(); BeginContext(7604, 16, false); #line 163 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(comments[i].User); #line default #line hidden EndContext(); BeginContext(7620, 1, true); WriteLiteral(":"); EndContext(); BeginContext(7622, 19, false); #line 163 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(comments[i].Content); #line default #line hidden EndContext(); BeginContext(7641, 7, true); WriteLiteral("</h4>\r\n"); EndContext(); #line 164 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" } } else { #line default #line hidden BeginContext(7747, 65, true); WriteLiteral(" <input type=\"number\" style=\"display:none\""); EndContext(); BeginWriteAttribute("value", " value=\"", 7812, "\"", 7850, 1); #line 168 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteAttributeValue("", 7820, comments[comments.Count - 1].Id, 7820, 30, false); #line default #line hidden EndWriteAttribute(); BeginContext(7851, 19, true); WriteLiteral(" id=\"idNumber\" />\r\n"); EndContext(); #line 169 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" for (int i = 0; i < comments.Count; i++) { #line default #line hidden BeginContext(7962, 32, true); WriteLiteral(" <h4>"); EndContext(); BeginContext(7995, 16, false); #line 171 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(comments[i].User); #line default #line hidden EndContext(); BeginContext(8011, 1, true); WriteLiteral(":"); EndContext(); BeginContext(8013, 19, false); #line 171 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(comments[i].Content); #line default #line hidden EndContext(); BeginContext(8032, 7, true); WriteLiteral("</h4>\r\n"); EndContext(); #line 172 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" } } #line default #line hidden BeginContext(8089, 61, true); WriteLiteral(" <input type=\"number\" style=\"display:none\""); EndContext(); BeginWriteAttribute("value", " value=\"", 8150, "\"", 8173, 1); #line 174 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" WriteAttributeValue("", 8158, comments[0].Id, 8158, 15, false); #line default #line hidden EndWriteAttribute(); BeginContext(8174, 23, true); WriteLiteral(" id=\"idNumberLast\" />\r\n"); EndContext(); #line 175 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" } #line default #line hidden BeginContext(8235, 149, true); WriteLiteral(" </div>\r\n <input type=\"button\" value=\"Show more\" id=\"buttonShowMoreComments\" />\r\n </div>\r\n <div id=\"news\" style=\"display:none\">\r\n"); EndContext(); #line 183 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" foreach (News news in Model.News) { #line default #line hidden BeginContext(8458, 128, true); WriteLiteral(" <div class=\"border mt-4\">\r\n <div class=\"container\">\r\n <h4 class=\"text-center\">"); EndContext(); BeginContext(8587, 11, false); #line 188 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(news.Header); #line default #line hidden EndContext(); BeginContext(8598, 23, true); WriteLiteral("</h4>\r\n "); EndContext(); BeginContext(8622, 22, false); #line 189 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" Write(Html.Raw(news.Content)); #line default #line hidden EndContext(); BeginContext(8644, 58, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); #line 192 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\Project\ShowProjectInfo.cshtml" } #line default #line hidden BeginContext(8728, 690, true); WriteLiteral(@" </div> </div> <script> document.getElementById('targetButton').onclick = function () { var dialogObj = document.getElementById('dialog').ej2_instances[0]; dialogObj.show(); } function onOverlayClick() { var dialog = document.getElementById(""dialog"").ej2_instances[0]; dialog.hide(); } document.getElementById('getBonusButton').onclick = function () { var dialogObj = document.getElementById('dialog3').ej2_instances[0]; dialogObj.show(); } function onOverlayClick3() { var dialog = document.getElementById(""dialog3"").ej2_instances[0]; dialog.hide(); } </script> "); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(18, 247, true); WriteLiteral("\r\n<div class=\"container\" id=\"container\">\r\n<h2 class=\"text-center\">Edit your campaign</h2>\r\n<div class=\"row\">\r\n <div class=\"col-sm\">\r\n <div class=\"container\">\r\n <h3 class=\"text-center\">News</h3>\r\n <table class=\"container\">\r\n"); EndContext(); #line 10 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" foreach (News news in Model.News) { #line default #line hidden BeginContext(353, 84, true); WriteLiteral(" <tr>\r\n <td>\r\n "); EndContext(); BeginContext(438, 11, false); #line 16 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" Write(news.Header); #line default #line hidden EndContext(); BeginContext(449, 91, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(540, 124, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3211092", async() => { BeginContext(656, 4, true); WriteLiteral("Edit"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-newsId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 19 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(news.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["newsId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-newsId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["newsId"], 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(664, 91, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(755, 163, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3213899", async() => { BeginContext(908, 6, true); WriteLiteral("Delete"); 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.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __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-newsId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 22 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(news.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["newsId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-newsId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["newsId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 22 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(news.Campaign.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["cmpId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-cmpId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["cmpId"], 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(918, 60, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 25 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" } #line default #line hidden BeginContext(1014, 45, true); WriteLiteral(" </table>\r\n <div>\r\n "); EndContext(); BeginContext(1059, 63, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3217774", async() => { } ); __Syncfusion_EJ2_Buttons_Button = CreateTagHelper <global::Syncfusion.EJ2.Buttons.Button>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Buttons_Button); __Syncfusion_EJ2_Buttons_Button.Id = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Syncfusion_EJ2_Buttons_Button.Content = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1122, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1136, 1078, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3219142", async() => { BeginContext(1249, 18, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1267, 920, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3219550", async() => { BeginContext(1287, 22, true); WriteLiteral("\r\n "); EndContext(); BeginContext(1309, 839, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3219990", async() => { BeginContext(1390, 751, true); WriteLiteral(@" <div class=""form-group""> <input type=""text"" name=""header"" /> </div> <div class=""form-group""> <textarea id=""mdText""></textarea> <input type=""hidden"" id=""mdHtml"" name=""content"" /> </div> <div class=""form-group""> <input type=""hidden"" id=""contentMd"" name=""contentMd""/> </div> <div class=""form-group""> <input type=""submit"" value=""Отправить"" class=""btn"" /> </div> "); 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_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-campId", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 33 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(Model.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["campId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-campId", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["campId"], 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(2148, 18, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_ContentTemplate = CreateTagHelper <global::Syncfusion.EJ2.ContentTemplate>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_ContentTemplate); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2187, 14, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_Popups_Dialog = CreateTagHelper <global::Syncfusion.EJ2.Popups.Dialog>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Popups_Dialog); __Syncfusion_EJ2_Popups_Dialog.Id = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); #line 31 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" __Syncfusion_EJ2_Popups_Dialog.IsModal = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("isModal", __Syncfusion_EJ2_Popups_Dialog.IsModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_EJ2_Popups_Dialog.OverlayClick = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Syncfusion_EJ2_Popups_Dialog.Target = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 31 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" __Syncfusion_EJ2_Popups_Dialog.Visible = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_EJ2_Popups_Dialog.Visible, 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(2214, 190, true); WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm\">\r\n <div class=\"container\">\r\n <h3 class=\"text-center\">Bonuses</h3>\r\n <table class=\"container\">\r\n"); EndContext(); #line 58 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" foreach (Bonus bonus in Model.Bonuses) { #line default #line hidden BeginContext(2497, 84, true); WriteLiteral(" <tr>\r\n <td>\r\n "); EndContext(); BeginContext(2582, 10, false); #line 64 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" Write(bonus.Name); #line default #line hidden EndContext(); BeginContext(2592, 91, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(2683, 127, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3227772", async() => { BeginContext(2802, 4, true); WriteLiteral("Edit"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-bonusId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 67 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(bonus.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["bonusId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-bonusId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["bonusId"], 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(2810, 91, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(2901, 167, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3230591", async() => { BeginContext(3058, 6, true); WriteLiteral("Delete"); 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.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-bonusId", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 70 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(bonus.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["bonusId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-bonusId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["bonusId"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); BeginWriteTagHelperAttribute(); #line 70 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(bonus.Campaign.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["cmpId"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-cmpId", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["cmpId"], 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(3068, 60, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 73 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" } #line default #line hidden BeginContext(3164, 37, true); WriteLiteral(" </table>\r\n <div>\r\n "); EndContext(); BeginContext(3201, 65, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-button", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3234473", async() => { } ); __Syncfusion_EJ2_Buttons_Button = CreateTagHelper <global::Syncfusion.EJ2.Buttons.Button>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Buttons_Button); __Syncfusion_EJ2_Buttons_Button.Id = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); __Syncfusion_EJ2_Buttons_Button.Content = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3266, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3272, 842, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ejs-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3235835", async() => { BeginContext(3401, 10, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3411, 684, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3236235", async() => { BeginContext(3431, 14, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3445, 619, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "70c9a45f966f5e1f19eaaf863662186fec62da3236667", async() => { BeginContext(3531, 526, true); WriteLiteral(@" <div class=""form-group""> <input type=""text"" name=""name"" /> </div> <div class=""form-group""> <input type=""number"" name=""sum"" /> </div> <div class=""form-group""> <input type=""text"" name=""description"" /> </div> <div class=""form-group""> <input type=""submit"" value=""Отправить"" class=""btn"" /> </div> "); 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_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-campName", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 81 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" WriteLiteral(Model.Name); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["campName"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-campName", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["campName"], 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(4064, 10, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_ContentTemplate = CreateTagHelper <global::Syncfusion.EJ2.ContentTemplate>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_ContentTemplate); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4095, 6, true); WriteLiteral("\r\n "); EndContext(); } ); __Syncfusion_EJ2_Popups_Dialog = CreateTagHelper <global::Syncfusion.EJ2.Popups.Dialog>(); __tagHelperExecutionContext.Add(__Syncfusion_EJ2_Popups_Dialog); __Syncfusion_EJ2_Popups_Dialog.Id = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); #line 79 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" __Syncfusion_EJ2_Popups_Dialog.IsModal = true; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("isModal", __Syncfusion_EJ2_Popups_Dialog.IsModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Syncfusion_EJ2_Popups_Dialog.Width = (string)__tagHelperAttribute_18.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_18); __Syncfusion_EJ2_Popups_Dialog.OverlayClick = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Syncfusion_EJ2_Popups_Dialog.Target = (string)__tagHelperAttribute_11.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11); #line 79 "D:\Itransition\CrowdfundingWeb\CrowdfundingWeb\Views\ProjectCreator\Edit.cshtml" __Syncfusion_EJ2_Popups_Dialog.Visible = false; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("visible", __Syncfusion_EJ2_Popups_Dialog.Visible, 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(4114, 1370, true); WriteLiteral(@" </div> </div> </div> </div> </div> <script> var simplemde = new SimpleMDE({ element: document.getElementById(""mdText"") }); simplemde.value(""# Type your text here""); var converter = new showdown.Converter(); converter.setOption('simpleLineBreaks', 'true'); var html = converter.makeHtml(simplemde.value()); document.getElementById(""mdHtml"").value = html; simplemde.codemirror.on(""change"", function () { var html = converter.makeHtml(simplemde.value()); document.getElementById(""mdHtml"").value = html; document.getElementById(""contentMd"").value = simplemde.value(); }); document.getElementById('addNewsButton').onclick = function () { var dialogObj = document.getElementById('dialogNews').ej2_instances[0]; dialogObj.show(); } function onOverlayClickNews() { var dialog = document.getElementById(""dialogNews"").ej2_instances[0]; dialog.hide(); } "); WriteLiteral(@" document.getElementById('addBonusButton').onclick = function () { var dialogObj = document.getElementById('dialogBonus').ej2_instances[0]; dialogObj.show(); } function onOverlayClickBonus() { var dialog = document.getElementById(""dialogBonus"").ej2_instances[0]; dialog.hide(); } </script> "); EndContext(); }