#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { DefineSection("Scripts", async() => { BeginContext(143, 1576, true); WriteLiteral(@" <script type=""text/javascript""> var bidsButton = document.getElementById('bidsButton'); var expodedLotsButton = document.getElementById('expodedLotsButton'); var wonLotsButton = document.getElementById('wonLotsButton'); var bidsTable = document.getElementById('bidsTable'); var expodedLotsTable = document.getElementById('expodedLotsTable'); var wonLotsTable = document.getElementById('wonLotsTable'); function bidsButtonClicked() { bidsTable.style.display = 'inline-table'; expodedLotsTable.style.display = 'none'; wonLotsTable.style.display = 'none'; bidsButton.className = 'tab tab-active'; expodedLotsButton.className = 'tab'; wonLotsButton.className = 'tab'; } function expodedLotsButtonClicked() { bidsTable.style.display = 'none'; expodedLotsTable.style.display = 'inline-table'; wonLotsTable.style.display "); WriteLiteral(@"= 'none'; bidsButton.className = 'tab'; expodedLotsButton.className = 'tab tab-active'; wonLotsButton.className = 'tab'; } function wonLotsButtonClicked() { bidsTable.style.display = 'none'; expodedLotsTable.style.display = 'none'; wonLotsTable.style.display = 'inline-table'; bidsButton.className = 'tab'; expodedLotsButton.className = 'tab'; wonLotsButton.className = 'tab tab-active'; } </script> "); EndContext(); } ); BeginContext(1722, 162, true); WriteLiteral("<div id=\"profile-body\">\r\n <div id=\"profile-desc\">\r\n <table border=\"0\" cellspacing=\"10\">\r\n <tr>\r\n <td class=\"desc-table-title\">"); EndContext(); BeginContext(1885, 21, false); #line 47 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["UserName"]); #line default #line hidden EndContext(); BeginContext(1906, 55, true); WriteLiteral(":</td>\r\n <td class=\"desc-table-content\">"); EndContext(); BeginContext(1962, 19, false); #line 48 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Model.User.UserName); #line default #line hidden EndContext(); BeginContext(1981, 149, true); WriteLiteral("</td>\r\n </tr>\r\n <tr>\r\n <td class=\"desc-table-title\">Email:</td>\r\n <td class=\"desc-table-content\">"); EndContext(); BeginContext(2131, 16, false); #line 52 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Model.User.Email); #line default #line hidden EndContext(); BeginContext(2147, 89, true); WriteLiteral("</td>\r\n </tr>\r\n <tr>\r\n <td class=\"desc-table-title\">"); EndContext(); BeginContext(2237, 24, false); #line 55 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["PhoneNumber"]); #line default #line hidden EndContext(); BeginContext(2261, 55, true); WriteLiteral(":</td>\r\n <td class=\"desc-table-content\">"); EndContext(); BeginContext(2318, 69, false); #line 56 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Model.User.PhoneNumber != null ? Model.User.PhoneNumber : "не указан"); #line default #line hidden EndContext(); BeginContext(2388, 89, true); WriteLiteral("</td>\r\n </tr>\r\n <tr>\r\n <td class=\"desc-table-title\">"); EndContext(); BeginContext(2478, 23, false); #line 59 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Registered"]); #line default #line hidden EndContext(); BeginContext(2501, 55, true); WriteLiteral(":</td>\r\n <td class=\"desc-table-content\">"); EndContext(); BeginContext(2557, 23, false); #line 60 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Model.User.Registration); #line default #line hidden EndContext(); BeginContext(2580, 28, true); WriteLiteral("</td>\r\n </tr>\r\n\r\n"); EndContext(); #line 63 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" if (Model.IsMy) { #line default #line hidden BeginContext(2653, 46, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(2699, 126, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7e8350b2ed3249598878647d0105f5a3", async() => { BeginContext(2804, 17, false); #line 66 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Edit"]); #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); __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-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 66 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" WriteLiteral(Model.User.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(2825, 31, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(2856, 116, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6b7e07528300430b9baf7521aa355048", async() => { BeginContext(2941, 27, false); #line 67 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["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_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (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(2972, 30, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 69 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } else if (User.IsInRole("admin")) { #line default #line hidden BeginContext(3078, 46, true); WriteLiteral(" <tr>\r\n <td>"); EndContext(); BeginContext(3124, 126, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0cf713cc6e944f90a4591e4285855fea", async() => { BeginContext(3228, 18, false); #line 73 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Roles"]); #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); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 73 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" WriteLiteral(Model.User.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(3250, 57, true); WriteLiteral("</td>\r\n <td>\r\n "); EndContext(); BeginContext(3307, 225, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "378b8f7afbb34ac0a9e7f13c4368718b", async() => { BeginContext(3377, 92, true); WriteLiteral("\r\n <input class=\"action-link-default button-danger\" type=\"submit\""); EndContext(); BeginWriteAttribute("value", " value=", 3469, "", 3496, 1); #line 76 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" WriteAttributeValue("", 3476, Localizer["Delete"], 3476, 20, false); #line default #line hidden EndWriteAttribute(); BeginContext(3496, 29, true); WriteLiteral(" />\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.Action = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); if (__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 75 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" WriteLiteral(Model.User.Id); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.RouteValues["id"], global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (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(3532, 52, true); WriteLiteral("\r\n </td>\r\n </tr>\r\n"); EndContext(); #line 80 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } #line default #line hidden BeginContext(3599, 194, true); WriteLiteral(" </table>\r\n </div>\r\n <div class=\"profile-tabs-panel\">\r\n <div class=\"profile-tabs\">\r\n <button id=\"bidsButton\" class=\"tab tab-active\" onclick=\"bidsButtonClicked();\">"); EndContext(); BeginContext(3794, 17, false); #line 85 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Bids"]); #line default #line hidden EndContext(); BeginContext(3811, 104, true); WriteLiteral("</button>\r\n <button id=\"expodedLotsButton\" class=\"tab\" onclick=\"expodedLotsButtonClicked();\">"); EndContext(); BeginContext(3916, 24, false); #line 86 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["ExpodedLots"]); #line default #line hidden EndContext(); BeginContext(3940, 96, true); WriteLiteral("</button>\r\n <button id=\"wonLotsButton\" class=\"tab\" onclick=\"wonLotsButtonClicked();\">"); EndContext(); BeginContext(4037, 20, false); #line 87 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["WonLots"]); #line default #line hidden EndContext(); BeginContext(4057, 205, true); WriteLiteral("</button>\r\n </div>\r\n <div class=\"profile-table-space\">\r\n <table cellspacing=\"0\" cellpadding=\"4\" id=\"bidsTable\">\r\n <tr class=\"table-header\">\r\n <th>"); EndContext(); BeginContext(4263, 16, false); #line 92 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Lot"]); #line default #line hidden EndContext(); BeginContext(4279, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(4311, 22, false); #line 93 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["BidAmount"]); #line default #line hidden EndContext(); BeginContext(4333, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(4365, 17, false); #line 94 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Time"]); #line default #line hidden EndContext(); BeginContext(4382, 30, true); WriteLiteral("</th>\r\n </tr>\r\n"); EndContext(); #line 96 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" if (Model.User.Bids.Count > 0) { foreach (var bid in Model.User.Bids.OrderByDescending(b => b.Time)) { #line default #line hidden BeginContext(4592, 80, true); WriteLiteral(" <tr class=\"table-row\">\r\n <td>"); EndContext(); BeginContext(4672, 54, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("obj-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "94763d104b364490871fe7d9c5fa3d88", async() => { } ); __Auction_TagHelpers_ObjLinkTagHelper = CreateTagHelper <global::Auction.TagHelpers.ObjLinkTagHelper>(); __tagHelperExecutionContext.Add(__Auction_TagHelpers_ObjLinkTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); #line 101 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" __Auction_TagHelpers_ObjLinkTagHelper.Obj = bid.Lot; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("obj", __Auction_TagHelpers_ObjLinkTagHelper.Obj, 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(4726, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(4766, 12, false); #line 102 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(bid.NewPrice); #line default #line hidden EndContext(); BeginContext(4778, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(4818, 8, false); #line 103 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(bid.Time); #line default #line hidden EndContext(); BeginContext(4826, 38, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 105 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } } else { #line default #line hidden BeginContext(4947, 85, true); WriteLiteral(" <tr class=\"table-null\">\r\n <td colspan=\"3\">"); EndContext(); BeginContext(5033, 19, false); #line 110 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["NoBids"]); #line default #line hidden EndContext(); BeginContext(5052, 34, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 112 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } #line default #line hidden BeginContext(5105, 185, true); WriteLiteral(" </table>\r\n <table cellspacing=\"0\" cellpadding=\"4\" id=\"expodedLotsTable\" style=\"display:none\">\r\n <tr class=\"table-header\">\r\n <th>"); EndContext(); BeginContext(5291, 17, false); #line 116 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Name"]); #line default #line hidden EndContext(); BeginContext(5308, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(5340, 18, false); #line 117 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Price"]); #line default #line hidden EndContext(); BeginContext(5358, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(5390, 19, false); #line 118 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Ending"]); #line default #line hidden EndContext(); BeginContext(5409, 30, true); WriteLiteral("</th>\r\n </tr>\r\n"); EndContext(); #line 120 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" if (Model.User.Lots.Count > 0) { foreach (var lot in Model.User.Lots.OrderByDescending(l => l.Ending)) { #line default #line hidden BeginContext(5621, 80, true); WriteLiteral(" <tr class=\"table-row\">\r\n <td>"); EndContext(); BeginContext(5701, 50, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("obj-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "af7047c148604515aae48d522aaaf07b", async() => { } ); __Auction_TagHelpers_ObjLinkTagHelper = CreateTagHelper <global::Auction.TagHelpers.ObjLinkTagHelper>(); __tagHelperExecutionContext.Add(__Auction_TagHelpers_ObjLinkTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); #line 125 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" __Auction_TagHelpers_ObjLinkTagHelper.Obj = lot; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("obj", __Auction_TagHelpers_ObjLinkTagHelper.Obj, 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(5751, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(5791, 9, false); #line 126 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(lot.Price); #line default #line hidden EndContext(); BeginContext(5800, 39, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(5840, 10, false); #line 127 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(lot.Ending); #line default #line hidden EndContext(); BeginContext(5850, 38, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 129 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } } else { #line default #line hidden BeginContext(5971, 85, true); WriteLiteral(" <tr class=\"table-null\">\r\n <td colspan=\"3\">"); EndContext(); BeginContext(6057, 19, false); #line 134 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["NoLots"]); #line default #line hidden EndContext(); BeginContext(6076, 34, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 136 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } #line default #line hidden BeginContext(6129, 183, true); WriteLiteral("\r\n </table>\r\n <table cellspacing=\"0\" cellpadding=\"4\" id=\"wonLotsTable\" style=\"display:none\">\r\n <tr class=\"table-header\">\r\n <th>"); EndContext(); BeginContext(6313, 17, false); #line 141 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Name"]); #line default #line hidden EndContext(); BeginContext(6330, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(6362, 18, false); #line 142 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Price"]); #line default #line hidden EndContext(); BeginContext(6380, 31, true); WriteLiteral("</th>\r\n <th>"); EndContext(); BeginContext(6412, 19, false); #line 143 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["Ending"]); #line default #line hidden EndContext(); BeginContext(6431, 30, true); WriteLiteral("</th>\r\n </tr>\r\n"); EndContext(); #line 145 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" List <Lot> lots = Model.User.Bids.OrderByDescending(b => b.Time).Select(b => b.Lot).Distinct().ToList(); bool winSmth = false; foreach (Lot lot in lots) { if (Model.User == lot.Bids.OrderByDescending(b => b.Time).First().User&& !lot.IsActual()) { winSmth = true; #line default #line hidden BeginContext(6905, 88, true); WriteLiteral(" <tr class=\"table-row\">\r\n <td>"); EndContext(); BeginContext(6993, 50, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("obj-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "437ca52e5b644251b05aa0c3e57ab9ce", async() => { } ); __Auction_TagHelpers_ObjLinkTagHelper = CreateTagHelper <global::Auction.TagHelpers.ObjLinkTagHelper>(); __tagHelperExecutionContext.Add(__Auction_TagHelpers_ObjLinkTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); #line 154 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" __Auction_TagHelpers_ObjLinkTagHelper.Obj = lot; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("obj", __Auction_TagHelpers_ObjLinkTagHelper.Obj, 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(7043, 43, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(7087, 9, false); #line 155 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(lot.Price); #line default #line hidden EndContext(); BeginContext(7096, 43, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(7140, 10, false); #line 156 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(lot.Ending); #line default #line hidden EndContext(); BeginContext(7150, 42, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 158 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } } if (!winSmth) { #line default #line hidden BeginContext(7300, 93, true); WriteLiteral(" <tr class=\"table-null\">\r\n <td colspan=\"3\">"); EndContext(); BeginContext(7394, 19, false); #line 163 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" Write(Localizer["NoLots"]); #line default #line hidden EndContext(); BeginContext(7413, 38, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 165 "D:\ASP\Auction\Auction\Views\Users\Profile.cshtml" } #line default #line hidden BeginContext(7493, 60, true); WriteLiteral(" </table>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(92, 76, true); WriteLiteral("\r\n<div class=\"listing-item\">\r\n <div class=\"listing-item-image\">\r\n "); EndContext(); BeginContext(168, 165, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b678392c71054bea8af771137fd62f25", async() => { BeginContext(236, 18, true); WriteLiteral("\r\n <img"); EndContext(); BeginWriteAttribute("src", " src=\"", 254, "\"", 272, 1); #line 8 "D:\ASP\Auction\Auction\Views\Shared\_LotsListItemPartial.cshtml" WriteAttributeValue("", 260, Model.Image, 260, 12, false); #line default #line hidden EndWriteAttribute(); BeginWriteAttribute("alt", " alt=\"", 273, "\"", 290, 1); #line 8 "D:\ASP\Auction\Auction\Views\Shared\_LotsListItemPartial.cshtml" WriteAttributeValue("", 279, Model.Name, 279, 11, false); #line default #line hidden EndWriteAttribute(); BeginContext(291, 38, true); WriteLiteral(" width=\"180\" height=\"134\" />\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.Controller = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (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 7 "D:\ASP\Auction\Auction\Views\Shared\_LotsListItemPartial.cshtml" WriteLiteral(Model.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(333, 92, true); WriteLiteral("\r\n </div>\r\n <div class=\"listing-item-main\">\r\n <p class=\"listing-item-main-top\">"); EndContext(); BeginContext(425, 52, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("obj-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "425fca939939494793f715380f22d656", async() => { } ); __Auction_TagHelpers_ObjLinkTagHelper = CreateTagHelper <global::Auction.TagHelpers.ObjLinkTagHelper>(); __tagHelperExecutionContext.Add(__Auction_TagHelpers_ObjLinkTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2); #line 12 "D:\ASP\Auction\Auction\Views\Shared\_LotsListItemPartial.cshtml" __Auction_TagHelpers_ObjLinkTagHelper.Obj = Model; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("obj", __Auction_TagHelpers_ObjLinkTagHelper.Obj, 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(477, 48, true); WriteLiteral("</p>\r\n <p class=\"listing-item-main-desc\">"); EndContext(); BeginContext(526, 84, false); #line 13 "D:\ASP\Auction\Auction\Views\Shared\_LotsListItemPartial.cshtml" Write(await Component.InvokeAsync("ShortDesc", new { lot = Model, localizer = Localizer })); #line default #line hidden EndContext(); BeginContext(610, 49, true); WriteLiteral("</p>\r\n <p class=\"listing-item-main-price\">"); EndContext(); BeginContext(660, 11, false); #line 14 "D:\ASP\Auction\Auction\Views\Shared\_LotsListItemPartial.cshtml" Write(Model.Price); #line default #line hidden EndContext(); BeginContext(671, 71, true); WriteLiteral(" BYN</p>\r\n </div>\r\n <div class=\"listing-item-right\">\r\n <p>"); EndContext(); BeginContext(743, 83, false); #line 17 "D:\ASP\Auction\Auction\Views\Shared\_LotsListItemPartial.cshtml" Write(await Component.InvokeAsync("TimeLeft", new { lot = Model, localizer = Localizer })); #line default #line hidden EndContext(); BeginContext(826, 24, true); WriteLiteral("</p>\r\n </div>\r\n</div>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(106, 26, true); WriteLiteral("\r\n<h2 class=\"form-header\">"); EndContext(); BeginContext(133, 22, false); #line 5 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" Write(Localizer["UsersList"]); #line default #line hidden EndContext(); BeginContext(155, 85, true); WriteLiteral("</h2>\r\n\r\n<table class=\"form-body\" cellspacing=\"0\">\r\n <tr class=\"table-header\"><th>"); EndContext(); BeginContext(241, 17, false); #line 8 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" Write(Localizer["User"]); #line default #line hidden EndContext(); BeginContext(258, 23, true); WriteLiteral("</th><th>Email</th><th>"); EndContext(); BeginContext(282, 29, false); #line 8 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" Write(Localizer["RegistrationDate"]); #line default #line hidden EndContext(); BeginContext(311, 12, true); WriteLiteral("</th></tr>\r\n"); EndContext(); #line 9 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" foreach (var user in Model) { #line default #line hidden BeginContext(364, 48, true); WriteLiteral(" <tr class=\"table-row\">\r\n <td>"); EndContext(); BeginContext(412, 51, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("obj-link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e78dfe7b184746a197f338f5b3bcbd3c", async() => { } ); __Auction_TagHelpers_ObjLinkTagHelper = CreateTagHelper <global::Auction.TagHelpers.ObjLinkTagHelper>(); __tagHelperExecutionContext.Add(__Auction_TagHelpers_ObjLinkTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); #line 12 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" __Auction_TagHelpers_ObjLinkTagHelper.Obj = user; #line default #line hidden __tagHelperExecutionContext.AddTagHelperAttribute("obj", __Auction_TagHelpers_ObjLinkTagHelper.Obj, 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(463, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(487, 10, false); #line 13 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" Write(user.Email); #line default #line hidden EndContext(); BeginContext(497, 23, true); WriteLiteral("</td>\r\n <td>"); EndContext(); BeginContext(521, 17, false); #line 14 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" Write(user.Registration); #line default #line hidden EndContext(); BeginContext(538, 22, true); WriteLiteral("</td>\r\n </tr>\r\n"); EndContext(); #line 16 "D:\ASP\Auction\Auction\Views\Users\Index.cshtml" } #line default #line hidden BeginContext(567, 8, true); WriteLiteral("</table>"); EndContext(); }