コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(80, 138, true);
            WriteLiteral("<header class=\"main-header\">\r\n    <!-- Logo -->\r\n    <a href=\"/\" class=\"logo\">\r\n        <!-- mini logo for sidebar mini 50x50 pixels -->\r\n");
            EndContext();
            BeginContext(273, 712, true);
            WriteLiteral(@"        <!-- logo for regular state and mobile devices -->
        <span class=""logo-lg""><b>NopTheGiaRe</b></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class=""navbar navbar-static-top"">
        <!-- Sidebar toggle button-->
        <a href=""#"" class=""sidebar-toggle"" data-toggle=""push-menu"" role=""button"">
            <span class=""sr-only"">Toggle navigation</span>
       
        </a>
        <div class=""navbar-custom-menu"">
            <ul class=""nav navbar-nav"">
                <li><a href=""#"" class=""UploadModal""><span class=""fa fa-file-image-o""></span></a></li>
                <!-- Messages: style can be found in dropdown.less-->
                ");
            EndContext();
            BeginContext(986, 40, false);
#line 22 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            Write(await Component.InvokeAsync("Feedbacks"));

#line default
#line hidden
            EndContext();
            BeginContext(1026, 95, true);
            WriteLiteral("\r\n                <!-- Notifications: style can be found in dropdown.less -->\r\n                ");
            EndContext();
            BeginContext(1122, 56, false);
#line 24 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            Write(await Component.InvokeAsync("NotificationViewComponent"));

#line default
#line hidden
            EndContext();
            BeginContext(1178, 105, true);
            WriteLiteral("\r\n                \r\n                <!-- Tasks: style can be found in dropdown.less -->\r\n                ");
            EndContext();
            BeginContext(1284, 43, false);
#line 27 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            Write(await Component.InvokeAsync("UserRegister"));

#line default
#line hidden
            EndContext();
            BeginContext(1327, 130, true);
            WriteLiteral("\r\n                <!-- User Account: style can be found in dropdown.less -->\r\n\r\n                <li class=\"dropdown tasks-menu\">\r\n");
            EndContext();
#line 31 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            if (User.Identity.IsAuthenticated)
            {
#line default
#line hidden
                BeginContext(1537, 113, true);
                WriteLiteral("                        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">\r\n                            ");
                EndContext();
                BeginContext(1650, 90, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "87a8f662cda245ceb2e31d08f762be1b", async() => {
                }
                                                                            );
                __WebTheCao_Infrastructures_AvatarTagHelper = CreateTagHelper <global::WebTheCao.Infrastructures.AvatarTagHelper>();
                __tagHelperExecutionContext.Add(__WebTheCao_Infrastructures_AvatarTagHelper);
                BeginWriteTagHelperAttribute();
#line 34 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                WriteLiteral(User.Identity.Name);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __WebTheCao_Infrastructures_AvatarTagHelper.UserName = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("username", __WebTheCao_Infrastructures_AvatarTagHelper.UserName, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 34 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                AddHtmlAttributeValue("", 1717, User.Identity.Name, 1717, 19, 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(1740, 54, true);
                WriteLiteral("\r\n                            <span class=\"hidden-xs\">");
                EndContext();
                BeginContext(1795, 18, false);
#line 35 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                Write(User.Identity.Name);

#line default
#line hidden
                EndContext();
                BeginContext(1813, 226, true);
                WriteLiteral("</span>\r\n                        </a>\r\n                        <ul class=\"dropdown-menu\">\r\n                            <!-- User image -->\r\n                            <li class=\"user-header\">\r\n                                ");
                EndContext();
                BeginContext(2039, 90, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a6e713f7794f4521acc0b5dda5940551", async() => {
                }
                                                                            );
                __WebTheCao_Infrastructures_AvatarTagHelper = CreateTagHelper <global::WebTheCao.Infrastructures.AvatarTagHelper>();
                __tagHelperExecutionContext.Add(__WebTheCao_Infrastructures_AvatarTagHelper);
                BeginWriteTagHelperAttribute();
#line 40 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                WriteLiteral(User.Identity.Name);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __WebTheCao_Infrastructures_AvatarTagHelper.UserName = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("username", __WebTheCao_Infrastructures_AvatarTagHelper.UserName, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 40 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                AddHtmlAttributeValue("", 2106, User.Identity.Name, 2106, 19, 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(2129, 75, true);
                WriteLiteral("\r\n                                <p>\r\n                                    ");
                EndContext();
                BeginContext(2205, 18, false);
#line 42 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                Write(User.Identity.Name);

#line default
#line hidden
                EndContext();
                BeginContext(2223, 1174, true);
                WriteLiteral(@" - 'Lập trình web'
                                    <small>-code any thing-</small>
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <li class=""user-body"">
                                <div class=""row"">
                                    <div class=""col-xs-4 text-center"">
                                        <a href="""">Followers</a>
                                    </div>
                                    <div class=""col-xs-4 text-center"">
                                        <a href=""#"">Sales</a>
                                    </div>
                                    <div class=""col-xs-4 text-center"">
                                        <a href=""#"">Friends</a>
                                    </div>
                                </div>
                                <!-- /.row -->
                            </li>
                            <!-- Menu Footer--");
                WriteLiteral(">\r\n                            <li class=\"user-footer\">\r\n                                <div class=\"pull-left\">\r\n                                    ");
                EndContext();
                BeginContext(3397, 110, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5c3bcc8b7f3440b1ba6ede661584dec8", async() => {
                    BeginContext(3496, 7, true);
                    WriteLiteral("Profile");
                    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_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__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(3507, 136, true);
                WriteLiteral("\r\n                                </div>\r\n                                <div class=\"pull-right\">\r\n                                    ");
                EndContext();
                BeginContext(3643, 110, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8ad038b3e5d140078b71e73669bbb429", async() => {
                    BeginContext(3741, 8, true);
                    WriteLiteral("Sign out");
                    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_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__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(3753, 108, true);
                WriteLiteral("\r\n                                </div>\r\n                            </li>\r\n                        </ul>\r\n");
                EndContext();
#line 71 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            }

#line default
#line hidden
            BeginContext(3886, 277, true);
            WriteLiteral(@"
                </li>
                <!-- Control Sidebar Toggle Button -->
                <li>
                    <a href=""#"" data-toggle=""control-sidebar""><i class=""fa fa-gears""></i></a>
                </li>
            </ul>
        </div>
    </nav>
</header>");
            EndContext();
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(24, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"

            var id    = Model.Id;
            var user  = Model.UserName;
            var point = Model.Points;

            CultureInfo c = CultureInfo.GetCultureInfo("vi-VN");

#line default
#line hidden
            BeginContext(210, 40, true);
            WriteLiteral("    <li style=\"max-height:60px\">\r\n    <a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 250, "\"", 271, 2);
            WriteAttributeValue("", 257, "/giao-dich/", 257, 11, true);
#line 12 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            WriteAttributeValue("", 268, id, 268, 3, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(272, 68, true);
            WriteLiteral(" class=\"points\">\r\n                                            <span>");
            EndContext();
#line 13 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            string pointstr = point == 0 ? "0 " : point.ToString("#,###", c.NumberFormat);

#line default
#line hidden
            BeginContext(423, 8, false);
#line 13 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            Write(pointstr);

#line default
#line hidden
            EndContext();
            BeginContext(431, 75, true);
            WriteLiteral("<sup><u>đ</u></sup></span> </a> </li>\r\n    <li class=\"profile\">\r\n        <a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 506, "\"", 527, 2);
            WriteAttributeValue("", 513, "/tai-khoan/", 513, 11, true);
#line 15 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            WriteAttributeValue("", 524, id, 524, 3, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(528, 57, true);
            WriteLiteral(">\r\n            <input type=\"hidden\" id=\"userId\" data-id=\"");
            EndContext();
            BeginContext(586, 2, false);
#line 16 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            Write(id);

#line default
#line hidden
            EndContext();
            BeginContext(588, 18, true);
            WriteLiteral("\" />\r\n            ");
            EndContext();
            BeginContext(606, 103, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "027a7c82a1c1428a84393f31abc9149c", async() => {
            }
                                                                        );
            __WebTheCao_Infrastructures_AvatarTagHelper = CreateTagHelper <global::WebTheCao.Infrastructures.AvatarTagHelper>();
            __tagHelperExecutionContext.Add(__WebTheCao_Infrastructures_AvatarTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
            BeginWriteTagHelperAttribute();
#line 17 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            WriteLiteral(user);

#line default
#line hidden
            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
            __WebTheCao_Infrastructures_AvatarTagHelper.UserName = __tagHelperStringValueBuffer;
            __tagHelperExecutionContext.AddTagHelperAttribute("username", __WebTheCao_Infrastructures_AvatarTagHelper.UserName, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            AddHtmlAttributeValue("", 686, user, 686, 5, false);

#line default
#line hidden
            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "title", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            AddHtmlAttributeValue("", 700, user, 700, 5, 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(709, 44, true);
            WriteLiteral("\r\n            <span class=\"username hidden\">");
            EndContext();
            BeginContext(754, 4, false);
#line 18 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            Write(user);

#line default
#line hidden
            EndContext();
            BeginContext(758, 54, true);
            WriteLiteral("</span>\r\n        </a>\r\n    </li>\r\n    <li>\r\n        <a");
            EndContext();
            BeginWriteAttribute("href", " href=\"", 812, "\"", 830, 2);
            WriteAttributeValue("", 819, "/logout/", 819, 8, true);
#line 22 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Views\Shared\Components\header\default.cshtml"
            WriteAttributeValue("", 827, id, 827, 3, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(831, 27, true);
            WriteLiteral(">Đăng xuất</a>\r\n    </li>\r\n");
            EndContext();
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(28, 156, true);
            WriteLiteral("<aside class=\"main-sidebar\">\r\n    <!-- sidebar: style can be found in sidebar.less -->\r\n    <section class=\"sidebar\">\r\n        <!-- Sidebar user panel -->\r\n");
            EndContext();
#line 6 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_navigation.cshtml"
            if (User.Identity.IsAuthenticated)
            {
#line default
#line hidden
                BeginContext(244, 105, true);
                WriteLiteral("            <div class=\"user-panel\">\r\n                <div class=\"pull-left image\">\r\n                    ");
                EndContext();
                BeginContext(349, 89, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "00bdc22ad9f644c29322793ec08c73f7", async() => {
                }
                                                                            );
                __WebTheCao_Infrastructures_AvatarTagHelper = CreateTagHelper <global::WebTheCao.Infrastructures.AvatarTagHelper>();
                __tagHelperExecutionContext.Add(__WebTheCao_Infrastructures_AvatarTagHelper);
                BeginWriteTagHelperAttribute();
#line 12 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_navigation.cshtml"
                WriteLiteral(User.Identity.Name);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __WebTheCao_Infrastructures_AvatarTagHelper.UserName = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("username", __WebTheCao_Infrastructures_AvatarTagHelper.UserName, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 12 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_navigation.cshtml"
                AddHtmlAttributeValue("", 416, User.Identity.Name, 416, 19, 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(438, 95, true);
                WriteLiteral("\r\n                </div>\r\n                <div class=\"pull-left info\">\r\n                    <p>");
                EndContext();
                BeginContext(534, 18, false);
#line 15 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_navigation.cshtml"
                Write(User.Identity.Name);

#line default
#line hidden
                EndContext();
                BeginContext(552, 136, true);
                WriteLiteral("</p>\r\n                    <a href=\"#\"><i class=\"fa fa-circle text-success\"></i> Online</a>\r\n                </div>\r\n            </div>\r\n");
                EndContext();
#line 19 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_navigation.cshtml"
            }

#line default
#line hidden
            BeginContext(699, 1929, true);
            WriteLiteral(@"        <!-- search form -->
        <form action=""#"" method=""get"" class=""sidebar-form"">
            <div class=""input-group"">
                <input type=""text"" name=""q"" class=""form-control"" placeholder=""Search..."">
                <span class=""input-group-btn"">
                    <button type=""submit"" name=""search"" id=""search-btn"" class=""btn btn-flat"">
                        <i class=""fa fa-search""></i>
                    </button>
                </span>
            </div>
        </form>
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class=""sidebar-menu"" data-widget=""tree"">
            <li class=""header"">Quản trị </li>
            <li>
                <a href=""/admin/Home/Index"">
                    <i class=""fa fa-home""></i> <span>Trang chủ</span>
                </a>
            </li>
            <li class=""treeview"">
                <a href=""#"">
                    <i class=""fa  fa-expeditedssl""></i>
             ");
            WriteLiteral(@"       <span>Tài khoản &amp; Bảo mật</span>
                    <span class=""pull-right-container"">
                        <i class=""fa fa-angle-left pull-right""></i>
                    </span>
                </a>
                <ul class=""treeview-menu"">
                    <li><a href=""/admin/account/index""><i class=""fa fa-circle-o""></i> Tài khoản</a></li>
                    <li><a href=""/admin/role/index""><i class=""fa fa-circle-o""></i> Phân quyền</a></li>
                    <li><a href=""/admin/taikhoanthe/index""><i class=""fa fa-paypal ""></i> Tài khoản ngân hàng</a></li>
                </ul>
            </li>

            <li class=""treeview"">
                <a href=""#"">
                    <i class=""fa fa-credit-card ""></i> <span>Thẻ cào &amp; Nạp thẻ</span>
                    <span class=""pull-right-container"">
                        <span class=""mail-info""><span");
            EndContext();
            BeginWriteAttribute("mail-info", " mail-info=\"", 2628, "\"", 2645, 1);
#line 59 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_navigation.cshtml"
            WriteAttributeValue("", 2640, true, 2640, 5, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(2646, 1558, true);
            WriteLiteral(@"></span> </span>
                        <i class=""fa fa-angle-left pull-right""></i>
                    </span>
                </a>
                <ul class=""treeview-menu"" style="""">
                    <li class=""active"">
                        <a href=""/admin/card/history"">
                            <i class=""fa fa-history""></i> <span>Lịch sử nạp thẻ</span>

                        </a>
                    </li>
                    <li>
                        <a href=""/admin/card/index"">
                            <i class=""fa fa-credit-card-alt""></i> <span>Thẻ cào &amp; Mệnh giá thẻ</span>

                        </a>
                    </li>
                   
                </ul>
            </li>

            <li>
                <a href=""/admin/giaodich/index"">
                    <i class=""fa fa-handshake-o ""></i> <span>Quản lý giao dịch</span>
                    <span class=""pull-right-container"">
                    </span>
                </a>
            </l");
            WriteLiteral(@"i>
            <li>
                <a href=""/admin/post/index"">
                    <i class=""fa fa-book""></i> <span>Bài viết</span>
                    <span class=""pull-right-container"">
                    </span>
                </a>
            </li>
            

            <li class=""treeview"">
                <a href=""#"">
                    <i class=""fa fa-envelope""></i> <span>Thư phản hồi</span>
                    <span class=""pull-right-container"">
                        <span class=""mail-info""><span");
            EndContext();
            BeginWriteAttribute("mail-info", " mail-info=\"", 4204, "\"", 4221, 1);
#line 100 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_navigation.cshtml"
            WriteAttributeValue("", 4216, true, 4216, 5, false);

#line default
#line hidden
            EndWriteAttribute();
            BeginContext(4222, 2034, true);
            WriteLiteral(@"></span> </span>
                        <i class=""fa fa-angle-left pull-right""></i>
                    </span>
                </a>
                <ul class=""treeview-menu"" style="""">
                    <li class=""active"">
                        <a href=""/admin/feedback/mailbox?opt=compose"">
                            <i class=""fa fa-commenting-o""></i> <span>Tất cả</span>

                        </a>
                    </li>
                    <li>
                        <a href=""/admin/feedback/mailbox?opt=news-message"">
                            <i class=""fa fa-envelope-o""></i> <span>Tin nhắn mới</span>

                        </a>
                    </li>
                    <li>
                        <a href=""/admin/feedback/mailbox?opt=sends-message"">
                            <i class=""fa fa-envelope""></i> <span>Tin nhắn đã gởi</span>

                        </a>
                    </li>
                    <li>
                        <a href=""/admin/feedback/");
            WriteLiteral(@"mailbox?opt=waits-message"">
                            <i class=""fa fa-spinner""></i> <span>Đang chờ</span>
                        </a>
                    </li>
                </ul>
            </li>

            <li class=""treeview"">
                <a href=""#"">
                    <i class=""fa fa-files-o""></i>
                    <span>Quản lý trang</span>
                    <span class=""pull-right-container"">
                        <i class=""fa fa-angle-left pull-right""></i>
                    </span>
                </a>
                <ul class=""treeview-menu"">
                    <li><a href=""/admin/Page/Index""><i class=""fa fa-circle-o""></i> Thông báo</a></li>
                    <li><a href=""/admin/Contact/Index""><i class=""fa fa-circle-o""></i> Liên hệ</a></li>
                    <li><a href=""/admin/Slide/Index""><i class=""fa fa-circle-o""></i> Slide</a></li>
                </ul>
            </li>

        </ul>
    </section>
    <!-- /.sidebar -->
</aside>");
            EndContext();
        }
コード例 #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(80, 138, true);
            WriteLiteral("<header class=\"main-header\">\r\n    <!-- Logo -->\r\n    <a href=\"/\" class=\"logo\">\r\n        <!-- mini logo for sidebar mini 50x50 pixels -->\r\n");
            EndContext();
            BeginContext(273, 712, true);
            WriteLiteral(@"        <!-- logo for regular state and mobile devices -->
        <span class=""logo-lg""><b>NopTheGiaRe</b></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class=""navbar navbar-static-top"">
        <!-- Sidebar toggle button-->
        <a href=""#"" class=""sidebar-toggle"" data-toggle=""push-menu"" role=""button"">
            <span class=""sr-only"">Toggle navigation</span>
       
        </a>
        <div class=""navbar-custom-menu"">
            <ul class=""nav navbar-nav"">
                <li><a href=""#"" class=""UploadModal""><span class=""fa fa-file-image-o""></span></a></li>
                <!-- Messages: style can be found in dropdown.less-->
                ");
            EndContext();
            BeginContext(986, 40, false);
#line 22 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            Write(await Component.InvokeAsync("Feedbacks"));

#line default
#line hidden
            EndContext();
            BeginContext(1026, 95, true);
            WriteLiteral("\r\n                <!-- Notifications: style can be found in dropdown.less -->\r\n                ");
            EndContext();
            BeginContext(1122, 43, false);
#line 24 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            Write(await Component.InvokeAsync("Notification"));

#line default
#line hidden
            EndContext();
            BeginContext(1165, 87, true);
            WriteLiteral("\r\n                <!-- Tasks: style can be found in dropdown.less -->\r\n                ");
            EndContext();
            BeginContext(1253, 43, false);
#line 26 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            Write(await Component.InvokeAsync("UserRegister"));

#line default
#line hidden
            EndContext();
            BeginContext(1296, 130, true);
            WriteLiteral("\r\n                <!-- User Account: style can be found in dropdown.less -->\r\n\r\n                <li class=\"dropdown tasks-menu\">\r\n");
            EndContext();
#line 30 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            if (User.Identity.IsAuthenticated)
            {
#line default
#line hidden
                BeginContext(1506, 113, true);
                WriteLiteral("                        <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">\r\n                            ");
                EndContext();
                BeginContext(1619, 90, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "db96ccfea5ed4671b3bcb64f4e830e35", async() => {
                }
                                                                            );
                __WebTheCao_Infrastructures_AvatarTagHelper = CreateTagHelper <global::WebTheCao.Infrastructures.AvatarTagHelper>();
                __tagHelperExecutionContext.Add(__WebTheCao_Infrastructures_AvatarTagHelper);
                BeginWriteTagHelperAttribute();
#line 33 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                WriteLiteral(User.Identity.Name);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __WebTheCao_Infrastructures_AvatarTagHelper.UserName = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("username", __WebTheCao_Infrastructures_AvatarTagHelper.UserName, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 33 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                AddHtmlAttributeValue("", 1686, User.Identity.Name, 1686, 19, 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(1709, 54, true);
                WriteLiteral("\r\n                            <span class=\"hidden-xs\">");
                EndContext();
                BeginContext(1764, 18, false);
#line 34 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                Write(User.Identity.Name);

#line default
#line hidden
                EndContext();
                BeginContext(1782, 226, true);
                WriteLiteral("</span>\r\n                        </a>\r\n                        <ul class=\"dropdown-menu\">\r\n                            <!-- User image -->\r\n                            <li class=\"user-header\">\r\n                                ");
                EndContext();
                BeginContext(2008, 90, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3538bfdc32ea44b5b055166e616461ab", async() => {
                }
                                                                            );
                __WebTheCao_Infrastructures_AvatarTagHelper = CreateTagHelper <global::WebTheCao.Infrastructures.AvatarTagHelper>();
                __tagHelperExecutionContext.Add(__WebTheCao_Infrastructures_AvatarTagHelper);
                BeginWriteTagHelperAttribute();
#line 39 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                WriteLiteral(User.Identity.Name);

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __WebTheCao_Infrastructures_AvatarTagHelper.UserName = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("username", __WebTheCao_Infrastructures_AvatarTagHelper.UserName, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 39 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                AddHtmlAttributeValue("", 2075, User.Identity.Name, 2075, 19, 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(2098, 75, true);
                WriteLiteral("\r\n                                <p>\r\n                                    ");
                EndContext();
                BeginContext(2174, 18, false);
#line 41 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
                Write(User.Identity.Name);

#line default
#line hidden
                EndContext();
                BeginContext(2192, 1174, true);
                WriteLiteral(@" - 'Lập trình web'
                                    <small>-code any thing-</small>
                                </p>
                            </li>
                            <!-- Menu Body -->
                            <li class=""user-body"">
                                <div class=""row"">
                                    <div class=""col-xs-4 text-center"">
                                        <a href="""">Followers</a>
                                    </div>
                                    <div class=""col-xs-4 text-center"">
                                        <a href=""#"">Sales</a>
                                    </div>
                                    <div class=""col-xs-4 text-center"">
                                        <a href=""#"">Friends</a>
                                    </div>
                                </div>
                                <!-- /.row -->
                            </li>
                            <!-- Menu Footer--");
                WriteLiteral(">\r\n                            <li class=\"user-footer\">\r\n                                <div class=\"pull-left\">\r\n                                    ");
                EndContext();
                BeginContext(3366, 110, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f890e52d21a4c60b1d1eac75f1fa195", async() => {
                    BeginContext(3465, 7, true);
                    WriteLiteral("Profile");
                    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_3.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__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(3476, 136, true);
                WriteLiteral("\r\n                                </div>\r\n                                <div class=\"pull-right\">\r\n                                    ");
                EndContext();
                BeginContext(3612, 110, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "610ef5a4ab9c4083bdad8cc8a5486123", async() => {
                    BeginContext(3710, 8, true);
                    WriteLiteral("Sign out");
                    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_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__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(3722, 108, true);
                WriteLiteral("\r\n                                </div>\r\n                            </li>\r\n                        </ul>\r\n");
                EndContext();
#line 70 "D:\IDE-VisualStudio\WebTheCao\WebTheCao\Areas\Admin\Views\Shared\_topNavigation.cshtml"
            }

#line default
#line hidden
            BeginContext(3855, 277, true);
            WriteLiteral(@"
                </li>
                <!-- Control Sidebar Toggle Button -->
                <li>
                    <a href=""#"" data-toggle=""control-sidebar""><i class=""fa fa-gears""></i></a>
                </li>
            </ul>
        </div>
    </nav>
</header>");
            EndContext();
        }