]> 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
bump version to 18.2.2-pve1
[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 25 [hasDetails]="true"
522d829b
TL
26 [autoReload]="false"
27 [status]="tableStatus"
28 (fetchData)="getTargets()"
e306af50 29 (setExpandedRow)="setExpandedRow($event)"
11fdf7f2
TL
30 (updateSelection)="updateSelection($event)">
31 <div class="table-actions btn-toolbar">
32 <cd-table-actions class="btn-group"
9f95a23c 33 [permission]="permission"
11fdf7f2
TL
34 [selection]="selection"
35 [tableActions]="tableActions">
36 </cd-table-actions>
37
9f95a23c 38 <button class="btn btn-light"
11fdf7f2
TL
39 type="button"
40 (click)="configureDiscoveryAuth()">
9f95a23c 41 <i [ngClass]="[icons.key]"
11fdf7f2
TL
42 aria-hidden="true">
43 </i>
81eedcae 44 <ng-container i18n>Discovery authentication</ng-container>
11fdf7f2
TL
45 </button>
46 </div>
47
48 <cd-iscsi-target-details cdTableDetail
e306af50 49 *ngIf="expandedRow"
eafe8130 50 [cephIscsiConfigVersion]="cephIscsiConfigVersion"
e306af50 51 [selection]="expandedRow"
11fdf7f2
TL
52 [settings]="settings"></cd-iscsi-target-details>
53</cd-table>