Browse Source

AMBARI-17022. VDF: install wizard 'Select Version' UI issues.(xiwang)

Xi Wang 9 years ago
parent
commit
4d0fca3a79

+ 1 - 1
ambari-web/app/models/stack.js

@@ -70,7 +70,7 @@ App.Stack = DS.Model.extend({
   restoreReposBaseUrls: function () {
     this.get('operatingSystems').forEach(function (os) {
       os.get('repositories').forEach(function (repo) {
-        repo.set('baseUrl', repo.get('latestBaseUrl'));
+        repo.set('baseUrl', repo.get('baseUrlInit'));
       });
     });
   }

+ 9 - 0
ambari-web/app/styles/application.less

@@ -6234,6 +6234,12 @@ input[type="radio"].align-checkbox, input[type="checkbox"].align-checkbox {
     cursor: not-allowed;
   }
 }
+#select-stack {
+  .tabs-left {
+    height: 271px;
+    margin-bottom: 5px;
+  }
+}
 
 .public-disabled-message {
   padding: 5px;
@@ -6358,6 +6364,9 @@ input[type="radio"].align-checkbox, input[type="checkbox"].align-checkbox {
       button.disabled {
         cursor: not-allowed;
       }
+      .dropdown-menu a {
+        cursor: pointer;
+      }
     }
     #skip-validation {
       margin-top: 13px;

+ 4 - 0
ambari-web/app/styles/common.less

@@ -436,6 +436,10 @@
 .tabs-right>li {
   margin-left: -1px;
 }
+.tabs-left>li>a:hover,
+.tabs-left>li>a:focus {
+  border-bottom-color: transparent;
+}
 .tabs-left>li.active>a,
 .tabs-left>li.active>a:hover,
 .tabs-left>li.active>a:focus {