All files / src/app/ceph/cluster/prometheus/alert-list alert-list.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 356x                                                                    
<cd-prometheus-tabs></cd-prometheus-tabs>
 
<cd-table [data]="prometheusAlertService.alerts"
          [columns]="columns"
          identifier="fingerprint"
          [forceIdentifier]="true"
          [customCss]="customCss"
          selectionType="single"
          (updateSelection)="updateSelection($event)">
  <cd-table-actions class="table-actions"
                    [permission]="permission"
                    [selection]="selection"
                    [tableActions]="tableActions">
  </cd-table-actions>
  <tabset cdTableDetail *ngIf="selection.hasSingleSelection">
    <tab i18n-heading
         heading="Details">
      <cd-table-key-value [renderObjects]="true"
                          [hideEmpty]="true"
                          [appendParentKey]="false"
                          [data]="selection.first()"
                          [customCss]="customCss"
                          [autoReload]="false">
      </cd-table-key-value>
    </tab>
  </tabset>
</cd-table>
 
<ng-template #externalLinkTpl
             let-row="row"
             let-value="value">
  <a [href]="value" target="_blank"><i class="fa fa-line-chart"></i> Source</a>
</ng-template>