|
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
6 | | - <title>@ViewData["Title"] - Azure App Configuration Demo</title> |
7 | | - |
| 6 | + <title>@ViewData["Title"] - Azure App Configuration Demo</title> |
8 | 7 | <environment include="Development"> |
9 | | - <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /> |
10 | | - </environment> |
| 8 | + <link rel="stylesheet" href="~/lib/bootstrap/css/bootstrap.css" /> |
| 9 | + </environment> |
11 | 10 | <environment exclude="Development"> |
12 | | - <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css" |
13 | | - asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css" |
14 | | - asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" /> |
| 11 | + <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/5.2.3/css/bootstrap.min.css" |
| 12 | + asp-fallback-href="~/lib/bootstrap/css/bootstrap.min.css" |
| 13 | + asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" |
| 14 | + crossorigin="anonymous" |
| 15 | + integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" /> |
15 | 16 | </environment> |
16 | 17 | <link rel="stylesheet" href="~/css/site.css" /> |
17 | 18 | <style> |
18 | 19 | @RenderSection("InlineStyles", required: false) |
19 | 20 | </style> |
20 | 21 | </head> |
21 | 22 | <body> |
22 | | - <nav class="navbar navbar-inverse navbar-fixed-top"> |
| 23 | + <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"> |
23 | 24 | <div class="container"> |
24 | | - <div class="navbar-header"> |
25 | | - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> |
26 | | - <span class="sr-only">Toggle navigation</span> |
27 | | - <span class="icon-bar"></span> |
28 | | - <span class="icon-bar"></span> |
29 | | - <span class="icon-bar"></span> |
30 | | - </button> |
31 | | - <a asp-page="/Index" class="navbar-brand">@ViewData["AppName"]</a> |
32 | | - </div> |
33 | | - <div class="navbar-collapse collapse"> |
34 | | - <ul class="nav navbar-nav"> |
35 | | - <li><a asp-page="/Index">Home</a></li> |
36 | | - <li><a asp-page="/About">About</a></li> |
37 | | - <li><a asp-page="/Contact">Contact</a></li> |
| 25 | + <a asp-page="/Index" class="navbar-brand">@ViewData["AppName"]</a> |
| 26 | + <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> |
| 27 | + <span class="navbar-toggler-icon"></span> |
| 28 | + </button> |
| 29 | + <div class="collapse navbar-collapse" id="navbarNav"> |
| 30 | + <ul class="navbar-nav"> |
| 31 | + <li class="nav-item"> |
| 32 | + <a class="nav-link" asp-page="/Index">Home</a> |
| 33 | + </li> |
| 34 | + <li class="nav-item"> |
| 35 | + <a class="nav-link" asp-page="/About">About</a> |
| 36 | + </li> |
| 37 | + <li class="nav-item"> |
| 38 | + <a class="nav-link" asp-page="/Contact">Contact</a> |
| 39 | + </li> |
38 | 40 | </ul> |
39 | 41 | </div> |
40 | 42 | </div> |
41 | 43 | </nav> |
42 | 44 | <div class="container body-content"> |
43 | 45 | @RenderBody() |
44 | | - </div> |
45 | | -
|
| 46 | + </div> |
46 | 47 | <environment include="Development"> |
47 | | - <script src="~/lib/jquery/dist/jquery.js"></script> |
48 | | - <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script> |
49 | | - </environment> |
50 | | - <environment exclude="Development"> |
51 | | - <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js" |
52 | | - asp-fallback-src="~/lib/jquery/dist/jquery.min.js" |
| 48 | + <script src="~/lib/jquery/jquery.js"></script> |
| 49 | + <script src="~/lib/bootstrap/js/bootstrap.bundle.js"></script> |
| 50 | + </environment> <environment exclude="Development"> |
| 51 | + <script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.7.1.min.js" |
| 52 | + asp-fallback-src="~/lib/jquery/jquery.min.js" |
53 | 53 | asp-fallback-test="window.jQuery" |
54 | 54 | crossorigin="anonymous" |
55 | | - integrity="sha384-K+ctZQ+LL8q6tP7I94W+qzQsfRV2a+AfHIi9k8z8l9ggpc8X+Ytst4yBo/hH+8Fk"> |
| 55 | + integrity="sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs"> |
56 | 56 | </script> |
57 | | - <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/bootstrap.min.js" |
58 | | - asp-fallback-src="~/lib/bootstrap/dist/js/bootstrap.min.js" |
59 | | - asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal" |
| 57 | + <script src="https://ajax.aspnetcdn.com/ajax/bootstrap/5.2.3/bootstrap.bundle.min.js" |
| 58 | + asp-fallback-src="~/lib/bootstrap/js/bootstrap.bundle.min.js" |
| 59 | + asp-fallback-test="window.bootstrap" |
60 | 60 | crossorigin="anonymous" |
61 | | - integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"> |
| 61 | + integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"> |
62 | 62 | </script> |
63 | 63 | </environment> |
64 | 64 | <script src="~/js/site.js" asp-append-version="true"></script> |
|
0 commit comments