diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-05 17:40:59 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-05 17:40:59 +0000 |
commit | 4dd938c67ce1682bf5dfd613956ba4b15c740986 (patch) | |
tree | 3157801d120e732fbfdb6ddd59af0915246ed870 /plugins/sonar-design-plugin | |
parent | 7b76b83b4c2cc1e5621281185e35e7d75a9ac9f1 (diff) | |
download | sonarqube-4dd938c67ce1682bf5dfd613956ba4b15c740986.tar.gz sonarqube-4dd938c67ce1682bf5dfd613956ba4b15c740986.zip |
fix layout of core widgets
Diffstat (limited to 'plugins/sonar-design-plugin')
4 files changed, 6 insertions, 6 deletions
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 c4009c9dd7b..06643cad191 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 @@ -26,7 +26,7 @@ import org.sonar.api.web.*; @Description("Reports on files dependency cycles and tangle index.") public final class FileDesignWidget extends AbstractRubyTemplate implements RubyRailsWidget { public String getId() { - return "file-design"; + return "file_design"; } public String getTitle() { 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 be27d6a7130..6c9ba0d1346 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 @@ -26,7 +26,7 @@ import org.sonar.api.web.*; @Description("Reports on package dependency cycles and tangle index.") public final class PackageDesignWidget extends AbstractRubyTemplate implements RubyRailsWidget { public String getId() { - return "package-design"; + return "package_design"; } public String getTitle() { 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..e91e9857a9f 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 @@ -7,7 +7,7 @@ <table width="100%"> <tbody> <tr> - <td valign="top"> + <td valign="top" width="50%"> <div class="dashbox"> <p class="title">File tangle index</p> <p><span class="big"><%= format_measure(file_tangle_index, :suffix => '', :default => '-', :url => url_for_drilldown('file_tangle_index')) %> <%= tendency_icon(file_tangle_index, false) %></span></p> @@ -16,7 +16,7 @@ <% end %> </div> </td> - <td valign="top"> + <td valign="top" width="50%"> <% if file_feedback_edges %> <div class="dashbox"> <p class="title">Suspect file dependencies</p> 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..3904ba97bef 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 @@ -11,7 +11,7 @@ package_feedback_edges=measure('package_feedback_edges') package_tangles=measure('package_tangles') %> - <td valign="top"> + <td valign="top" width="50%"> <div class="dashbox"> <p class="title">Package tangle index</p> <p><span class="big"><%= format_measure(package_tangle_index, :suffix => '', :default => '-', :url => url_for_drilldown('package_tangle_index')) %> <%= tendency_icon(package_tangle_index, false) %></span></p> @@ -20,7 +20,7 @@ <% end %> </div> </td> - <td valign="top"> + <td valign="top" width="50%"> <% if package_feedback_edges || package_tangles %> <div class="dashbox"> <p class="title">Dependencies to cut</p> |