Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>@ViewBag.Title Biuro podróży</title>
- <link href="@Url.Content("~/Content/site-specific.css")" rel="stylesheet" type="text/css" />
- <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
- <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
- <script src="//code.jquery.com/jquery-1.10.2.js"></script>
- <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
- <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")"></script>
- @Styles.Render("~/Content/css")
- @Scripts.Render("~/bundles/modernizr")
- <!--This bundle was moved by the Telerik VS Extensions for compatibility reasons-->
- @Scripts.Render("~/bundles/jquery")
- </head>
- <body>
- <div style="font-size: medium"class="navbar navbar-inverse navbar-fixed-top">
- <div class="container">
- <div style="font-family: lobster; font-size: large"class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- @Html.ActionLink("Biuro podróży", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
- </div>
- <div class="navbar-collapse collapse">
- <div class="box">
- <ul class="nav navbar-nav">
- <li>@Html.ActionLink("Strona główna", "Index", "Home")</li>
- <li><a href="#LastMinute">Last minute!</a></li>
- <li>@Html.ActionLink("O nas", "About", "Home")</li>
- <li>@Html.ActionLink("Skontakuj się z nami", "Contact", "Home")</li>
- </ul>
- </div>
- @Html.Partial("_LoginPartial")
- </div>
- <script>
- $("li").click(function () {
- // If this isn't already active
- if (!$(this).hasClass("active")) {
- // Remove the class from anything that is active
- $("li.active").removeClass("active");
- // And make this active
- $(this).addClass("active");
- }
- });
- </script>
- </div>
- </div>
- <div class="container body-content">
- @RenderBody()
- <hr/>
- <footer style="text-align: center;">
- <p>© @DateTime.Now.Year - Daniel Dziubecki</p>
- @if (User.Identity.IsAuthenticated)
- {
- if (User.IsInRole("Admin"))
- {
- @Html.ActionLink("Admin panel", "Index", "Admin", null, new {@class = "btn btn-warning btn-group-sm"})
- }
- }
- @if (User.Identity.IsAuthenticated)
- {
- if (User.IsInRole("Pracownik"))
- {
- @Html.ActionLink("Panel pracowniczy", "Index", "Pracownik_biurowy", null, new {@class = "btn btn-warning btn-group-sm"})
- }
- }
- </footer>
- </div>
- @Scripts.Render("~/bundles/bootstrap")
- @RenderSection("scripts", required: false)
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement