]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Add button to copy the bootstrap token into the clipboard 35796/head
authorIshan Rai <ishanrai05@gmail.com>
Thu, 21 May 2020 06:56:08 +0000 (12:26 +0530)
committerLaura Paduano <lpaduano@suse.com>
Fri, 26 Jun 2020 11:36:49 +0000 (13:36 +0200)
Fixes issue: https://tracker.ceph.com/issues/44681

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
(cherry picked from commit a041326454454d63b934c4384b301eecdcafca79)

src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.html [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index db5f824..94681c6
                     readonly>
           </textarea>
         </div>
+        <button class="btn btn-primary mb-3 float-right"
+                aria-label="Copy to Clipboard"
+                i18n-aria-label
+                title="Copy to Clipboard"
+                i18n-title
+                cdCopy2ClipboardButton="token">
+          <ng-container i18n>Copy to Clipboard</ng-container>
+        </button>
       </div>
 
       <div class="modal-footer">