blob: 04c60b3f53856e8f481a1223b4d118ec17f21b59 [file] [log] [blame]
Sean Condona00bf382018-06-23 07:54:01 +01001<!--
Sean Condon87b78502018-09-17 20:53:24 +01002~ Copyright 2018-present Open Networking Foundation
Sean Condona00bf382018-06-23 07:54:01 +01003~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
Sean Condon28ecc5f2018-06-25 12:50:16 +010016<nav id="nav" [@navState]="ns.showNav">
Bhavesh Kumard0b8bae2018-07-31 16:56:43 +053017 <div id="platform" class="nav-hdr">{{ lionFn('cat_platform') }}</div>
Sean Condon87b78502018-09-17 20:53:24 +010018 <div *ngFor="let uiView of ns.uiPlatformViews">
19 <a id="{{uiView.id}}" (click)="ns.hideNav()" routerLink="/{{uiView.id}}">
20 <onos-icon iconId="{{ uiView.icon }}"></onos-icon> {{ uiView.label }}</a>
21 </div>
Sean Condon28ecc5f2018-06-25 12:50:16 +010022
Bhavesh Kumard0b8bae2018-07-31 16:56:43 +053023 <div id="network" class="nav-hdr">{{ lionFn('cat_network') }}</div>
Sean Condon87b78502018-09-17 20:53:24 +010024 <div *ngFor="let uiView of ns.uiNetworkViews">
25 <a id="{{uiView.id}}" (click)="ns.hideNav()" routerLink="/{{uiView.id}}">
26 <onos-icon iconId="{{ uiView.icon }}"></onos-icon> {{ uiView.label }}</a>
27 </div>
Bhavesh Kumard0b8bae2018-07-31 16:56:43 +053028
Sean Condon87b78502018-09-17 20:53:24 +010029 <div *ngIf="ns.uiOtherViews.length > 0" id="other" class="nav-hdr">{{ lionFn('cat_other') }}</div>
30 <div *ngFor="let uiView of ns.uiOtherViews">
31 <a id="{{uiView.id}}" (click)="ns.hideNav()" routerLink="/{{uiView.id}}">
32 <onos-icon iconId="{{ uiView.icon }}"></onos-icon> {{ uiView.label }}</a>
33 </div>
Bhavesh72ead492018-07-19 16:29:18 +053034
Priyanka H Mfa5b77a2018-07-27 12:43:44 +053035</nav>