Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [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 | |
| 17 | <div id="ov-alarm-table-item-details-panel" class="floatpanel" [@alarmDetailsState]="id!=='' && !closed"> |
| 18 | <div class="container"> |
| 19 | <div class="top"> |
| 20 | <div class="close-btn"> |
| 21 | <onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon> |
| 22 | </div> |
| 23 | <h2 class="editable clickable">{{detailsData.id}}</h2> |
| 24 | <div class="top-content"> |
| 25 | <div class="top-tables"> |
| 26 | <div class="left"> |
| 27 | <table> |
| 28 | <tbody> |
| 29 | <tr> |
| 30 | <td class="label" width="110">Description:</td> |
| 31 | <td class="value" width="80">{{detailsData.alarmDesc}}</td> |
| 32 | </tr> |
| 33 | <tr> |
| 34 | <td class="label" width="110">Device ID :</td> |
| 35 | <td class="value" width="80">{{detailsData.alarmDeviceId}}</td> |
| 36 | </tr> |
| 37 | <tr> |
| 38 | <td class="label" width="110">Alarm source :</td> |
| 39 | <td class="value" width="80">{{detailsData.alarmSource}}</td> |
| 40 | </tr> |
| 41 | <tr> |
| 42 | <td class="label" width="110">Time raised :</td> |
| 43 | <td class="value" width="80">{{detailsData.alarmTimeRaised}}</td> |
| 44 | </tr> |
| 45 | <tr> |
| 46 | <td class="label" width="110">Time updated :</td> |
| 47 | <td class="value" width="80">{{detailsData.alarmTimeUpdated}}</td> |
| 48 | </tr> |
| 49 | <tr> |
| 50 | <td class="label" width="110">Cleared :</td> |
| 51 | <td class="value" width="80">{{detailsData.alarmCleared}}</td> |
| 52 | </tr> |
| 53 | <tr> |
| 54 | <td class="label" width="110">Time cleared :</td> |
| 55 | <td class="value" width="80">{{detailsData.alarmTimeCleared}}</td> |
| 56 | </tr> |
| 57 | <tr> |
| 58 | <td class="label" width="110">Severity :</td> |
Sean Condon | 7c51a01 | 2019-12-04 12:47:05 +0000 | [diff] [blame] | 59 | <td width="80" [ngClass]="[detailsData.alarmSeverity ? detailsData.alarmSeverity:'', 'severity', 'value']">{{detailsData.alarmSeverity}}</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 60 | </tr> |
| 61 | <hr> |
| 62 | <tr> |
| 63 | <td class="label" width="110">Service affecting :</td> |
| 64 | <td class="value" width="80">{{detailsData.alarmServiceAffecting}}</td> |
| 65 | </tr> |
| 66 | <tr> |
| 67 | <td class="label" width="110">Acknowledged :</td> |
| 68 | <td class="value" width="80">{{detailsData.alarmAcknowledged}}</td> |
| 69 | </tr> |
| 70 | <tr> |
| 71 | <td class="label" width="110">Assigned User :</td> |
| 72 | <td class="value" width="80">{{detailsData.alarmAssignedUser}}</td> |
| 73 | </tr> |
| 74 | </tbody> |
| 75 | </table> |
| 76 | </div> |
| 77 | </div> |
| 78 | </div> |
| 79 | <hr> |
| 80 | </div> |
| 81 | </div> |
| 82 | </div> |