Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright 2018-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 | --> |
| 16 | <div id="host-details-panel" class="floatpanel" [@hostDetailsState]="id!=='' && !closed"> |
| 17 | <div class="container"> |
| 18 | <div class="top"> |
| 19 | <onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon> |
| 20 | </div> |
| 21 | <div class="host-icon"> |
| 22 | <onos-icon classes="{{detailsData._iconid_type? 'hostIcon_endstation':undefined}}" iconId="{{detailsData._iconid_type}}" |
| 23 | [iconSize]="40"></onos-icon> |
| 24 | </div> |
| 25 | <h2 class="editable clickable">{{detailsData.name}}</h2> |
| 26 | <div class="top-content"> |
| 27 | <div class="top-tables"> |
| 28 | <div class="left"> |
| 29 | <table> |
| 30 | <tbody> |
| 31 | <tr> |
| 32 | <td class="label" width="110">Host ID :</td> |
| 33 | <td class="value" width="80">{{detailsData.id}}</td> |
| 34 | </tr> |
| 35 | <tr> |
| 36 | <td class="label" width="110">IP Address :</td> |
| 37 | <td class="value" width="80">{{detailsData.ips}}</td> |
| 38 | </tr> |
| 39 | <tr> |
| 40 | <td class="label" width="110">MAC Address :</td> |
| 41 | <td class="value" width="80">{{detailsData.mac}}</td> |
| 42 | </tr> |
| 43 | </tbody> |
| 44 | </table> |
| 45 | </div> |
| 46 | <div class="right"> |
| 47 | <table> |
| 48 | <tbody> |
| 49 | <tr> |
| 50 | <td class="label" width="110">VLAN :</td> |
| 51 | <td class="value" width="80">{{detailsData.vlan}}</td> |
| 52 | </tr> |
| 53 | <tr> |
| 54 | <td class="label" width="110">Configured :</td> |
| 55 | <td class="value" width="80">{{detailsData.configured}}</td> |
| 56 | </tr> |
| 57 | <tr> |
| 58 | <td class="label" width="110">Location :</td> |
| 59 | <td class="value" width="80">{{detailsData.location}}</td> |
| 60 | </tr> |
| 61 | </tbody> |
| 62 | </table> |
| 63 | </div> |
| 64 | </div> |
| 65 | </div> |
| 66 | <hr> |
| 67 | <div class="bottom"></div> |
| 68 | |
| 69 | </div> |
| 70 | </div> |