From: Stas Vilchik Date: Fri, 27 Mar 2015 16:54:19 +0000 (+0100) Subject: SONAR-6340 highlight cancelled reports X-Git-Tag: 5.1~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=357dd13c31860c1e73f6246b538db3448c8e2a91;p=sonarqube.git SONAR-6340 highlight cancelled reports --- diff --git a/server/sonar-web/src/main/coffee/analysis-reports/views/report-view.coffee b/server/sonar-web/src/main/coffee/analysis-reports/views/report-view.coffee index 30904fc830f..792f2cd77e1 100644 --- a/server/sonar-web/src/main/coffee/analysis-reports/views/report-view.coffee +++ b/server/sonar-web/src/main/coffee/analysis-reports/views/report-view.coffee @@ -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' diff --git a/server/sonar-web/src/main/less/pages/analysis-reports.less b/server/sonar-web/src/main/less/pages/analysis-reports.less index 91258e3d90f..0721d9b2ab7 100644 --- a/server/sonar-web/src/main/less/pages/analysis-reports.less +++ b/server/sonar-web/src/main/less/pages/analysis-reports.less @@ -26,6 +26,7 @@ @pendingColor: #fdfce2; @workingColor: #ecf9fc; @doneColor: #ecfced; +@cancelledColor: #fcecec; @failedColor: #fcecec; @@ -58,6 +59,10 @@ background-color: @doneColor !important; } +.analysis-reports-report-cancelled { + background-color: @cancelledColor !important; +} + .analysis-reports-report-failed { background-color: @failedColor !important;