diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-28 10:23:58 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-28 10:23:58 +0000 |
commit | 5078541b8e1e33d790fe63c2faa37de70f18e376 (patch) | |
tree | 01f0099a7c8064ba014438c3dcdecc733f4a3f7a /plugins/sonar-design-plugin | |
parent | 7a8fe553fe231961e9095348042a296dbbc6679e (diff) | |
download | sonarqube-5078541b8e1e33d790fe63c2faa37de70f18e376.tar.gz sonarqube-5078541b8e1e33d790fe63c2faa37de70f18e376.zip |
SONAR-1643 move core widgets from sonar-server to sonar-core-plugin + improve UI
Diffstat (limited to 'plugins/sonar-design-plugin')
6 files changed, 9 insertions, 3 deletions
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java index d05806e1a34..b2b145d1785 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/ChidamberKemererWidget.java @@ -30,7 +30,7 @@ public final class ChidamberKemererWidget extends AbstractRubyTemplate implement } public String getTitle() { - return "2_Chidamber & Kemerer"; + return "Chidamber & Kemerer"; } @Override diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java index fc946c5c19b..bd6bda2aaee 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/FileDesignWidget.java @@ -30,7 +30,7 @@ public final class FileDesignWidget extends AbstractRubyTemplate implements Ruby } public String getTitle() { - return "1_File design"; + return "File design"; } @Override diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java index 807cb5b5329..7c54c87ba55 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/widgets/PackageDesignWidget.java @@ -30,7 +30,7 @@ public final class PackageDesignWidget extends AbstractRubyTemplate implements R } public String getTitle() { - return "1_Package design"; + return "Package design"; } @Override diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/chidamber_kemerer.html.erb b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/chidamber_kemerer.html.erb index 2f772d05ce7..936a6f7efec 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/chidamber_kemerer.html.erb +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/chidamber_kemerer.html.erb @@ -6,6 +6,7 @@ if lcom || rfc rfc_distribution=measure('rfc_distribution') suspect_lcom4_density=measure('suspect_lcom4_density') %> +<div class="widget"> <table width="100%"> <tbody> <tr> @@ -47,4 +48,5 @@ if lcom || rfc </tr> </tbody> </table> +</div> <% end %> diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/file_design.html.erb b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/file_design.html.erb index 70041753975..6f53a2478d5 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/file_design.html.erb +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/file_design.html.erb @@ -4,6 +4,7 @@ file_cycles=measure('file_cycles') file_feedback_edges=measure('file_feedback_edges') %> +<div class="widget"> <table width="100%"> <tbody> <tr> @@ -27,6 +28,7 @@ </tr> </tbody> </table> +</div> <% end %>
\ No newline at end of file diff --git a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/package_design.html.erb b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/package_design.html.erb index 59136259ee1..c4903328ace 100644 --- a/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/package_design.html.erb +++ b/plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/widgets/package_design.html.erb @@ -2,6 +2,7 @@ package_tangle_index=measure('package_tangle_index') if package_tangle_index %> +<div class="widget"> <table width="100%"> <tbody> <tr> @@ -33,6 +34,7 @@ </tr> </tbody> </table> +</div> <% end %>
\ No newline at end of file |