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