]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Address review comments
authorVolker Theile <vtheile@suse.com>
Fri, 27 Apr 2018 11:17:06 +0000 (13:17 +0200)
committerVolker Theile <vtheile@suse.com>
Fri, 27 Apr 2018 13:59:57 +0000 (15:59 +0200)
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.html

index cc14db99f2143852e06818b97130ab5cbf72bd35..1682b433b7f17c6d770a14d890f07048f27e30bc 100644 (file)
       </div>
       <div class="panel-footer">
         <div class="button-group text-right">
-          <cd-submit-button (submitAction)="submit()"
+          <cd-submit-button type="button"
+                            (submitAction)="submit()"
                             [form]="bucketForm"
                             i18n>
             {editing, select, 1 {Update} other {Add}}
index 0a93303d7b01f136529994f177a0ad3bcb859b49..93ba8f4460546c93c1ad35a037852eb61313d37d 100644 (file)
             <span *ngIf="subusers.length === 0"
                   class="form-control no-border">
               <span class="text-muted"
-                    i18n>Empty
+                    i18n>
+                There are no subusers.
               </span>
             </span>
 
             <span *ngIf="s3Keys.length === 0"
                   class="form-control no-border">
               <span class="text-muted"
-                    i18n>Empty
+                    i18n>
+                There are no keys.
               </span>
             </span>
 
             <span *ngIf="swiftKeys.length === 0"
                   class="form-control no-border">
               <span class="text-muted"
-                    i18n>Empty
+                    i18n>
+                There are no keys.
               </span>
             </span>
 
             <span *ngIf="capabilities.length === 0"
                   class="form-control no-border">
               <span class="text-muted"
-                    i18n>Empty
+                    i18n>
+                There are no capabilities.
               </span>
             </span>
 
 
       <div class="panel-footer">
         <div class="button-group text-right">
-          <cd-submit-button (submitAction)="onSubmit()"
+          <cd-submit-button type="button"
+                            (submitAction)="onSubmit()"
                             [form]="userForm"
                             i18n>
             {editing, select, 1 {Update} other {Add}}
index 64b29025eab322bb586c84dfa6310d2eb1e94b42..043a6f87591dbe17fa52b133875f984c40050fe8 100644 (file)
                       [form]="formGroup"
                       i18n>Add
     </cd-submit-button>
-    <button class="btn btn-sm"
+    <button class="btn btn-sm btn-default"
             type="button"
-            [ngClass]="{'btn-primary': viewing, 'btn-default': !viewing}"
             (click)="bsModalRef.hide()"
             i18n>Close
     </button>
index 67253144b771670880931922ef6e08f29256c885..39ea551cf5c063e0b2f3ca1187d32649c23c95cf 100644 (file)
@@ -60,8 +60,9 @@
   </form>
 </div>
 <div class="modal-footer">
-  <button class="btn btn-sm btn-primary"
+  <button class="btn btn-sm btn-default"
           type="button"
           (click)="bsModalRef.hide()"
-          i18n>Close</button>
+          i18n>Close
+  </button>
 </div>