summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html')
-rw-r--r--src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html
new file mode 100644
index 000000000..9cdfab939
--- /dev/null
+++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html
@@ -0,0 +1,66 @@
+<div class="row">
+ <div class="col-md-12">
+ <form name="rbdmirroringForm"
+ #formDir="ngForm"
+ [formGroup]="rbdmirroringForm"
+ novalidate>
+
+ <div class="d-flex flex-row">
+ <label class="col-form-label"
+ for="siteName"
+ i18n>Site Name</label>
+
+ <div class="col-md-4 input-group mb-3 mr-auto">
+ <input type="text"
+ class="form-control"
+ id="siteName"
+ name="siteName"
+ formControlName="siteName"
+ [attr.disabled]="!editing ? true : null">
+ <div class="input-group-append">
+ <button class="btn btn-light"
+ id="editSiteName"
+ (click)="updateSiteName()">
+ <i [ngClass]="icons.edit"
+ *ngIf="!editing"></i>
+ <i [ngClass]="icons.check"
+ *ngIf="editing"></i>
+ </button>
+ <cd-copy-2-clipboard-button [source]="siteName"
+ [byId]="false">
+ </cd-copy-2-clipboard-button>
+ </div>
+ </div>
+ <cd-table-actions class="table-actions"
+ [permission]="permission"
+ [selection]="selection"
+ [tableActions]="tableActions">
+ </cd-table-actions>
+ </div>
+ </form>
+ </div>
+</div>
+
+<div class="row">
+ <div class="col-sm-6">
+ <legend i18n>Daemons</legend>
+
+ <cd-mirroring-daemons>
+ </cd-mirroring-daemons>
+ </div>
+
+ <div class="col-sm-6">
+ <legend i18n>Pools</legend>
+
+ <cd-mirroring-pools>
+ </cd-mirroring-pools>
+ </div>
+</div>
+
+<div class="row">
+ <div class="col-md-12">
+ <legend i18n>Images</legend>
+ <cd-mirroring-images>
+ </cd-mirroring-images>
+ </div>
+</div>