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">
27 <ng-template #migrateAndReplicationActionTpl>
28 <cd-table-actions class="btn-group mb-4 me-2"
29 [permission]="permission"
30 [selection]="selection"
31 [tableActions]="multisiteReplicationActions">
33 <cd-table-actions class="btn-group mb-4 me-2 secondary"
34 [permission]="permission"
36 [selection]="selection"
37 [tableActions]="migrateTableAction">
40 <cd-table-actions class="btn-group mb-4 me-2"
41 [permission]="permission"
43 [selection]="selection"
44 [tableActions]="importAction">
46 <cd-table-actions class="btn-group mb-4 me-2"
47 [permission]="permission"
49 [selection]="selection"
50 [tableActions]="exportAction">
54 <div class="card-header"
58 <div class="col-sm-6 col-lg-6 tree-container">
59 <i *ngIf="loadingIndicator"
60 [ngClass]="[icons.large, icons.spinner, icons.spin]"></i>
63 [options]="treeOptions"
64 (updateData)="onUpdateData()">
65 <ng-template #treeNodeTemplate
67 <span *ngIf="node.data.name"
69 <span *ngIf="(node.data.show_warning)">
70 <i class="text-danger"
72 [title]="node.data.warning_message"
73 [ngClass]="icons.danger"></i>
75 <i [ngClass]="node.data.icon"></i>
78 <span class="badge badge-success me-2"
79 *ngIf="node.data.is_default">
82 <span class="badge badge-warning me-2"
83 *ngIf="node.data.is_master"> master </span>
84 <span class="badge badge-warning me-2"
85 *ngIf="node.data.secondary_zone">
88 <div class="btn-group align-inline-btns"
89 *ngIf="node.isFocused"
91 <div [title]="editTitle"
94 class="btn btn-light dropdown-toggle-split ms-1"
95 (click)="openModal(node, true)"
96 [disabled]="getDisable() || node.data.secondary_zone">
97 <i [ngClass]="[icons.edit]"></i>
100 <div [title]="deleteTitle"
102 <button type="button"
103 class="btn btn-light ms-1"
104 [disabled]="isDeleteDisabled(node) || node.data.secondary_zone"
105 (click)="delete(node)">
106 <i [ngClass]="[icons.destroy]"></i>
113 <div class="col-sm-6 col-lg-6 metadata"
115 <legend>{{ metadataTitle }}</legend>
117 <cd-table-key-value *cdTableDetail
119 </cd-table-key-value>
125 <router-outlet name="modal"></router-outlet>