ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject ambari git commit: AMBARI-9671. Switch the order of property description and error message display in config validation popup (onechiporenko)
Date Tue, 17 Feb 2015 09:47:54 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 4889eba69 -> aa3ea63f0


AMBARI-9671. Switch the order of property description and error message display in config
validation popup (onechiporenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/aa3ea63f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/aa3ea63f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/aa3ea63f

Branch: refs/heads/trunk
Commit: aa3ea63f0aa66ebd9405fa7f13991ff9363016ca
Parents: 4889eba
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Tue Feb 17 11:43:19 2015 +0200
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Tue Feb 17 11:43:19 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/styles/application.less                       | 6 ++++++
 .../templates/common/configs/config_recommendation_popup.hbs | 8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/aa3ea63f/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 11b310b..ad2f0f4 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -5511,6 +5511,12 @@ input[type="checkbox"].align-checkbox {
         border-right:none;
         td {
           min-width: 150px;
+          .property-message {
+            font-weight: bold;
+          }
+          .property-description {
+            font-size: 0.9em;
+          }
         }
       }
     }

http://git-wip-us.apache.org/repos/asf/ambari/blob/aa3ea63f/ambari-web/app/templates/common/configs/config_recommendation_popup.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/common/configs/config_recommendation_popup.hbs b/ambari-web/app/templates/common/configs/config_recommendation_popup.hbs
index 2724793..54fec3a 100644
--- a/ambari-web/app/templates/common/configs/config_recommendation_popup.hbs
+++ b/ambari-web/app/templates/common/configs/config_recommendation_popup.hbs
@@ -36,8 +36,8 @@
               <td>{{property.name}}</td>
               <td>{{property.value}}</td>
               <td>
-                {{property.description}}<br/>
-                <strong>{{property.warnMessage}}</strong>
+                <div class="property-message">{{property.warnMessage}}</div>
+                <div class="property-description">{{property.description}}</div>
               </td>
             </tr>
           {{/if}}
@@ -48,8 +48,8 @@
                 <td>{{property.name}}</td>
                 <td>{{property.value}}</td>
                 <td>
-                  {{property.description}}<br/>
-                  <strong>{{property.errorMessage}}</strong>
+                  <div class="property-message">{{property.errorMessage}}</div>
+                  <div class="property-description">{{property.description}}</div>
                 </td>
               </tr>
             {{/if}}


Mime
View raw message