Skip to content

Commit

Permalink
updated package version
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkis117 committed Jan 25, 2017
1 parent ff64013 commit 6d3ec87
Show file tree
Hide file tree
Showing 22 changed files with 5,822 additions and 3,006 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
Expand All @@ -143,6 +143,9 @@ publish/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config

#ignore bower
**/wwwroot/lib/*

# Windows Azure Build Output
csx/
*.build.csdef
Expand Down
130 changes: 70 additions & 60 deletions src/GenericMvc.Test.App/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
@@ -1,68 +1,78 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - GenericMvc.Test.App</title>

<environment names="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="~/css/site.css" />
</environment>
<environment names="Staging,Production">
<link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/css/bootstrap.min.css"
asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css"
asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" />
<link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" />
</environment>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Test Website</title>
<!-- Material Design fonts -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<environment names="Development,Staging,Production">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="~/css/material-dist/bootstrap-material-design.css" />
<link rel="stylesheet" href="~/lib/bootstrap-material-design/dist/css/ripples.css" />
<link rel="stylesheet" href="~/lib/dropdown.js/jquery.dropdown.css" />
<link rel="stylesheet" href="~/css/site.css" />
</environment>
@RenderSection("stylesheets", required: false)
</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="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a asp-area="" asp-controller="Home" asp-action="Index" class="navbar-brand">GenericMvc.Test.App</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li>
<li><a asp-area="" asp-controller="Home" asp-action="About">About</a></li>
<li><a asp-area="" asp-controller="Home" asp-action="Contact">Contact</a></li>
<li><a asp-area="" asp-controller="Models" asp-action="Index">Models</a></li>
</ul>
</div>
</div>
</div>
<div class="container body-content">
@RenderBody()
<hr />
<footer>
<p>&copy; 2017 - GenericMvc.Test.App</p>
</footer>
</div>
<nav class="navbar navbar-fixed-top" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<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">Test Website</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a asp-controller="Home" asp-action="Index"><i class="material-icons">home</i> Home</a></li>
<li><a asp-controller="Home" asp-action="About"><i class="material-icons">info_outline</i> About</a></li>
<li><a asp-controller="Home" asp-action="Contact"><i class="material-icons">mail_outline</i> Contact</a></li>
<li><a asp-controller="Models" asp-action="Index">Models</a></li>
</ul>
</div>
</div>
</nav>
@*style="padding-top: 65px"*@
<main class="container">
@RenderBody()
</main>
<footer class="parentfooter">
<div class="container">
<hr class="shadow-z-2" style="background-color: #0D47A1" />
<ul class="list-inline">
<li>Copyright &copy; 2017 Joshua Clark</li>
<li class="pull-right">Designed And Built By: <a href="mailto:[email protected]">Joshua Clark</a></li>
</ul>
</div>
</footer>
<environment names="Development,Staging,Production">
<script src="~/lib/jquery/dist/jquery.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
<script src="~/lib/bootstrap-material-design/dist/js/ripples.js"></script>
<script src="~/lib/bootstrap-material-design/dist/js/material.js"></script>
<script src="~/lib/dropdown.js/jquery.dropdown.js"></script>
<script src="~/lib/jquery-autosize/dist/autosize.min.js"></script>
</environment>
@RenderSection("scripts", required: false)
<script>
$(window).on('load resize', function () {
$('body').css({ "padding-top": ($(".navbar").height() + 10) + "px" })
});
$(document).ready(function () {
$.material.init();
<environment names="Development">
<script src="~/lib/jquery/dist/jquery.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
</environment>
<environment names="Staging,Production">
<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js"
asp-fallback-src="~/lib/jquery/dist/jquery.min.js"
asp-fallback-test="window.jQuery">
</script>
<script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/bootstrap.min.js"
asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js"
asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal">
</script>
<script src="~/js/site.min.js" asp-append-version="true"></script>
</environment>
autosize(document.querySelectorAll('textarea'));
@RenderSection("scripts", required: false)
$("select").dropdown({ "autoinit": "select" });
});
</script>
</body>
</html>
</html>
16 changes: 11 additions & 5 deletions src/GenericMvc.Test.App/bower.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"name": "asp.net",
"name": "ASP.NET",
"private": true,
"dependencies": {
"bootstrap": "3.3.6",
"jquery": "2.2.0",
"jquery-validation": "1.14.0",
"jquery-validation-unobtrusive": "3.2.6"
"bootstrap": "3.3.6",
"bootstrap-material-design": "0.5.9",
"jquery": "2.2.0",
"jquery-validation": "1.15.1",
"jquery-validation-unobtrusive": "3.2.6",
"jquery-autosize": "3.0.17",
"dropdown.js": "*"
},
"resolutions": {
"jquery": ">=1.8"
}
}
10 changes: 5 additions & 5 deletions src/GenericMvc.Test.App/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
"type": "build"
},
"Microsoft.AspNetCore.Routing": "1.1.0",
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
"Microsoft.AspNetCore.StaticFiles": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
"Microsoft.Extensions.Configuration.Json": "1.0.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Logging.Console": "1.1.0",
"Microsoft.Extensions.Logging.Debug": "1.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0",
"GenericMvc": { "target": "project" },
"Microsoft.EntityFrameworkCore": "1.1.0",
Expand Down
Loading

0 comments on commit 6d3ec87

Please sign in to comment.