81 lines
4.1 KiB
Plaintext
81 lines
4.1 KiB
Plaintext
@inject IOptions<AppSettings> AppSettings
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>@ViewBag.Title - @AppSettings.Options.SiteTitle</title>
|
|
|
|
<environment names="Development">
|
|
<link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.css" />
|
|
<link rel="stylesheet" href="~/lib/bootstrap-touch-carousel/css/bootstrap-touch-carousel.css" />
|
|
<link rel="stylesheet" href="~/css/site.css" />
|
|
</environment>
|
|
<environment names="Staging,Production">
|
|
<link rel="stylesheet" href="//ajax.aspnetcdn.com/ajax/bootstrap/3.0.0/css/bootstrap.min.css"
|
|
asp-fallback-href="~/lib/bootstrap/css/bootstrap.min.css"
|
|
asp-fallback-test-class="hidden" asp-fallback-test-property="visibility" asp-fallback-test-value="hidden" />
|
|
<link rel="stylesheet" href="//ajax.aspnetcdn.com/ajax/bootstrap-touch-carousel/0.8.0/css/bootstrap-touch-carousel.css"
|
|
asp-fallback-href="~/lib/bootstrap-touch-carousel/css/bootstrap-touch-carousel.css"
|
|
asp-fallback-test-class="carousel-caption" asp-fallback-test-property="display" asp-fallback-test-value="none" />
|
|
<link rel="stylesheet" href="~/css/site.css" />
|
|
</environment>
|
|
</head>
|
|
<body>
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
<div class="container">
|
|
<div 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>
|
|
</button>
|
|
<a asp-controller="Home" asp-action="Index" class="navbar-brand">@AppSettings.Options.SiteTitle</a>
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li><a asp-controller="Home" asp-action="Index">Home</a></li>
|
|
<li><a asp-controller="Home" asp-action="About">About</a></li>
|
|
<li><a asp-controller="Home" asp-action="Contact">Contact</a></li>
|
|
</ul>
|
|
@await Html.PartialAsync("_LoginPartial")
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container body-content">
|
|
@RenderBody()
|
|
<hr />
|
|
<footer>
|
|
<p>© 2015 - @AppSettings.Options.SiteTitle</p>
|
|
</footer>
|
|
</div>
|
|
|
|
<environment names="Development">
|
|
<script src="~/lib/jquery/jquery.js"></script>
|
|
<script src="~/lib/bootstrap/js/bootstrap.js"></script>
|
|
<script src="~/lib/hammer.js/hammer.js"></script>
|
|
<script src="~/lib/bootstrap-touch-carousel/js/bootstrap-touch-carousel.js"></script>
|
|
</environment>
|
|
<environment names="Staging,Production">
|
|
<script src="//ajax.aspnetcdn.com/ajax/jquery/jquery-1.10.2.min.js"
|
|
asp-fallback-src="~/lib/jquery/jquery.min.js"
|
|
asp-fallback-test="window.jQuery">
|
|
</script>
|
|
<script src="//ajax.aspnetcdn.com/ajax/bootstrap/3.0.0/bootstrap.min.js"
|
|
asp-fallback-src="~/lib/bootstrap/js/bootstrap.min.js"
|
|
asp-fallback-test="window.jQuery">
|
|
</script>
|
|
<script src="//ajax.aspnetcdn.com/ajax/hammer.js/2.0.4/hammer.min.js"
|
|
asp-fallback-src="~/lib/hammer.js/hammer.js"
|
|
asp-fallback-test="window.Hammer">
|
|
</script>
|
|
<script src="//ajax.aspnetcdn.com/ajax/bootstrap-touch-carousel/0.8.0/js/bootstrap-touch-carousel.js"
|
|
asp-fallback-src="~/lib/bootstrap-touch-carousel/js/bootstrap-touch-carousel.js"
|
|
asp-fallback-test="window.Zepto">
|
|
</script>
|
|
</environment>
|
|
|
|
@RenderSection("scripts", required: false)
|
|
</body>
|
|
</html>
|