#pragma warning disable 1591 //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.225 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace System.Web.WebPages.Administration { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Web; using System.Web.Helpers; using System.Web.Security; using System.Web.UI; using System.Web.WebPages; using System.Web.WebPages.Html; [System.Web.WebPages.PageVirtualPathAttribute("~/_Layout.cshtml")] [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorSingleFileGenerator", "1.0.0.0")] public class Layout_cshtml : System.Web.WebPages.WebPage { #line hidden // Resolve package relative syntax // Also, if it comes from a static embedded resource, change the path accordingly public override string Href(string virtualPath, params object[] pathParts) { virtualPath = ApplicationPart.ProcessVirtualPath(GetType().Assembly, VirtualPath, virtualPath); return base.Href(virtualPath, pathParts); } public Layout_cshtml() { } protected System.Web.HttpApplication ApplicationInstance { get { return ((System.Web.HttpApplication)(Context.ApplicationInstance)); } } public override void Execute() { WriteLiteral("\r\n\r\n"); string title = Page.Title; WriteLiteral("\r\n\r\n\r\n " + "\r\n "); Write(AdminResources.AdminModuleTitle); if (!title.IsEmpty()) { WriteLiteral(" "); WriteLiteral("- "); Write(title); WriteLiteral(" "); WriteLiteral(" "); } WriteLiteral("\r\n \r\n "); Write(RenderSection("Head", required: false)); WriteLiteral("\r\n \r\n \r\n
\r\n
\r\n

\r\n \"");\r\n ASP.NET "); Write(AdminResources.AdminModuleDisplayTitle); WriteLiteral("\r\n

\r\n
\r\n \r\n " + " "); Write(RenderSection("PageSettings", required: false)); WriteLiteral("\r\n  \r\n"); if (AdminSecurity.IsAuthenticated(Request)) { WriteLiteral(" "); Write(AdminResources.Logout); WriteLiteral("\r\n"); } WriteLiteral(" \r\n
\r\n
\r\n
\r\n
\r\n " + " \r\n\r\n
\r\n
\r\n"); string sectionTitle = Page.SectionTitle ?? title; if (!sectionTitle.IsEmpty()) { WriteLiteral("
\r\n

"); Write(sectionTitle); WriteLiteral("

\r\n"); if (!String.IsNullOrEmpty(Page.Desc)) { WriteLiteral(" "); Write(Page.Desc); WriteLiteral("\r\n"); } WriteLiteral("
\r\n"); } WriteLiteral(" "); Write(RenderBody()); WriteLiteral("\r\n

\r\n

\r\n
\r\n "); Write(RenderSection("Footer", required: false)); WriteLiteral("\r\n
\r\n
\r\n \r\n"); } } } #pragma warning restore 1591