aboutsummaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/app.component.html
blob: df0890e60611507f69b4540cf2c4b2a0d3e4365b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!--
    Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.

    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.
-->
<nz-layout>
  <nz-sider nzWidth='260' style="overflow: auto; height: 100vh; position: fixed; left: 0">
    <ul nz-menu [nzTheme]="'dark'" [nzMode]="'inline'" style="width: 260px;">
      <li nz-menu-item nzSelected> 
        <a routerLink="home">
          <span title>
            <i class="anticon anticon-home"></i>
            <span> {{"Home" | translate}} </span>
          </span>
        </a>
      </li>
      <hr>
      <li nz-submenu>
        <span title><i class="anticon anticon-home"></i> {{"Services" | translate}} </span>
        <ul>
          <li nz-menu-item><a routerLink='services/services-list'> {{"Services List" | translate}}</a></li>
          <li nz-menu-item><a routerLink='services/onboard-vnf-vm'> Onboard VNF/VM </a></li>
        </ul>
      </li>
      <!-- <hr>
      <li nz-menu-item>
        <a routerLink="alarm">
          <span title>
            <i class="anticon anticon-mail"></i>
            <span> {{"Alarm" | translate}} </span>
          </span>
        </a>
      </li>
      <hr> -->
      <li nz-submenu>
        <span title><i class="anticon anticon-setting"></i> {{"Monitor" | translate}} </span>
        <ul>
          <li nz-menu-item><a routerLink='alarm'> {{"Alarm" | translate}} </a></li>
          <li nz-menu-item><a routerLink='performance/performance-vnf'> {{"Performance" | translate}}</a></li>
        </ul>
      </li>
      <hr>
      <li nz-menu-item>
        <a routerLink="network">
          <span title>
            <i class="anticon anticon-share-alt"></i>
            <span> {{"Network" | translate}} </span>
          </span>
        </a>
      </li>
    </ul>

    <nz-dropdown [nzTrigger]="'click'" [nzPlacement]="'bottomRight'">
      <button nz-button nz-dropdown><span>{{selectLanguage | translate}}</span> <i class="anticon anticon-down"></i></button>
      <ul nz-menu>
        <li nz-menu-item (click)="changeLanguage(item)" *ngFor="let item of Language">
          <a>{{item | translate}}</a>
        </li>
      </ul>
    </nz-dropdown>
  </nz-sider>
  <nz-layout style="margin-left: 260px; padding: 20px 32px; height:100vh; position:relative;">
      <router-outlet></router-outlet>
  </nz-layout>
</nz-layout>