From 3ec1456685ba118d8e7b1a944179190db3005a48 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Thu, 30 Sep 2010 13:51:24 +0000 Subject: [PATCH] improve the display of rules in profile console --- .../app/views/rules_configuration/_rule.html.erb | 16 ++++++++-------- .../rules_configuration/_rule_param.html.erb | 3 +-- .../src/main/webapp/stylesheets/style.css | 7 ++----- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb index c82f83d7dc9..b958ef981b9 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule.html.erb @@ -28,8 +28,7 @@
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb index 0853d57e03b..9428a80b60a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/_rule_param.html.erb @@ -10,8 +10,7 @@ %> - <%= image_tag 'bullet.png' %> - <%= parameter.name %> + <%= parameter.name %>:   <%= form_remote_tag :url => {:action => 'update_param', :id => active_param_id, :profile_id => profile.id, :param_id => parameter.id, :active_rule_id => active_rule_id}, diff --git a/sonar-server/src/main/webapp/stylesheets/style.css b/sonar-server/src/main/webapp/stylesheets/style.css index 93369b546f6..13e41bd95df 100644 --- a/sonar-server/src/main/webapp/stylesheets/style.css +++ b/sonar-server/src/main/webapp/stylesheets/style.css @@ -1237,7 +1237,7 @@ ul.bullet li { .rule_desc { color: #444; - padding: 2px 0 15px 0; + padding: 2px 0; } .rule_desc li { @@ -1438,10 +1438,7 @@ table.data2 > thead > tr > th, table.data2 > tbody > tr > td { border-bottom: 1px solid #DDD; padding: 3px 5px; height: 20px; - vertical-align: middle; -} -table.data2 > tbody > tr > td { - vertical-align: middle; + vertical-align: top; } table.data2 > thead > tr > th { font-weight: bold; -- 2.39.5