Commit 08dc52f4e8a266818eb4acda9c4d194db38b48ee
Committed by
Paulo Meireles
1 parent
79199a5c
Exists in
master
and in
29 other branches
[Mezuro] module results table now has a fixed relative size in _module_result partial
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
plugins/mezuro/views/mezuro_plugin_module/_module_result.rhtml
@@ -2,10 +2,10 @@ | @@ -2,10 +2,10 @@ | ||
2 | 2 | ||
3 | <hr/> | 3 | <hr/> |
4 | <div class="zoomable-image"> | 4 | <div class="zoomable-image"> |
5 | -<table> | 5 | +<table style="width: 116%"> |
6 | <thead> | 6 | <thead> |
7 | <tr> | 7 | <tr> |
8 | - <th>Metric</th> | 8 | + <th style="width: 74%">Metric</th> |
9 | <th>Value</th> | 9 | <th>Value</th> |
10 | <th>Weight</th> | 10 | <th>Weight</th> |
11 | <th>Threshold</th> | 11 | <th>Threshold</th> |
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | <% range = metric_result.range %> | 16 | <% range = metric_result.range %> |
17 | <% if !range.nil? %> | 17 | <% if !range.nil? %> |
18 | <tr> | 18 | <tr> |
19 | - <td><a href="#" show-metric-history="<%= MezuroPlugin::Helpers::ContentViewerHelper.format_name(metric_result) %>" data-module-name="<%= @module.name %>"><%= metric_result.metric.name %></a></td> | 19 | + <td style="width: 74%"><a href="#" show-metric-history="<%= MezuroPlugin::Helpers::ContentViewerHelper.format_name(metric_result) %>" data-module-name="<%= @module.name %>"><%= metric_result.metric.name %></a></td> |
20 | <td><%= MezuroPlugin::Helpers::ContentViewerHelper.format_grade(metric_result.value) %></td> | 20 | <td><%= MezuroPlugin::Helpers::ContentViewerHelper.format_grade(metric_result.value) %></td> |
21 | <td><%= metric_result.weight %></td> | 21 | <td><%= metric_result.weight %></td> |
22 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> | 22 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> |