]> 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
d/control: depend on python3-yaml for ceph-mgr
[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>
11fdf7f2
TL
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>
9f95a23c 16</cd-alert-panel>
11fdf7f2
TL
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"
9f95a23c 29 [permission]="permission"
11fdf7f2
TL
30 [selection]="selection"
31 [tableActions]="tableActions">
32 </cd-table-actions>
33
9f95a23c 34 <button class="btn btn-light"
11fdf7f2
TL
35 type="button"
36 (click)="configureDiscoveryAuth()">
9f95a23c 37 <i [ngClass]="[icons.key]"
11fdf7f2
TL
38 aria-hidden="true">
39 </i>
81eedcae 40 <ng-container i18n>Discovery authentication</ng-container>
11fdf7f2
TL
41 </button>
42 </div>
43
44 <cd-iscsi-target-details cdTableDetail
45 *ngIf="selection.hasSingleSelection"
eafe8130 46 [cephIscsiConfigVersion]="cephIscsiConfigVersion"
11fdf7f2
TL
47 [selection]="selection"
48 [settings]="settings"></cd-iscsi-target-details>
49</cd-table>