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> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 30 | <td class="label" width="110">Description</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 31 | <td class="value" width="80">{{detailsData.alarmDesc}}</td> |
| 32 | </tr> |
| 33 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 34 | <td class="label" width="110">Device ID</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 35 | <td class="value" width="80">{{detailsData.alarmDeviceId}}</td> |
| 36 | </tr> |
| 37 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 38 | <td class="label" width="110">Alarm source</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 39 | <td class="value" width="80">{{detailsData.alarmSource}}</td> |
| 40 | </tr> |
| 41 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 42 | <td class="label" width="110">Time raised</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 43 | <td class="value" width="80">{{detailsData.alarmTimeRaised}}</td> |
| 44 | </tr> |
| 45 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 46 | <td class="label" width="110">Time updated</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 47 | <td class="value" width="80">{{detailsData.alarmTimeUpdated}}</td> |
| 48 | </tr> |
| 49 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 50 | <td class="label" width="110">Cleared</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 51 | <td class="value" width="80">{{detailsData.alarmCleared}}</td> |
| 52 | </tr> |
| 53 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 54 | <td class="label" width="110">Time cleared</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 55 | <td class="value" width="80">{{detailsData.alarmTimeCleared}}</td> |
| 56 | </tr> |
| 57 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 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> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 63 | <td class="label" width="110">Service affecting</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 64 | <td class="value" width="80">{{detailsData.alarmServiceAffecting}}</td> |
| 65 | </tr> |
| 66 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 67 | <td class="label" width="110">Acknowledged</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 68 | <td class="value" width="80">{{detailsData.alarmAcknowledged}}</td> |
| 69 | </tr> |
| 70 | <tr> |
Sean Condon | 8a8bc4b | 2020-05-21 16:14:54 +0100 | [diff] [blame] | 71 | <td class="label" width="110">Assigned User</td> |
Sean Condon | 87b7850 | 2018-09-17 20:53:24 +0100 | [diff] [blame] | 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> |