]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.html
import 15.2.5
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / iscsi-target-list / iscsi-target-list.component.html
CommitLineData
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>
f6b5b4d7
TL
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>
11fdf7f2
TL
9
10 <ng-container *ngIf="status">
11 <br>
12 <span i18n>Available information:</span>
13 <pre>{{ status }}</pre>
14 </ng-container>
9f95a23c 15</cd-alert-panel>
11fdf7f2
TL
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"
e306af50
TL
25 [hasDetails]="true"
26 (setExpandedRow)="setExpandedRow($event)"
11fdf7f2
TL
27 (updateSelection)="updateSelection($event)">
28 <div class="table-actions btn-toolbar">
29 <cd-table-actions class="btn-group"
9f95a23c 30 [permission]="permission"
11fdf7f2
TL
31 [selection]="selection"
32 [tableActions]="tableActions">
33 </cd-table-actions>
34
9f95a23c 35 <button class="btn btn-light"
11fdf7f2
TL
36 type="button"
37 (click)="configureDiscoveryAuth()">
9f95a23c 38 <i [ngClass]="[icons.key]"
11fdf7f2
TL
39 aria-hidden="true">
40 </i>
81eedcae 41 <ng-container i18n>Discovery authentication</ng-container>
11fdf7f2
TL
42 </button>
43 </div>
44
45 <cd-iscsi-target-details cdTableDetail
e306af50 46 *ngIf="expandedRow"
eafe8130 47 [cephIscsiConfigVersion]="cephIscsiConfigVersion"
e306af50 48 [selection]="expandedRow"
11fdf7f2
TL
49 [settings]="settings"></cd-iscsi-target-details>
50</cd-table>