Browse Source

AMBARI-4884 UI cleanup and icon. (ababiichuk)

aBabiichuk 11 years ago
parent
commit
cfe3c6a6e2

+ 1 - 1
ambari-web/app/data/service_configs.js

@@ -258,7 +258,7 @@ module.exports = [
   },
   {
     serviceName: 'TEZ',
-    displayName: 'TEZ',
+    displayName: 'Tez',
     filename: 'tez-site',
     configCategories: [
       App.ServiceConfigCategory.create({ name: 'General', displayName : 'General'}),

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

@@ -835,6 +835,9 @@ h1 {
       max-width:250px;
     }
   }
+  .dropdown-menu > li > a:hover {
+    text-shadow: none;
+  }
 }
 
 .running-host-components-table{
@@ -2293,6 +2296,7 @@ width:100%;
   text-align: right;
   margin-bottom: 5px;
   margin-top: -55px;
+  margin-left: 10px;
   ul.dropdown-menu {
     li {
       text-align: left;

+ 1 - 1
ambari-web/app/views/main/host/details.js

@@ -35,7 +35,7 @@ App.MainHostDetailsView = Em.View.extend({
     return [
       {action: 'startAllComponents', liClass: (this.get('controller.content.isNotHeartBeating')?'disabled':'enabled'), cssClass: 'icon-play', 'label': this.t('hosts.host.details.startAllComponents')},
       {action: 'stopAllComponents', liClass: (this.get('controller.content.isNotHeartBeating')?'disabled':'enabled'), cssClass: 'icon-stop', 'label': this.t('hosts.host.details.stopAllComponents')},
-      {action: 'restartAllComponents', liClass: (this.get('controller.content.isNotHeartBeating')?'disabled':'enabled'), cssClass: 'icon-forward', 'label': this.t('hosts.host.details.restartAllComponents')},
+      {action: 'restartAllComponents', liClass: (this.get('controller.content.isNotHeartBeating')?'disabled':'enabled'), cssClass: 'icon-repeat', 'label': this.t('hosts.host.details.restartAllComponents')},
       {action: 'deleteHost', liClass:'', cssClass: 'icon-remove', 'label': this.t('hosts.host.details.deleteHost')},
       {action: 'onOffPassiveModeForHost', liClass:'', cssClass: 'icon-medkit', active:this.get('isActive'), 'label': this.t('passiveState.turn' + onOff)}];
   }.property('controller.content','isActive', 'controller.content.isNotHeartBeating'),

+ 1 - 1
ambari-web/app/views/main/service/item.js

@@ -37,7 +37,7 @@ App.MainServiceItemView = Em.View.extend({
       options.push({action: 'refreshConfigs', cssClass: 'icon-refresh', 'label': Em.I18n.t('hosts.host.details.refreshConfigs'), disabled: disableRefreshConfgis});
     } else {
       // Restart All action
-      options.push({action:'restartAllHostComponents', cssClass: 'icon-forward', context: serviceName, 'label': Em.I18n.t('restart.service.all'), disabled: false});
+      options.push({action:'restartAllHostComponents', cssClass: 'icon-repeat', context: serviceName, 'label': Em.I18n.t('restart.service.all'), disabled: false});
       // Rolling Restart action
       var rrComponentName = batchUtils.getRollingRestartComponentName(serviceName);
       if (rrComponentName) {