|
1 | | -<!DOCTYPE html> |
2 | | -<html> |
3 | | -<head> |
4 | | - <meta charset="utf-8" /> |
5 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | | - <title>@ViewData["Title"] - Authentication.Demo</title> |
7 | | - |
8 | | - <environment include="Development"> |
9 | | - <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /> |
10 | | - <link rel="stylesheet" href="~/css/site.css" /> |
11 | | - </environment> |
12 | | - <environment exclude="Development"> |
13 | | - <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css" |
14 | | - asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css" |
15 | | - asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" /> |
16 | | - <link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" /> |
17 | | - </environment> |
18 | | -</head> |
19 | | -<body> |
20 | | - <nav class="navbar navbar-inverse navbar-fixed-top"> |
21 | | - <div class="container"> |
22 | | - <div class="navbar-header"> |
23 | | - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> |
24 | | - <span class="sr-only">Toggle navigation</span> |
25 | | - <span class="icon-bar"></span> |
26 | | - <span class="icon-bar"></span> |
27 | | - <span class="icon-bar"></span> |
28 | | - </button> |
29 | | - <a asp-area="" asp-controller="Home" asp-action="Index" class="navbar-brand">AspNetCore.WeixinOAuth.Demo</a> |
30 | | - </div> |
31 | | - <div class="navbar-collapse collapse"> |
32 | | - <ul class="nav navbar-nav"> |
33 | | - <li><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li> |
34 | | - <li><a asp-area="" asp-controller="Users" asp-action="Index">Users</a></li> |
35 | | - <li><a asp-area="" asp-controller="Roles" asp-action="Index">Roles</a></li> |
36 | | - </ul> |
37 | | - @await Html.PartialAsync("_LoginPartial") |
38 | | - </div> |
39 | | - </div> |
40 | | - </nav> |
41 | | - <div class="container body-content"> |
42 | | - @RenderBody() |
43 | | - <hr /> |
44 | | - <footer> |
45 | | - <p>© 2018 - Myvas.AspNetCore.Authentication.Demo</p> |
46 | | - </footer> |
47 | | - </div> |
48 | | - |
49 | | - <environment include="Development"> |
50 | | - <script src="~/lib/jquery/dist/jquery.js"></script> |
51 | | - <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script> |
52 | | - <script src="~/js/site.js" asp-append-version="true"></script> |
53 | | - </environment> |
54 | | - <environment exclude="Development"> |
55 | | - <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js" |
56 | | - asp-fallback-src="~/lib/jquery/dist/jquery.min.js" |
57 | | - asp-fallback-test="window.jQuery" |
58 | | - crossorigin="anonymous" |
59 | | - integrity="sha384-K+ctZQ+LL8q6tP7I94W+qzQsfRV2a+AfHIi9k8z8l9ggpc8X+Ytst4yBo/hH+8Fk"> |
60 | | - </script> |
61 | | - <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/bootstrap.min.js" |
62 | | - asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js" |
63 | | - asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal" |
64 | | - crossorigin="anonymous" |
65 | | - integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"> |
66 | | - </script> |
67 | | - <script src="~/js/site.min.js" asp-append-version="true"></script> |
68 | | - </environment> |
69 | | - |
70 | | - @RenderSection("Scripts", required: false) |
71 | | -</body> |
72 | | -</html> |
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <meta charset="utf-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <title>@ViewData["Title"] - Authentication.Demo</title> |
| 7 | + <base src="~/" /> |
| 8 | + <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> |
| 9 | + <link rel="stylesheet" href="~/css/site.min.css" /> |
| 10 | +</head> |
| 11 | +<body> |
| 12 | + <nav class="navbar navbar-inverse navbar-fixed-top"> |
| 13 | + <div class="container"> |
| 14 | + <div class="navbar-header"> |
| 15 | + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> |
| 16 | + <span class="sr-only">Toggle navigation</span> |
| 17 | + <span class="icon-bar"></span> |
| 18 | + <span class="icon-bar"></span> |
| 19 | + <span class="icon-bar"></span> |
| 20 | + </button> |
| 21 | + <a asp-area="" asp-controller="Home" asp-action="Index" class="navbar-brand">AspNetCore.WeixinOAuth.Demo</a> |
| 22 | + </div> |
| 23 | + <div class="navbar-collapse collapse"> |
| 24 | + <ul class="nav navbar-nav"> |
| 25 | + <li><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li> |
| 26 | + <li><a asp-area="" asp-controller="Users" asp-action="Index">Users</a></li> |
| 27 | + <li><a asp-area="" asp-controller="Roles" asp-action="Index">Roles</a></li> |
| 28 | + </ul> |
| 29 | + @await Html.PartialAsync("_LoginPartial") |
| 30 | + </div> |
| 31 | + </div> |
| 32 | + </nav> |
| 33 | + <div class="container body-content"> |
| 34 | + @RenderBody() |
| 35 | + <hr /> |
| 36 | + <footer> |
| 37 | + <p>© 2018 - Myvas.AspNetCore.Authentication.Demo</p> |
| 38 | + </footer> |
| 39 | + </div> |
| 40 | + |
| 41 | + <script src="~/lib/jquery/dist/jquery.min.js"></script> |
| 42 | + <script src="~/lib/bootstrap/dist/js/bootstrap.min.js"></script> |
| 43 | + <script src="~/js/site.min.js" asp-append-version="true"></script> |
| 44 | + |
| 45 | + @RenderSection("Scripts", required: false) |
| 46 | +</body> |
| 47 | +</html> |
0 commit comments