]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.html
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / rgw / rgw-user-swift-key-modal / rgw-user-swift-key-modal.component.html
index 5e74d7e3547a774dae8ed4cfe6821922ed1cf8f0..200a6c544a6fbb4ba4401a41da1ccb75ccd9fc3a 100644 (file)
@@ -1,4 +1,4 @@
-<cd-modal [modalRef]="bsModalRef">
+<cd-modal [modalRef]="activeModal">
   <ng-container i18n="form title|Example: Create Pool@@formTitle"
                 class="modal-title">{{ action | titlecase }} {{ resource | upperFirst }}
   </ng-container>
@@ -11,7 +11,7 @@
           <label class="cd-col-form-label"
                  for="user"
                  i18n>Username</label>
-          <div class="cd-col-form-inpu">
+          <div class="cd-col-form-input">
             <input id="user"
                    name="user"
                    class="form-control"
@@ -26,7 +26,7 @@
           <label class="cd-col-form-label"
                  for="secret_key"
                  i18n>Secret key</label>
-          <div class="cd-col-form-inpu">
+          <div class="cd-col-form-input">
             <div class="input-group">
               <input id="secret_key"
                      name="secret_key"
                         class="btn btn-light"
                         cdPasswordButton="secret_key">
                 </button>
-                <button type="button"
-                        class="btn btn-light"
-                        cdCopy2ClipboardButton="secret_key">
-                </button>
+                <cd-copy-2-clipboard-button source="secret_key">
+                </cd-copy-2-clipboard-button>
               </span>
             </div>
           </div>
@@ -51,7 +49,7 @@
     </div>
 
     <div class="modal-footer">
-      <cd-back-button [back]="bsModalRef.hide"></cd-back-button>
+      <cd-back-button (backAction)="activeModal.close()"></cd-back-button>
     </div>
   </ng-container>
 </cd-modal>