1
+ <!-- #docregion -->
2
+ <!DOCTYPE html>
3
+ < html >
4
+ < head >
5
+ < meta charset ="utf-8 " />
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
7
+ < title > @ViewData["Title"] - AngularWithDotnetCore</ title >
8
+ < environment names ="Development ">
9
+ < link rel ="stylesheet " href ="~/lib/bootstrap/dist/css/bootstrap.css " />
10
+ < link rel ="stylesheet " href ="~/css/site.css " />
11
+ </ environment >
12
+ < environment names ="Staging,Production ">
13
+ < link rel ="stylesheet " href ="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/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
+ @Html.ApplicationInsightsJavaScript(TelemetryConfiguration)
19
+
20
+ <!-- 1. Load libraries -->
21
+ <!-- Polyfill for older browsers -->
22
+ < script src ="~/node_modules/core-js/client/shim.min.js "> </ script >
23
+ < script src ="~/node_modules/zone.js/dist/zone.js "> </ script >
24
+ < script src ="~/node_modules/reflect-metadata/Reflect.js "> </ script >
25
+ < script src ="~/node_modules/systemjs/dist/system.src.js "> </ script >
26
+ <!-- 2. Configure SystemJS -->
27
+ < script src ="~/app/systemjs.config.js "> </ script >
28
+ < script >
29
+ System . import ( 'app' ) . catch ( function ( err ) { console . error ( err ) ; } ) ;
30
+ </ script >
31
+ </ head >
32
+ < body >
33
+
34
+ < div class ="navbar navbar-inverse navbar-fixed-top ">
35
+ < div class ="container ">
36
+ < div class ="navbar-header ">
37
+ < button type ="button " class ="navbar-toggle " data-toggle ="collapse " data-target =".navbar-collapse ">
38
+ < span class ="sr-only "> Toggle navigation</ span >
39
+ < span class ="icon-bar "> </ span >
40
+ < span class ="icon-bar "> </ span >
41
+ < span class ="icon-bar "> </ span >
42
+ </ button >
43
+ < a asp-area ="" asp-controller ="Home " asp-action ="Index " class ="navbar-brand "> AngularWithDotnetCore</ a >
44
+ </ div >
45
+ < div class ="navbar-collapse collapse ">
46
+ < ul class ="nav navbar-nav ">
47
+ < li > < a asp-area ="" asp-controller ="Home " asp-action ="Index "> Home</ a > </ li >
48
+ < li > < a asp-area ="" asp-controller ="Home " asp-action ="About "> About</ a > </ li >
49
+ < li > < a asp-area ="" asp-controller ="Home " asp-action ="Contact "> Contact</ a > </ li >
50
+ </ ul >
51
+ </ div >
52
+ </ div >
53
+ </ div >
54
+ < div class ="container body-content ">
55
+ < my-app > Loading…</ my-app >
56
+ @RenderBody()
57
+ < hr />
58
+ < footer >
59
+ < p > © 2016 - AngularWithDotnetCore</ p >
60
+ </ footer >
61
+ </ div >
62
+
63
+ < environment names ="Development ">
64
+ < script src ="~/lib/jquery/dist/jquery.js "> </ script >
65
+ < script src ="~/lib/bootstrap/dist/js/bootstrap.js "> </ script >
66
+ < script src ="~/js/site.js " asp-append-version ="true "> </ script >
67
+ </ environment >
68
+ < environment names ="Staging,Production ">
69
+ < script src ="https://ajax.aspnetcdn.com/ajax/jquery/jquery-2.2.0.min.js "
70
+ asp-fallback-src ="~/lib/jquery/dist/jquery.min.js "
71
+ asp-fallback-test ="window.jQuery ">
72
+ </ script >
73
+ < script src ="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.6/bootstrap.min.js "
74
+ asp-fallback-src ="~/lib/bootstrap/dist/js/bootstrap.min.js "
75
+ asp-fallback-test ="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal ">
76
+ </ script >
77
+ < script src ="~/js/site.min.js " asp-append-version ="true "> </ script >
78
+ </ environment >
79
+
80
+ @RenderSection("scripts", required: false)
81
+ </ body >
82
+ </ html >
0 commit comments