blob: 15e7ea4ff8a366b781ceef6c6a5247455095006f [file] [log] [blame]
<!--
~ 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="ov-alarm-table-item-details-panel" class="floatpanel" [@alarmDetailsState]="id!=='' && !closed">
<div class="container">
<div class="top">
<div class="close-btn">
<onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon>
</div>
<h2 class="editable clickable">{{detailsData.id}}</h2>
<div class="top-content">
<div class="top-tables">
<div class="left">
<table>
<tbody>
<tr>
<td class="label" width="110">Description:</td>
<td class="value" width="80">{{detailsData.alarmDesc}}</td>
</tr>
<tr>
<td class="label" width="110">Device ID :</td>
<td class="value" width="80">{{detailsData.alarmDeviceId}}</td>
</tr>
<tr>
<td class="label" width="110">Alarm source :</td>
<td class="value" width="80">{{detailsData.alarmSource}}</td>
</tr>
<tr>
<td class="label" width="110">Time raised :</td>
<td class="value" width="80">{{detailsData.alarmTimeRaised}}</td>
</tr>
<tr>
<td class="label" width="110">Time updated :</td>
<td class="value" width="80">{{detailsData.alarmTimeUpdated}}</td>
</tr>
<tr>
<td class="label" width="110">Cleared :</td>
<td class="value" width="80">{{detailsData.alarmCleared}}</td>
</tr>
<tr>
<td class="label" width="110">Time cleared :</td>
<td class="value" width="80">{{detailsData.alarmTimeCleared}}</td>
</tr>
<tr>
<td class="label" width="110">Severity :</td>
<td width="80" [ngClass]="[detailsData.alarmSeverity ? detailsData.alarmSeverity:'', 'severity', 'value']">{{detailsData.alarmSeverity}}</td>
</tr>
<hr>
<tr>
<td class="label" width="110">Service affecting :</td>
<td class="value" width="80">{{detailsData.alarmServiceAffecting}}</td>
</tr>
<tr>
<td class="label" width="110">Acknowledged :</td>
<td class="value" width="80">{{detailsData.alarmAcknowledged}}</td>
</tr>
<tr>
<td class="label" width="110">Assigned User :</td>
<td class="value" width="80">{{detailsData.alarmAssignedUser}}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<hr>
</div>
</div>
</div>