forked from dotnet/AspNetCore.Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dotnet#36 from ardalis/bootstrap
Bootstrap
- Loading branch information
Showing
19 changed files
with
332 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+15.1 KB
docs/js-web-tools/bootstrap/_static/bootstrap-in-starter-template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+93.2 KB
docs/js-web-tools/bootstrap/_static/narrow-and-wide-viewport-grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
@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> |