summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-11-19 16:51:15 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-11-19 16:51:20 +0800
commitc2e8154a82ff9c2ad16ede6dc488150628cb17b3 (patch)
treeb226cb1db64d58e70191236846e400049d6b5f07 /usecaseui-portal/src/app
parent214d67b1555d4018c2189dd641aee27ed2b3e230 (diff)
feat: change the order of main menu and re-install the node package
Change-Id: I683424b3a568fc9594061d63c9d358ca592ff099 Issue-ID: USECASEUI-352 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app')
-rw-r--r--usecaseui-portal/src/app/app.component.html31
1 files changed, 19 insertions, 12 deletions
diff --git a/usecaseui-portal/src/app/app.component.html b/usecaseui-portal/src/app/app.component.html
index f5ee199c..385c4990 100644
--- a/usecaseui-portal/src/app/app.component.html
+++ b/usecaseui-portal/src/app/app.component.html
@@ -19,6 +19,7 @@
<img src="assets/images/uui-logo130.png" alt="">
</div>
<ul nz-menu [nzTheme]="'dark'" [nzMode]="'inline'">
+ <!-- home page -->
<li nz-menu-item [ngClass]="{'activeMenuBar': url === 'home'}">
<a routerLink="home">
<span title>
@@ -31,6 +32,7 @@
</a>
</li>
<hr>
+ <!-- customer page -->
<li nz-menu-item [ngClass]="{'activeMenuBar': url === 'management'}">
<a routerLink="management">
<span title>
@@ -44,18 +46,7 @@
</a>
</li>
<hr>
- <li nz-menu-item [ngClass]="{'activeMenuBar': url === 'fcaps'}">
- <a routerLink="fcaps">
- <span title>
- <i>
- <img src="{{ url === 'fcaps' ? 'assets/images/monitor-icon-active.png':'assets/images/monitor-icon.png'}}"
- alt="home">
- </i>
- <span> {{"i18nTextDefine_Monitor" | translate}} </span>
- </span>
- </a>
- </li>
- <hr>
+ <!-- service page -->
<li nz-submenu [ngClass]="{'activeMenuBar': url.indexOf('services') === 0}" [nzOpen]="flag">
<span title>
<i>
@@ -75,6 +66,8 @@
</ul>
</li>
<hr>
+ <!-- package page -->
+ <!-- network page -->
<li nz-menu-item [ngClass]="{'activeMenuBar': url === 'network'}">
<a routerLink="network">
<span title>
@@ -87,6 +80,20 @@
</span>
</a>
</li>
+ <hr>
+ <!-- monitor page -->
+ <li nz-menu-item [ngClass]="{'activeMenuBar': url === 'fcaps'}">
+ <a routerLink="fcaps">
+ <span title>
+ <i>
+ <img src="{{ url === 'fcaps' ? 'assets/images/monitor-icon-active.png':'assets/images/monitor-icon.png'}}"
+ alt="home">
+ </i>
+ <span> {{"i18nTextDefine_Monitor" | translate}} </span>
+ </span>
+ </a>
+ </li>
+ <hr>
</ul>
</nz-sider>
<nz-layout class="main">