Sean Condon | a00bf38 | 2018-06-23 07:54:01 +0100 | [diff] [blame] | 1 | <!-- |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 2 | ~ Copyright 2018-present Open Networking Foundation |
Sean Condon | a00bf38 | 2018-06-23 07:54:01 +0100 | [diff] [blame] | 3 | ~ |
| 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 Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame] | 16 | <nav id="nav" [@navState]="ns.showNav"> |
Bhavesh Kumar | d0b8bae | 2018-07-31 16:56:43 +0530 | [diff] [blame] | 17 | <div id="platform" class="nav-hdr">{{ lionFn('cat_platform') }}</div> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 18 | <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 Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame] | 22 | |
Bhavesh Kumar | d0b8bae | 2018-07-31 16:56:43 +0530 | [diff] [blame] | 23 | <div id="network" class="nav-hdr">{{ lionFn('cat_network') }}</div> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 24 | <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 Kumar | d0b8bae | 2018-07-31 16:56:43 +0530 | [diff] [blame] | 28 | |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 29 | <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> |
Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame] | 34 | |
Priyanka H M | fa5b77a | 2018-07-27 12:43:44 +0530 | [diff] [blame] | 35 | </nav> |