GUI2 implementation of device/flow/port/group/meter/host/link/tunnel view
Review comments incorporated.
Change-Id: I45dd6570961cc3e0f4ffddb7acbf02cd7d860de5
diff --git a/web/gui2/src/main/webapp/app/view/host/hostdetails/hostdetails.component.html b/web/gui2/src/main/webapp/app/view/host/hostdetails/hostdetails.component.html
new file mode 100644
index 0000000..c7c9dba
--- /dev/null
+++ b/web/gui2/src/main/webapp/app/view/host/hostdetails/hostdetails.component.html
@@ -0,0 +1,70 @@
+<!--
+~ Copyright 2018-present Open Networking Foundation
+~
+~ Licensed under the Apache License, Version 2.0 (the "License");
+~ you may not use this file except in compliance with the License.
+~ You may obtain a copy of the License at
+~
+~ http://www.apache.org/licenses/LICENSE-2.0
+~
+~ Unless required by applicable law or agreed to in writing, software
+~ distributed under the License is distributed on an "AS IS" BASIS,
+~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+~ See the License for the specific language governing permissions and
+~ limitations under the License.
+-->
+<div id="host-details-panel" class="floatpanel" [@hostDetailsState]="id!=='' && !closed">
+ <div class="container">
+ <div class="top">
+ <onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon>
+ </div>
+ <div class="host-icon">
+ <onos-icon classes="{{detailsData._iconid_type? 'hostIcon_endstation':undefined}}" iconId="{{detailsData._iconid_type}}"
+ [iconSize]="40"></onos-icon>
+ </div>
+ <h2 class="editable clickable">{{detailsData.name}}</h2>
+ <div class="top-content">
+ <div class="top-tables">
+ <div class="left">
+ <table>
+ <tbody>
+ <tr>
+ <td class="label" width="110">Host ID :</td>
+ <td class="value" width="80">{{detailsData.id}}</td>
+ </tr>
+ <tr>
+ <td class="label" width="110">IP Address :</td>
+ <td class="value" width="80">{{detailsData.ips}}</td>
+ </tr>
+ <tr>
+ <td class="label" width="110">MAC Address :</td>
+ <td class="value" width="80">{{detailsData.mac}}</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ <div class="right">
+ <table>
+ <tbody>
+ <tr>
+ <td class="label" width="110">VLAN :</td>
+ <td class="value" width="80">{{detailsData.vlan}}</td>
+ </tr>
+ <tr>
+ <td class="label" width="110">Configured :</td>
+ <td class="value" width="80">{{detailsData.configured}}</td>
+ </tr>
+ <tr>
+ <td class="label" width="110">Location :</td>
+ <td class="value" width="80">{{detailsData.location}}</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+ </div>
+ <hr>
+ <div class="bottom"></div>
+
+ </div>
+</div>
\ No newline at end of file