1 <cd-rgw-multisite-tabs></cd-rgw-multisite-tabs>
3 <cd-alert-panel *ngIf="!rgwModuleStatus"
6 class="d-flex align-items-center"
7 i18n>In order to access the import/export feature, the rgw module must be enabled
8 <button class="btn btn-light mx-2"
10 (click)="enableRgwModule()">Enable</button>
12 <cd-alert-panel *ngIf="restartGatewayMessage"
15 i18n>Please restart all Ceph Object Gateway instances in all zones to ensure consistent multisite configuration updates.
16 <a class="text-decoration-underline"
17 routerLink="/services">
20 <span *ngIf="!showMigrateAndReplicationActions; else migrateAndReplicationActionTpl">
21 <cd-table-actions class="btn-group mb-4 me-2"
22 [permission]="permission"
23 [selection]="selection"
24 [tableActions]="createTableActions"
25 [primaryDropDown]="true">
28 <ng-template #migrateAndReplicationActionTpl>
29 <cd-table-actions class="btn-group mb-4 me-2"
30 [permission]="permission"
31 [selection]="selection"
32 [tableActions]="multisiteReplicationActions">
34 <cd-table-actions class="btn-group mb-4 me-2 secondary"
35 [permission]="permission"
37 [selection]="selection"
38 [tableActions]="migrateTableAction">
41 <cd-table-actions class="btn-group mb-4 me-2"
42 [permission]="permission"
44 [selection]="selection"
45 [tableActions]="importAction">
47 <cd-table-actions class="btn-group mb-4 me-2"
48 [permission]="permission"
50 [selection]="selection"
51 [tableActions]="exportAction">
55 <div class="card-header"
59 <div class="col-sm-6 col-lg-6 tree-container">
60 <i *ngIf="loadingIndicator"
61 [ngClass]="[icons.large, icons.spinner, icons.spin]"></i>
64 [options]="treeOptions"
65 (updateData)="onUpdateData()">
66 <ng-template #treeNodeTemplate
68 <span *ngIf="node.data.name"
70 <span *ngIf="(node.data.show_warning)">
71 <i class="text-danger"
73 [title]="node.data.warning_message"
74 [ngClass]="icons.danger"></i>
76 <i [ngClass]="node.data.icon"></i>
79 <span class="badge badge-success me-2"
80 *ngIf="node.data.is_default">
83 <span class="badge badge-warning me-2"
84 *ngIf="node.data.is_master"> master </span>
85 <span class="badge badge-warning me-2"
86 *ngIf="node.data.secondary_zone">
89 <div class="btn-group align-inline-btns"
90 *ngIf="node.isFocused"
92 <div [title]="editTitle"
95 class="btn btn-light dropdown-toggle-split ms-1"
96 (click)="openModal(node, true)"
97 [disabled]="getDisable() || node.data.secondary_zone">
98 <i [ngClass]="[icons.edit]"></i>
101 <div [title]="deleteTitle"
103 <button type="button"
104 class="btn btn-light ms-1"
105 [disabled]="isDeleteDisabled(node) || node.data.secondary_zone"
106 (click)="delete(node)">
107 <i [ngClass]="[icons.destroy]"></i>
114 <div class="col-sm-6 col-lg-6 metadata"
116 <legend>{{ metadataTitle }}</legend>
118 <cd-table-key-value [data]="metadata">
119 </cd-table-key-value>
125 <router-outlet name="modal"></router-outlet>