]>
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 <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> | |
16 | </cd-alert-panel> | |
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" | |
26 | (updateSelection)="updateSelection($event)"> | |
27 | <div class="table-actions btn-toolbar"> | |
28 | <cd-table-actions class="btn-group" | |
29 | [permission]="permission" | |
30 | [selection]="selection" | |
31 | [tableActions]="tableActions"> | |
32 | </cd-table-actions> | |
33 | ||
34 | <button class="btn btn-light" | |
35 | type="button" | |
36 | (click)="configureDiscoveryAuth()"> | |
37 | <i [ngClass]="[icons.key]" | |
38 | aria-hidden="true"> | |
39 | </i> | |
40 | <ng-container i18n>Discovery authentication</ng-container> | |
41 | </button> | |
42 | </div> | |
43 | ||
44 | <cd-iscsi-target-details cdTableDetail | |
45 | *ngIf="selection.hasSingleSelection" | |
46 | [cephIscsiConfigVersion]="cephIscsiConfigVersion" | |
47 | [selection]="selection" | |
48 | [settings]="settings"></cd-iscsi-target-details> | |
49 | </cd-table> |