Advertisement
Guest User

Untitled

a guest
Dec 27th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  5. <meta charset="utf-8" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>@ViewBag.Title- ClassicGarage</title>
  8. @Styles.Render("~/Content/css")
  9. @Scripts.Render("~/bundles/modernizr")
  10.  
  11. </head>
  12. <body style="background: #121212; color:#9e9e9e">
  13.  
  14. <div class="navbar navbar-inverse navbar-fixed-top">
  15. <div class="container">
  16. <div class="navbar-header">
  17. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  18. <span class="icon-bar"></span>
  19. <span class="icon-bar"></span>
  20. <span class="icon-bar"></span>
  21. </button>
  22. @Html.ActionLink("ClassicGarage", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
  23. </div>
  24. <div class="navbar-collapse collapse">
  25. <ul class="nav navbar-nav">
  26. @if (Request.IsAuthenticated)
  27. {
  28. <li>@Html.ActionLink("Samochody", "Index", "Car")</li>
  29. <li>@Html.ActionLink("Naprawy", "Index", "Service")</li>
  30. <li>@Html.ActionLink("Ogłoszenia", "Index", "Ad")</li>
  31. <li>@Html.ActionLink("Części", "Index", "Part")</li>
  32. }
  33. else
  34. {
  35. <li>@Html.ActionLink("Strona główna", "Index", "Home")</li>
  36. <li>@Html.ActionLink("Informacje", "About", "Home")</li>
  37. <li>@Html.ActionLink("Kontakt", "Contact", "Home")</li>
  38. }
  39.  
  40. </ul>
  41. @Html.Partial("_LoginPartial")
  42. </div>
  43. </div>
  44. </div>
  45. <div class="container body-content">
  46. @RenderBody()
  47. <hr />
  48. <footer>
  49. <p>&copy; @DateTime.Now.Year — moja aplikacja platformy ASP.NET</p>
  50. </footer>
  51. </div>
  52.  
  53. @Scripts.Render("~/bundles/jquery")
  54. @Scripts.Render("~/bundles/bootstrap")
  55. @RenderSection("scripts", required: false)
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement