aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-03-27 17:54:19 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-03-27 17:54:41 +0100
commit357dd13c31860c1e73f6246b538db3448c8e2a91 (patch)
treef09e36de37fbc33f2ff3f9d472c687d9ad67947c /server/sonar-web/src/main
parentacb6b765bdccda53a39d9c2562922f5ad854f1f6 (diff)
downloadsonarqube-357dd13c31860c1e73f6246b538db3448c8e2a91.tar.gz
sonarqube-357dd13c31860c1e73f6246b538db3448c8e2a91.zip
SONAR-6340 highlight cancelled reports
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/coffee/analysis-reports/views/report-view.coffee1
-rw-r--r--server/sonar-web/src/main/less/pages/analysis-reports.less5
2 files changed, 6 insertions, 0 deletions
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;