summaryrefslogtreecommitdiffstats
path: root/login
diff options
context:
space:
mode:
author“shentao” <shentao@chinamobile.com>2017-03-27 20:08:19 +0800
committer“shentao” <shentao@chinamobile.com>2017-03-27 20:08:26 +0800
commit4d91982b8c163bb1a32707af737544b1fdd6d747 (patch)
tree34377b3c7c9c6122dcae26b51fbfd4cb55a0af99 /login
parent42da7a4257a773561b047951ffd6daf383d19c39 (diff)
integrated vnf market function
Issue-id: CLIENT-175 Change-Id: Ide55ebd9b742b3c8e1a619bf36981e2f0530c976 Signed-off-by: “shentao” <shentao@chinamobile.com>
Diffstat (limited to 'login')
-rw-r--r--login/src/main/webapp/login/html/menu.html10
-rw-r--r--login/src/main/webapp/login/js/app.js11
2 files changed, 20 insertions, 1 deletions
diff --git a/login/src/main/webapp/login/html/menu.html b/login/src/main/webapp/login/html/menu.html
index db3f4067..58fbcc9b 100644
--- a/login/src/main/webapp/login/html/menu.html
+++ b/login/src/main/webapp/login/html/menu.html
@@ -47,7 +47,7 @@
</li>
<li>
<div class="link">
- <i class="fa fa-puzzle-piece"></i>Orchestrator<i class="fa fa-chevron-down"></i>
+ <i class="fa fa-edit"></i>Orchestrator<i class="fa fa-chevron-down"></i>
</div>
<ul class="submenu">
<li><a ui-sref=".modelDesign" ui-sref-active="submenu_active">Model Design</a></li>
@@ -82,6 +82,14 @@
<li><a ui-sref=".parameterSetting" ui-sref-active="submenu_active">Parameter Setting</a></li>
</ul>
</li>
+ <li>
+ <div class="link">
+ <i class="fa fa-puzzle-piece"></i>Market<i class="fa fa-chevron-down"></i>
+ </div>
+ <ul class="submenu">
+ <li><a ui-sref=".vnfMarket" ui-sref-active="submenu_active">VNF Market Place</a></li>
+ </ul>
+ </li>
</ul>
</div>
</div>
diff --git a/login/src/main/webapp/login/js/app.js b/login/src/main/webapp/login/js/app.js
index 6d3ac224..e08ad180 100644
--- a/login/src/main/webapp/login/js/app.js
+++ b/login/src/main/webapp/login/js/app.js
@@ -103,6 +103,12 @@ var app = angular.module("POCApp", ["ui.router", "ngTable"])
controller : "parameterSettingCtrl",
authenticate: true
})
+ .state("menu.vnfMarket", {
+ url: "/vnfMarket",
+ templateUrl : "/openoui/vnfMarket/index.html",
+ controller : "vnfMarketCtrl",
+ authenticate: true
+ })
})
/*Login Controller*/
@@ -214,6 +220,11 @@ var app = angular.module("POCApp", ["ui.router", "ngTable"])
$scope.message = "Parameter Setting";
})
+ /*VNF Market Controller*/
+ .controller("vnfMarketCtrl", function($scope, DataService, $log){
+ $scope.message = "VNF Market";
+ })
+
var modelTemplate = "";
function loadTemplate() {
$.get('/openoui/framework/template.html', function (template) {