summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-03-01 11:37:50 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-03-01 11:37:50 +0100
commit33b92834463e73d97376c8f159ed357f953d5642 (patch)
tree8d432281c2e3fddb7559febc2197fa79e61d48f0 /sonar-server
parent5eec0522412016db9ee307a6c7fe7db859e8a6d2 (diff)
downloadsonarqube-33b92834463e73d97376c8f159ed357f953d5642.tar.gz
sonarqube-33b92834463e73d97376c8f159ed357f953d5642.zip
Rollback change on widget CSS classname
-> CSS class of widgets is the widget id, for example <div class="coverage"> if the widget id is "coverage"
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_configure_widget.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb2
-rw-r--r--sonar-server/src/main/webapp/stylesheets/style.css11
3 files changed, 2 insertions, 13 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_configure_widget.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_configure_widget.html.erb
index 78196d47796..242508a802e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_configure_widget.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_configure_widget.html.erb
@@ -26,7 +26,7 @@
</div>
-<div id="widget_<%= widget.id -%>" class="configure_widget widget-<%= widget.java_definition.getId() -%>" style="height:100%;<%= 'display:none;' if !widget.configured -%>">
+<div id="widget_<%= widget.id -%>" class="configure_widget <%= h widget.java_definition.getId() -%>" style="height:100%;<%= 'display:none;' if !widget.configured -%>">
<!--[if lte IE 6]>
<style type="text/css">
#dashboard .block .content .transparent {
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb
index 56952215ae1..a2beaac861c 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb
@@ -1,4 +1,4 @@
-<div class="widget-<%= widget.key -%>" style="height:100%;">
+<div class="<%= h widget.key -%>" style="height:100%;">
<% if widget.configured %>
<%
begin
diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css
index 73574aaf5ea..0d9411a9198 100644
--- a/sonar-server/src/main/webapp/stylesheets/style.css
+++ b/sonar-server/src/main/webapp/stylesheets/style.css
@@ -2151,17 +2151,6 @@ table.matrix tbody td.title {
padding: 5px 0 0 5px;
}
-div.widget-matrix {
- overflow: auto;
- font-size: 12px;
- padding: 1px;
-}
-
-div.widget-matrix th {
- text-align: right;
- font-weight: normal;
-}
-
a.nolink, .dashbox a, .dashbox a:visited {
text-decoration: none;
}