diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-07-11 12:08:23 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-07-11 12:08:35 +0200 |
commit | aef3934e4a886cae37f83636c4d6e5304db395e8 (patch) | |
tree | f99b4a5b7324bc89ace8ef2c43ce616f3beb865b /plugins | |
parent | d124e6d51a410e9debc2c9d05a61f671d2928685 (diff) | |
download | sonarqube-aef3934e4a886cae37f83636c4d6e5304db395e8.tar.gz sonarqube-aef3934e4a886cae37f83636c4d6e5304db395e8.zip |
SONAR-5450 Update css rating
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb index 77db77beb22..d17b3d12519 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/debt_overview.erb @@ -3,32 +3,6 @@ sqale_debt_ratio = @snapshot.measure('sqale_debt_ratio') if sqale_rating && sqale_rating.text_value && sqale_debt_ratio %> - <style> - .debt_overview .rating { - padding: 2px 5px; - color: #fff; - } - - .debt_overview .A { - background-color: #00AA00; - } - - .debt_overview .B { - background-color: #80CC00; - } - - .debt_overview .C { - background-color: #FFEE00; - } - - .debt_overview .D { - background-color: #F77700; - } - - .debt_overview .E { - background-color: #EE0000; - } - </style> <% if sqale_rating && sqale_rating.text_value %> <div class="widget-row"> <div class="widget-span widget-span-6"> @@ -37,7 +11,7 @@ <span class="widget-label"><%= message('metric.sqale_rating.name') -%></span> <span class="nowrap"> <a href="<%= url_for_drilldown('sqale_rating') -%>" class="widget-link"> - <span class="rating <%= sqale_rating.text_value -%>"><%= sqale_rating.text_value -%></span> + <span class="rating rating-<%= sqale_rating.text_value -%>"><%= sqale_rating.text_value -%></span> </a> <% unless dashboard_configuration.selected_period? %> <%= trend_icon(sqale_rating) -%> |