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"> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame^] | 27 | <onos-confirm title="{{ lionFn('ui_ok_to_update') }}" message="{{ confirmMessage }}" warning="{{ strongWarning }}" (chosen)="dOk($event)"></onos-confirm> |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 28 | <div id="mast-right"> |
| 29 | <nav> |
| 30 | <div class="dropdown-parent"> |
Sean Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame] | 31 | <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] | 32 | <div class="dropdown"> |
Sean Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame] | 33 | <a href="rs/logout"> {{ lionFn('logout') }} </a> |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 34 | </div> |
| 35 | </div> |
| 36 | <div class="ctrl-btns"> |
Sean Condon | 28ecc5f | 2018-06-25 12:50:16 +0100 | [diff] [blame] | 37 | <div class="active clickable icon" (click)="directTo()"> |
| 38 | <onos-icon iconId="query" iconSize="32" toolTip="{{ lionFn('tt_help') }}"></onos-icon> |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 39 | </div> |
| 40 | </div> |
| 41 | </nav> |
| 42 | |
| 43 | </div> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame^] | 44 | </div> |