]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6340 highlight cancelled reports
authorStas Vilchik <vilchiks@gmail.com>
Fri, 27 Mar 2015 16:54:19 +0000 (17:54 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Fri, 27 Mar 2015 16:54:41 +0000 (17:54 +0100)
server/sonar-web/src/main/coffee/analysis-reports/views/report-view.coffee
server/sonar-web/src/main/less/pages/analysis-reports.less

index 30904fc830f97f9e640d69261b7e6fd40e28fdf9..792f2cd77e163cfbe8cab347889611cb30db23f0 100644 (file)
@@ -32,6 +32,7 @@ define [
       @$el.addClass 'analysis-reports-report-pending' if status is 'PENDING'
       @$el.addClass 'analysis-reports-report-working' if status is 'WORKING'
       @$el.addClass 'analysis-reports-report-done' if status is 'SUCCESS'
+      @$el.addClass 'analysis-reports-report-cancelled' if status is 'CANCELLED'
       @$el.addClass 'analysis-reports-report-failed' if status is 'FAIL'
 
 
index 91258e3d90f2608bfed6835323f20f58ceec8f46..0721d9b2ab7d063c5dfc2350e977cfb4641dcd00 100644 (file)
@@ -26,6 +26,7 @@
 @pendingColor: #fdfce2;
 @workingColor: #ecf9fc;
 @doneColor: #ecfced;
+@cancelledColor: #fcecec;
 @failedColor: #fcecec;
 
 
   background-color: @doneColor !important;
 }
 
+.analysis-reports-report-cancelled {
+  background-color: @cancelledColor !important;
+}
+
 .analysis-reports-report-failed {
   background-color: @failedColor !important;