]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/blob
a600eadc5821fa8c34287fcad5cec6761b5cb61f
[ceph.git] /
1 <div cdsGrid
2      [useCssGrid]="true"
3      [narrow]="true"
4      [fullWidth]="true">
5 <div cdsCol
6      [columnNumbers]="{sm: 4, md: 8}">
7   <div class="pb-3 form-item"
8        cdsRow>
9     <cds-combo-box
10         type="single"
11         label="Selected Gateway Group"
12         i18n-label
13         [placeholder]="gwGroupPlaceholder"
14         [items]="gwGroups"
15         (selected)="onGroupSelection($event)"
16         (clear)="onGroupClear()"
17         [disabled]="gwGroupsEmpty">
18       <cds-dropdown-list></cds-dropdown-list>
19     </cds-combo-box>
20   </div>
21 </div>
22 </div>
23
24 <ng-container *ngIf="namespaces$ | async as namespaces">
25   <cd-table [data]="namespaces"
26             columnMode="flex"
27             (fetchData)="fetchData()"
28             [columns]="namespacesColumns"
29             selectionType="single"
30             (updateSelection)="updateSelection($event)"
31             emptyStateTitle="No namespaces created."
32             i18n-emptyStateTitle
33             emptyStateMessage="Namespaces are storage volumes mapped to subsystems for host access. Create a namespace to start provisioning storage within a subsystem."
34             i18n-emptyStateMessage>
35
36     <div class="table-actions">
37       <cd-table-actions [permission]="permission"
38                         [selection]="selection"
39                         class="btn-group"
40                         [tableActions]="tableActions">
41       </cd-table-actions>
42     </div>
43   </cd-table>
44 </ng-container>