Prechádzať zdrojové kódy

AMBARI-5179. Mirroring: each status should have appropriate status indicator. Additional fix. (akovalenko)

Aleksandr Kovalenko 11 rokov pred
rodič
commit
6c24c657de

+ 25 - 24
ambari-web/app/styles/application.less

@@ -4269,31 +4269,32 @@ ul.filter {
       padding: 0 15px 0 0;
     }
   }
-  .icon-play {
-    color: green;
-  }
-  .icon-ok {
-    color: green;
-  }
-  .icon-time {
-    color: orange;
-  }
-  .icon-exclamation-sign {
-    color: red;
-  }
-  .icon-remove {
-    color: red;
-  }
-  .icon-warning-sign {
-    color: red;
-  }
-  .icon-cog {
-    color: orange;
-  }
-  .icon-question-sign {
-    color: orange;
+  .dataset-instances {
+    .icon-play {
+      color: green;
+    }
+    .icon-ok {
+      color: green;
+    }
+    .icon-time {
+      color: orange;
+    }
+    .icon-exclamation-sign {
+      color: red;
+    }
+    .icon-remove {
+      color: red;
+    }
+    .icon-warning-sign {
+      color: red;
+    }
+    .icon-cog {
+      color: orange;
+    }
+    .icon-question-sign {
+      color: orange;
+    }
   }
-
 }
 
 .mirroring-manage-clusters {

+ 1 - 1
ambari-web/app/templates/main/mirroring/jobs.hbs

@@ -75,7 +75,7 @@
   <div class="bottom-right">{{t common.download}}: <a href="javascript:void(null);" {{action downloadEntity target="controller"}}>{{t mirroring.dataset.entity}}.xml</a></div>
 </div>
 {{/if}}
-<div>
+<div class="dataset-instances">
   <table class="table table-bordered table-striped">
     <thead>
     <tr>