ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [14/21] ambari git commit: AMBARI-21739 Patch Reversion Dialog Has Some Clipping. (atkach)
Date Thu, 17 Aug 2017 18:59:03 GMT
AMBARI-21739 Patch Reversion Dialog Has Some Clipping. (atkach)


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

Branch: refs/heads/branch-2.6
Commit: 13fadd9df2ae6279c7430b679d38fa1af3ec4127
Parents: e7f413d
Author: Andrii Tkach <atkach@apache.org>
Authored: Thu Aug 17 12:58:48 2017 +0300
Committer: Andrii Tkach <atkach@apache.org>
Committed: Thu Aug 17 12:58:48 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/styles/stack_versions.less       |  8 +++
 .../revert_patch_upgrade_confirmation.hbs       | 56 ++++++++++----------
 2 files changed, 36 insertions(+), 28 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/13fadd9d/ambari-web/app/styles/stack_versions.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/stack_versions.less b/ambari-web/app/styles/stack_versions.less
index 07d6f83..8f52a76 100644
--- a/ambari-web/app/styles/stack_versions.less
+++ b/ambari-web/app/styles/stack_versions.less
@@ -369,6 +369,14 @@
   }
 }
 
+.revert-patch-upgrade-confirmation {
+  table {
+    td, th {
+      padding: 5px 15px;
+    }
+  }
+}
+
 .install-repo-confirmation {
   .available-services-list {
     margin: 10px 0 30px;

http://git-wip-us.apache.org/repos/asf/ambari/blob/13fadd9d/ambari-web/app/templates/common/modal_popups/revert_patch_upgrade_confirmation.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/common/modal_popups/revert_patch_upgrade_confirmation.hbs
b/ambari-web/app/templates/common/modal_popups/revert_patch_upgrade_confirmation.hbs
index b122a8b..4affafa 100644
--- a/ambari-web/app/templates/common/modal_popups/revert_patch_upgrade_confirmation.hbs
+++ b/ambari-web/app/templates/common/modal_popups/revert_patch_upgrade_confirmation.hbs
@@ -17,32 +17,32 @@
 }}
 <p>{{{popupBody}}}</p>
 <div>
-  <div class="row-fluid">
-    <div class="span3 offset3">
-        <strong>{{view.stackToVersion}}</strong>
-    </div>
-    <div class="span3">
-        <strong>{{view.stackFromVersion}}</strong>
-    </div>
-  </div>
-  {{#each service in view.servicesToBeReverted}}
-    <div class="row-fluid service-version-info">
-      <div class="span3">
-          {{service.displayName}}
-      </div>
-      <div class="span2">
-        <span class="label available">
-          {{service.toVersion}}
-        </span>
-      </div>
-      <div class="span1">
-        <i class="icon-arrow-left"></i>
-      </div>
-      <div class="span2">
-        <span class="label available">
-          {{service.fromVersion}}
-        </span>
-      </div>
-    </div>
-  {{/each}}
+  <table>
+    <thead>
+      <tr>
+        <th></th>
+        <th><strong>{{view.stackToVersion}}</strong></th>
+        <th></th>
+        <th><strong>{{view.stackFromVersion}}</strong></th>
+      </tr>
+    </thead>
+    <tbody>
+      {{#each service in view.servicesToBeReverted}}
+        <tr>
+          <td>{{service.displayName}}</td>
+          <td class="service-version-info">
+            <span class="label available">
+              {{service.toVersion}}
+            </span>
+          </td>
+          <td><i class="icon-arrow-left"></i></td>
+          <td class="service-version-info">
+            <span class="label available">
+              {{service.fromVersion}}
+            </span>
+          </td>
+        </tr>
+      {{/each}}
+    </tbody>
+  </table>
 </div>


Mime
View raw message