]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.html
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / block / iscsi-target-list / iscsi-target-list.component.html
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 [hasDetails]="true"
27 (setExpandedRow)="setExpandedRow($event)"
28 (updateSelection)="updateSelection($event)">
29 <div class="table-actions btn-toolbar">
30 <cd-table-actions class="btn-group"
31 [permission]="permission"
32 [selection]="selection"
33 [tableActions]="tableActions">
34 </cd-table-actions>
35
36 <button class="btn btn-light"
37 type="button"
38 (click)="configureDiscoveryAuth()">
39 <i [ngClass]="[icons.key]"
40 aria-hidden="true">
41 </i>
42 <ng-container i18n>Discovery authentication</ng-container>
43 </button>
44 </div>
45
46 <cd-iscsi-target-details cdTableDetail
47 *ngIf="expandedRow"
48 [cephIscsiConfigVersion]="cephIscsiConfigVersion"
49 [selection]="expandedRow"
50 [settings]="settings"></cd-iscsi-target-details>
51 </cd-table>