PageRenderTime 258ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/Visual Studio 2008/CSASPNETMVCCustomActionFilter/Views/Shared/Site.Master

#
ASP.NET | 40 lines | 31 code | 9 blank | 0 comment | 0 complexity | b5cc98c459c22f46c1436ed50ad5661d MD5 | raw file
  1. <%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
  6. <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9. <div class="page">
  10. <div id="header">
  11. <div id="title">
  12. <h1>My MVC Application</h1>
  13. </div>
  14. <div id="logindisplay">
  15. <% Html.RenderPartial("LogOnUserControl"); %>
  16. </div>
  17. <div id="menucontainer">
  18. <ul id="menu">
  19. <li><%= Html.ActionLink("Home", "Index", "Home")%></li>
  20. <li><%= Html.ActionLink("About", "About", "Home")%></li>
  21. </ul>
  22. </div>
  23. </div>
  24. <div id="main">
  25. <asp:ContentPlaceHolder ID="MainContent" runat="server" />
  26. <div id="footer">
  27. </div>
  28. </div>
  29. </div>
  30. </body>
  31. </html>