]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Add button to copy the bootstrap token into the clipboard 34294/head
authorIshan Rai <ishanrai05@gmail.com>
Thu, 21 May 2020 06:56:08 +0000 (12:26 +0530)
committerIshan Rai <ishanrai05@gmail.com>
Fri, 22 May 2020 15:31:15 +0000 (15:31 +0000)
Fixes issue: https://tracker.ceph.com/issues/44681

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
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 a22d7f6..7c1c62b
                     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">