summaryrefslogtreecommitdiffstats
path: root/login
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2017-03-21 06:39:31 +0000
committerGerrit Code Review <gerrit@open-o.org>2017-03-21 06:39:31 +0000
commit074ac4beac7451d74f11f9828e685cb2b3f16c0c (patch)
tree4b7e053315dcdc93254819cecb297c97cf28eb02 /login
parent93e29ad7d5c9ba017252cb7b25aca94657023dd7 (diff)
parent439f658078e7d4a7e36897ccf8f72b5a0933aa45 (diff)
Merge "link menu to function pages"
Diffstat (limited to 'login')
-rw-r--r--login/src/main/webapp/login/html/menu.html17
-rw-r--r--login/src/main/webapp/login/html/temp/resourceManagement.html (renamed from login/src/main/webapp/login/html/temp/resourceNfvo.html)2
-rw-r--r--login/src/main/webapp/login/html/temp/resourceSdno.html18
-rw-r--r--login/src/main/webapp/login/js/app.js30
4 files changed, 28 insertions, 39 deletions
diff --git a/login/src/main/webapp/login/html/menu.html b/login/src/main/webapp/login/html/menu.html
index 59bc30a7..db3f4067 100644
--- a/login/src/main/webapp/login/html/menu.html
+++ b/login/src/main/webapp/login/html/menu.html
@@ -23,7 +23,7 @@
<ul id="accordion" class="accordion">
<li>
<div class="link">
- <i class="fa fa-globe"></i>Service<i class="fa fa-chevron-down"></i>
+ <i class="fa fa-cloud"></i>Service<i class="fa fa-chevron-down"></i>
</div>
<ul class="submenu">
<li><a ui-sref=".serviceManagement" ui-sref-active="submenu_active">Service Management</a></li>
@@ -31,11 +31,18 @@
</li>
<li>
<div class="link">
- <i class="fa fa-search-minus"></i>Resource Mgr<i class="fa fa-chevron-down"></i>
+ <i class="fa fa-search-minus"></i>Resource<i class="fa fa-chevron-down"></i>
</div>
<ul class="submenu">
- <li><a ui-sref=".resourceSdno" ui-sref-active="submenu_active">Resource Mgr sdno</a></li>
- <li><a ui-sref=".resourceNfvo" ui-sref-active="submenu_active">Resource Mgr Nfvo</a></li>
+ <li><a ui-sref=".resourceManagement" ui-sref-active="submenu_active">Resource Management</a></li>
+ </ul>
+ </li>
+ <li>
+ <div class="link">
+ <i class="fa fa-map-marker"></i>Province<i class="fa fa-chevron-down"></i>
+ </div>
+ <ul class="submenu">
+ <li><a ui-sref=".provinceManagement" ui-sref-active="submenu_active">Province Management</a></li>
</ul>
</li>
<li>
@@ -84,7 +91,7 @@
<div id="page-header-wrapper" class="clearfix">
<div class="top-icon-bar dropdown">
<a href="javascript:;" title="" class="user-ico clearfix" data-toggle="dropdown">
- <img width="36" src="/openoui/login/image/user.png" alt="">
+ <img width="36" src="/openoui/login/image/user.png" alt="" style="border-radius: 15px;"/>
<span>User Name</span>
<i class="fa fa-chevron-down"></i>
</a>
diff --git a/login/src/main/webapp/login/html/temp/resourceNfvo.html b/login/src/main/webapp/login/html/temp/resourceManagement.html
index 52e583bd..3614ff55 100644
--- a/login/src/main/webapp/login/html/temp/resourceNfvo.html
+++ b/login/src/main/webapp/login/html/temp/resourceManagement.html
@@ -14,5 +14,5 @@
limitations under the License.
-->
<div>
- <h4>resourceNfvo test page</h4>
+ <h4>resourceManagement test page</h4>
</div>
diff --git a/login/src/main/webapp/login/html/temp/resourceSdno.html b/login/src/main/webapp/login/html/temp/resourceSdno.html
deleted file mode 100644
index 76ff13e1..00000000
--- a/login/src/main/webapp/login/html/temp/resourceSdno.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- Copyright 2016-2017, China Mobile Co., Ltd.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<div>
- <h4>resourceSdno test page</h4>
-</div>
diff --git a/login/src/main/webapp/login/js/app.js b/login/src/main/webapp/login/js/app.js
index cf267f15..6d3ac224 100644
--- a/login/src/main/webapp/login/js/app.js
+++ b/login/src/main/webapp/login/js/app.js
@@ -33,20 +33,20 @@ var app = angular.module("POCApp", ["ui.router", "ngTable"])
})
.state("menu.serviceManagement", {
url: "/serviceManagement",
- templateUrl : "/openoui/login/html/temp/serviceManagement.html",
+ templateUrl : "/openoui/lifecyclemgr/index.html",
controller : "serviceManagementCtrl",
authenticate: true
})
- .state("menu.resourceSdno", {
- url: "/resourceSdno",
- templateUrl : "/openoui/login/html/temp/resourceSdno.html",
- controller : "resourceSdnoCtrl",
+ .state("menu.resourceManagement", {
+ url: "/resourceManagement",
+ templateUrl : "/openoui/resmgr/index.html",
+ controller : "resourceManagementCtrl",
authenticate: true
})
- .state("menu.resourceNfvo", {
- url: "/resourceNfvo",
- templateUrl : "/openoui/login/html/temp/resourceNfvo.html",
- controller : "resourceNfvoCtrl",
+ .state("menu.provinceManagement", {
+ url: "/provinceManagement",
+ templateUrl : "/openoui/provincemgr/index.html",
+ controller : "provinceManagementCtrl",
authenticate: true
})
.state("menu.modelDesign", {
@@ -159,14 +159,14 @@ var app = angular.module("POCApp", ["ui.router", "ngTable"])
$scope.message = "Service Management";
})
- /*Resource Sdno Controller*/
- .controller("resourceSdnoCtrl", function($scope, DataService, $log){
- $scope.message = "Resource Sdno";
+ /*Resource Management Controller*/
+ .controller("resourceManagementCtrl", function($scope, DataService, $log){
+ $scope.message = "Resource Management";
})
- /*Resource Nfvo Controller*/
- .controller("resourceNfvoCtrl", function($scope, DataService, $log){
- $scope.message = "Resource Nfvo";
+ /*Province Management Controller*/
+ .controller("provinceManagementCtrl", function($scope, DataService, $log){
+ $scope.message = "Province Management";
})
/*Model Design Controller*/