Advertisement
klimentmichal

Master layout

May 19th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.79 KB | None | 0 0
  1. %@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="aspnet4MichalKliment.SiteMaster" %>
  2.  
  3. <!DOCTYPE html>
  4.  
  5.  
  6. <html lang="en">
  7. <head runat="server">
  8.     <meta charset="utf-8" />
  9.     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  10.     <title><%: Page.Title %> - My ASP.NET Application</title>
  11.  
  12.     <asp:PlaceHolder runat="server">
  13.         <%: Scripts.Render("~/bundles/modernizr") %>
  14.     </asp:PlaceHolder>
  15.     <link href="/Content/Main.css" rel="stylesheet" media="all" />
  16.     <link href="/js/dcalendar.picker.css" rel="stylesheet" media="all" />
  17.  
  18.     <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  19.  
  20. </head>
  21. <body>
  22.     <form runat="server">
  23.         <asp:ScriptManager runat="server">
  24.             <Scripts>
  25.                 <%--To learn more about bundling scripts in ScriptManager see http://go.microsoft.com/fwlink/?LinkID=301884 --%>
  26.                 <%--Framework Scripts--%>
  27.                 <asp:ScriptReference Name="MsAjaxBundle" />
  28.                 <asp:ScriptReference Name="jquery" />
  29.                 <asp:ScriptReference Name="bootstrap" />
  30.                 <asp:ScriptReference Name="respond" />
  31.                 <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
  32.                 <asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
  33.                 <asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
  34.                 <asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
  35.                 <asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
  36.                 <asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
  37.                 <asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
  38.                 <asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
  39.                 <asp:ScriptReference Name="WebFormsBundle" />
  40.                  
  41.                 <%--Site Scripts--%>
  42.             </Scripts>
  43.  
  44.         </asp:ScriptManager>
  45.  
  46.         <nav>
  47.             <ul>
  48.                 <li>
  49.                     <a href="/">Application Name</a>
  50.                 </li>
  51.             </ul>
  52.         </nav>
  53.         <section><div>
  54.             <asp:ContentPlaceHolder ID="MainContent" runat="server">
  55.             </asp:ContentPlaceHolder>
  56.           </div></section>
  57.             <footer>
  58.                 <p>&copy; <%: DateTime.Now.Year %> - Michal Kliment </p>
  59.             </footer>
  60.      
  61.  
  62.     </form>
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement