blob: 2997ff3738f41ac29d193a0fa2e84b528e89f046 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<cd-prometheus-tabs></cd-prometheus-tabs>
<cd-alert-panel *ngIf="!isAlertmanagerConfigured"
type="info"
i18n>To enable Silences, please provide the URL to
the API of the Prometheus' Alertmanager as described in the
<cd-doc section="prometheus"></cd-doc>.</cd-alert-panel>
<cd-table *ngIf="isAlertmanagerConfigured"
[data]="silences"
[columns]="columns"
[forceIdentifier]="true"
[customCss]="customCss"
[sorts]="sorts"
selectionType="single"
[hasDetails]="true"
(setExpandedRow)="setExpandedRow($event)"
(fetchData)="refresh()"
(updateSelection)="updateSelection($event)">
<cd-table-actions class="table-actions"
[permission]="permission"
[selection]="selection"
[tableActions]="tableActions">
</cd-table-actions>
<cd-table-key-value cdTableDetail
*ngIf="expandedRow"
[renderObjects]="true"
[hideEmpty]="true"
[appendParentKey]="false"
[data]="expandedRow"
[customCss]="customCss"
[autoReload]="false">
</cd-table-key-value>
</cd-table>
|