Sean Condon | a00bf38 | 2018-06-23 07:54:01 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2014-present Open Networking Foundation |
| 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 | <div id="mast-top-block"></div> |
| 17 | <!-- The mast-top-block is an inline display element that pushes any |
| 18 | subsequent elements down the page. It has a height of 48px |
| 19 | The mast block overlays the mast-top-block. It is is positioned |
| 20 | absolutely so that the nav component can slide in behind it when |
| 21 | not shown --> |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 22 | <div id="mast" align="left"> |
| 23 | <span class="nav-menu-button clickable" (click)="ns.toggleNav()"> |
| 24 | <img src="data/img/nav-menu-mojo.png"/> |
| 25 | </span> |
| 26 | <img class="logo" src="data/img/masthead-logo-mojo.png"> |
| 27 | <div id="mast-right"> |
| 28 | <nav> |
| 29 | <div class="dropdown-parent"> |
Sean Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame^] | 30 | <a class="clickable user-menu__name">{{ username }} <i class="dropdown-icon"></i></a> |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 31 | <div class="dropdown"> |
Sean Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame^] | 32 | <a href="rs/logout"> {{ lionFn('logout') }} </a> |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 33 | </div> |
| 34 | </div> |
| 35 | <div class="ctrl-btns"> |
Sean Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame^] | 36 | <div class="active clickable icon" (click)="directTo()"> |
| 37 | <onos-icon iconId="query" iconSize="32" toolTip="{{ lionFn('tt_help') }}"></onos-icon> |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 38 | </div> |
| 39 | </div> |
| 40 | </nav> |
| 41 | |
| 42 | </div> |
| 43 | </div> |