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 <cd-table-actions class="btn-group mb-4 me-2"
21 [permission]="permission"
22 [selection]="selection"
23 [tableActions]="multisiteReplicationActions">
25 <cd-table-actions *ngIf="showMigrateAndReplicationActions"
26 class="btn-group mb-4 me-2 secondary"
27 [permission]="permission"
29 [selection]="selection"
30 [tableActions]="migrateTableAction">
32 <cd-table-actions *ngIf="!showMigrateAndReplicationActions"
33 class="btn-group mb-4 me-2"
34 [permission]="permission"
35 [selection]="selection"
36 [tableActions]="createTableActions"
37 [primaryDropDown]="true">
39 <cd-table-actions class="btn-group mb-4 me-2"
40 [permission]="permission"
42 [selection]="selection"
43 [tableActions]="importAction">
45 <cd-table-actions class="btn-group mb-4 me-2"
46 [permission]="permission"
48 [selection]="selection"
49 [tableActions]="exportAction">
53 <div class="card-header"
57 <div class="col-sm-6 col-lg-6 tree-container">
58 <i *ngIf="loadingIndicator"
59 [ngClass]="[icons.large, icons.spinner, icons.spin]"></i>
62 [options]="treeOptions"
63 (updateData)="onUpdateData()">
64 <ng-template #treeNodeTemplate
66 <span *ngIf="node.data.name"
68 <span *ngIf="(node.data.show_warning)">
69 <i class="text-danger"
71 [title]="node.data.warning_message"
72 [ngClass]="icons.danger"></i>
74 <i [ngClass]="node.data.icon"></i>
77 <span class="badge badge-success me-2"
78 *ngIf="node.data.is_default">
81 <span class="badge badge-warning me-2"
82 *ngIf="node.data.is_master"> master </span>
83 <span class="badge badge-warning me-2"
84 *ngIf="node.data.secondary_zone">
87 <div class="btn-group align-inline-btns"
88 *ngIf="node.isFocused"
90 <div [title]="editTitle"
93 class="btn btn-light dropdown-toggle-split ms-1"
94 (click)="openModal(node, true)"
95 [disabled]="getDisable() || node.data.secondary_zone">
96 <i [ngClass]="[icons.edit]"></i>
99 <div [title]="deleteTitle"
101 <button type="button"
102 class="btn btn-light ms-1"
103 [disabled]="isDeleteDisabled(node) || node.data.secondary_zone"
104 (click)="delete(node)">
105 <i [ngClass]="[icons.destroy]"></i>
112 <div class="col-sm-6 col-lg-6 metadata"
114 <legend>{{ metadataTitle }}</legend>
116 <cd-table-key-value [data]="metadata">
117 </cd-table-key-value>
123 <router-outlet name="modal"></router-outlet>