6
6
< title > </ title >
7
7
< link rel ="stylesheet " type ="text/css " href ="/content/public/css/default.css " />
8
8
9
- < link rel ="stylesheet " type ="text/css " href ="/content/vendor/bootstrap/dist/css/bootstrap-theme.min.css " />
9
+ < link rel ="stylesheet " type ="text/css " href ="/content/vendor/bootstrap/dist/css/bootstrap-theme.min.css "/>
10
+ < link rel ="stylesheet " type ="text/css " href ="/content/vendor/bootstrap/dist/css/bootstrap.min.css " />
10
11
< link rel ="stylesheet " type ="text/css " href ="/content/vendor/font-awesome/css/font-awesome.min.css " />
11
12
< link rel ="stylesheet " type ="text/css " href ="/content/vendor/angular/angular-csp.css " />
12
13
13
14
< link rel ="stylesheet " type ="text/css " href ="/content/vendor/angular-ui/build/angular-ui.min.css " />
14
15
</ head >
15
16
< body class ="boxed " ng-app ="productManagement ">
16
17
17
- < h1 > Hello world Self Hosting nancy{{10+11}}</ h1 >
18
-
19
- < div class ="panel panel-primary ">
20
-
21
- < div class ="panel-heading "> Heading</ div >
22
- < div class ="panel-body ">
23
18
19
+ < script src ="content/vendor/jquery/dist/jquery.min.js "> </ script >
20
+ < script src ="content/vendor/angular/angular.min.js "> </ script >
21
+ < script src ="content/vendor/angular-ui/build/angular-ui-ieshiv.min.js "> </ script >
22
+ < script src ="content/vendor/angular-ui/build/angular-ui.min.js "> </ script >
23
+ < script src ="content/vendor/bootstrap/dist/js/bootstrap.min.js "> </ script >
24
+ < script src ="content/public/vendor/angular-resource.min.js "> </ script >
25
+ < script src ="content/public/vendor/angular-mocks.js "> </ script >
26
+ < script src ="content/public/vendor/angular-ui-router.min.js "> </ script >
27
+ < script src ="content/public/app/app.js "> </ script >
24
28
25
- < table class ="table " ng-controller ="ProductListCtrl as vm ">
29
+ < script src ="content/public/app/controllers/productlistctrl.js "> </ script >
30
+ < script src ="content/public/app/common/services/common.services.js "> </ script >
31
+ < script src ="content/public/app/common/services/productResourceMock.js "> </ script >
32
+ < script src ="content/public/app/common/services/productresuource.js "> </ script >
26
33
27
- < thead >
28
- < tr >
29
- < td > Product name</ td >
30
- < td > Price </ td >
31
- < td >
32
- < button type ="button " ng-click ="vm.toggleImage() " class ="btn btn-primary ">
33
- {{vm.showImage?"Hide ":"Show "}} Image
34
- </ button >
35
- </ td >
36
- </ tr >
37
- </ thead >
38
-
39
- < tbody >
40
- < tr data-ng-repeat ="product in vm.products ">
41
- < td > {{product.productName}}</ td >
42
- < td > {{product.price|currency}}</ td >
43
- < td >
44
- < img ng-if ="vm.showImage "
45
- ng-src ="{{product.imageUrl}} "
46
- style ="width: 50px; margin: 2px; " title ="{{product.productName}} " />
47
- </ td >
48
- </ tr >
49
- </ tbody >
34
+ < script src ="content/public/app/controllers/producteditctrl.js "> </ script >
35
+ < script src ="content/public/app/controllers/productdetailctrl.js "> </ script >
36
+ <!--<div class="navbar navbar-inverse">
37
+ <div class="container">
38
+ <a class="navbar-brand">Product management</a>
39
+ <div class="navbar-header">
40
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
41
+ <span class="sr-only">Toggle navigation</span>
42
+ <span class="icon-bar"></span>
43
+ <span class="icon-bar"></span>
44
+ <span class="icon-bar"></span>
45
+ </button>
46
+ </div>
47
+ <div class="navbar-collapse collapse">
48
+ <ul class="nav navbar-nav">
49
+ <li><a>Product list</a></li>
50
+ <li><a><i class="glyphicon glyphicon-plus"></i>Add product list</a></li>
51
+ </ul>
52
+ </div>
53
+ </div>
54
+ </div>-->
50
55
51
- </ table >
52
56
57
+ < div class ="navbar navbar-inverse navbar-fixed-top ">
58
+ < div class ="container ">
59
+ < a asp-controller ="Home " class ="navbar-brand " data-ui-sref ="home "> Product Management</ a >
60
+ < div class ="navbar-header ">
61
+ < button type ="button " class ="navbar-toggle " data-toggle ="collapse " data-target =".navbar-collapse ">
62
+ < span class ="sr-only "> Toggle navigation</ span >
63
+ < span class ="icon-bar "> </ span >
64
+ < span class ="icon-bar "> </ span >
65
+ < span class ="icon-bar "> </ span >
66
+ </ button >
67
+
68
+ </ div >
69
+ < div class ="navbar-collapse collapse ">
70
+ < ul class ="nav navbar-nav ">
71
+ < li > < a data-ui-sref ="productList "> Product List</ a > </ li >
72
+
73
+ < li > < a data-ui-sref ="productEdit({productId:0}) "> < i class ="glyphicon glyphicon-plus "> </ i > Add product list</ a > </ li >
74
+
75
+ </ ul >
76
+
77
+ </ div >
53
78
</ div >
79
+ </ div >
80
+
81
+ < h1 > Hello world Self Hosting nancy{{10+11}}</ h1 >
82
+ < div class ="container ">
83
+ < div data-ui-view >
54
84
55
85
</ div >
86
+ </ div >
87
+
56
88
57
- < script language ="javascript " type ="text/javascript " src ="content/vendor/jquery/dist/jquery.min.js "> </ script >
58
- < script language ="javascript " type ="text/javascript " src ="content/vendor/angular/angular.min.js "> </ script >
59
- < script language ="javascript " type ="text/javascript " src ="content/vendor/angular-ui/build/angular-ui-ieshiv.min.js "> </ script >
60
- < script language ="javascript " type ="text/javascript " src ="content/vendor/angular-ui/build/angular-ui.min.js "> </ script >
61
- < script language ="javascript " type ="text/javascript " src ="content/vendor/bootstrap/dist/js/bootstrap.min.js "> </ script >
62
- < script language ="javascript " type ="text/javascript " src ="content/public/vendor/angular-resource.min.js "> </ script >
63
- < script language ="javascript " type ="text/javascript " src ="content/public/vendor/angular-mocks.js "> </ script >
64
- < script language ="javascript " type ="text/javascript " src ="content/public/app/app.js "> </ script >
89
+ < footer >
90
+ < p > © 2016 - WebApplication1</ p >
91
+ </ footer >
65
92
66
- < script language ="javascript " type ="text/javascript " src ="content/public/app/controllers/productlistctrl.js "> </ script >
67
- < script language ="javascript " type ="text/javascript " src ="content/public/app/common/services/common.services.js "> </ script >
68
- < script language ="javascript " type ="text/javascript " src ="content/public/app/common/services/productResourceMock.js "> </ script >
69
- < script language ="javascript " type ="text/javascript " src ="content/public/app/common/services/productresuource.js "> </ script >
70
93
</ body >
71
94
</ html >
0 commit comments