Advertisement
Guest User

VS2013 _layout.cshtml

a guest
Jul 16th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="utf-8" />
  5.     <title>@ViewBag.Title - Forum</title>
  6.     <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  7.     <meta name="viewport" content="width=device-width" />
  8.     @Styles.Render("~/Content/css")
  9.     @Scripts.Render("~/bundles/modernizr")
  10. </head>
  11. <body>
  12.     <header>
  13.         <div class="content-wrapper">
  14.             <div class="float-left">
  15.                 <p class="site-title"> <img src="~/images/id_logo.png" /></p>
  16.             </div>
  17.             <div class="float-right">
  18.                 <section id="login">
  19.                     @Html.Partial("_LoginPartial")
  20.                 </section>
  21.                 <nav>
  22.                     <ul id="menu">
  23.                         <li>@Html.ActionLink("Home", "Index", "Home")</li>
  24.                         <li>@Html.ActionLink("Forums", "Index", "Forum")</li>
  25.                         <li>@Html.ActionLink("About", "About", "Home")</li>
  26.                         <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
  27.                         <li>@Html.ActionLink("Avatar", "SelectAvatar", "Avatar")</li>
  28.                         @Html.Action("Avatar", "Layout")
  29.  
  30.                     </ul>
  31.                 </nav>
  32.             </div>
  33.         </div>
  34.     </header>
  35.     <div id="body">
  36.         @RenderSection("featured", required: false)
  37.         <section class="content-wrapper main-content clear-fix">
  38.             @RenderBody()
  39.         </section>
  40.     </div>
  41.     <footer>
  42.         <div class="content-wrapper">
  43.             <div class="float-left">
  44.                 <p>&copy; @DateTime.Now.Year - ID</p>
  45.  
  46.             </div>
  47.         </div>
  48.     </footer>
  49.  
  50.     @Scripts.Render("~/bundles/jquery")
  51.     @Scripts.Render("~/bundles/jqueryval")
  52.     @RenderSection("scripts", required: false)
  53. </body>
  54. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement