]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | <cd-iscsi-tabs></cd-iscsi-tabs> |
2 | ||
3 | <cd-info-panel *ngIf="available === false" | |
4 | title="iSCSI Targets not available" | |
5 | i18n-title> | |
6 | <ng-container i18n>Please consult the <a href="{{docsUrl}}" | |
7 | target="_blank">documentation</a> | |
8 | on 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-info-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 | (updateSelection)="updateSelection($event)"> | |
26 | <div class="table-actions btn-toolbar"> | |
27 | <cd-table-actions class="btn-group" | |
28 | [permission]="permissions.iscsi" | |
29 | [selection]="selection" | |
30 | [tableActions]="tableActions"> | |
31 | </cd-table-actions> | |
32 | ||
33 | <button class="btn btn-sm btn-default btn-label" | |
34 | type="button" | |
35 | (click)="configureDiscoveryAuth()"> | |
36 | <i class="fa fa-fw fa-key-modern" | |
37 | aria-hidden="true"> | |
38 | </i> | |
81eedcae | 39 | <ng-container i18n>Discovery authentication</ng-container> |
11fdf7f2 TL |
40 | </button> |
41 | </div> | |
42 | ||
43 | <cd-iscsi-target-details cdTableDetail | |
44 | *ngIf="selection.hasSingleSelection" | |
45 | [selection]="selection" | |
46 | [settings]="settings"></cd-iscsi-target-details> | |
47 | </cd-table> |