]>
Commit | Line | Data |
---|---|---|
1 | <cd-iscsi-tabs></cd-iscsi-tabs> | |
2 | ||
3 | <cd-alert-panel type="info" | |
4 | *ngIf="available === false" | |
5 | title="iSCSI Targets not available" | |
6 | i18n-title> | |
7 | <ng-container i18n>Please consult the <cd-doc section="iscsi"></cd-doc> on | |
8 | how to configure and enable the iSCSI Targets management functionality.</ng-container> | |
9 | ||
10 | <ng-container *ngIf="status"> | |
11 | <br> | |
12 | <span i18n>Available information:</span> | |
13 | <pre>{{ status }}</pre> | |
14 | </ng-container> | |
15 | </cd-alert-panel> | |
16 | ||
17 | <cd-table #table | |
18 | *ngIf="available === true" | |
19 | [data]="targets" | |
20 | columnMode="flex" | |
21 | [columns]="columns" | |
22 | identifier="target_iqn" | |
23 | forceIdentifier="true" | |
24 | selectionType="single" | |
25 | [hasDetails]="true" | |
26 | (setExpandedRow)="setExpandedRow($event)" | |
27 | (updateSelection)="updateSelection($event)"> | |
28 | <div class="table-actions btn-toolbar"> | |
29 | <cd-table-actions class="btn-group" | |
30 | [permission]="permission" | |
31 | [selection]="selection" | |
32 | [tableActions]="tableActions"> | |
33 | </cd-table-actions> | |
34 | ||
35 | <button class="btn btn-light" | |
36 | type="button" | |
37 | (click)="configureDiscoveryAuth()"> | |
38 | <i [ngClass]="[icons.key]" | |
39 | aria-hidden="true"> | |
40 | </i> | |
41 | <ng-container i18n>Discovery authentication</ng-container> | |
42 | </button> | |
43 | </div> | |
44 | ||
45 | <cd-iscsi-target-details cdTableDetail | |
46 | *ngIf="expandedRow" | |
47 | [cephIscsiConfigVersion]="cephIscsiConfigVersion" | |
48 | [selection]="expandedRow" | |
49 | [settings]="settings"></cd-iscsi-target-details> | |
50 | </cd-table> |