Commit 4343cafca81ce4ec71231003ab3e42d3706422a7
Committed by
Caio
1 parent
6dfa800b
Exists in
master
and in
29 other branches
[Mezuro] fixed cosplan size and graph size
Showing
2 changed files
with
5 additions
and
5 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin/helpers/content_viewer_helper.rb
@@ -12,7 +12,7 @@ class MezuroPlugin::Helpers::ContentViewerHelper | @@ -12,7 +12,7 @@ class MezuroPlugin::Helpers::ContentViewerHelper | ||
12 | def self.generate_chart(values) | 12 | def self.generate_chart(values) |
13 | Gchart.line( | 13 | Gchart.line( |
14 | :title_color => 'FF0000', | 14 | :title_color => 'FF0000', |
15 | - :size => '700x180', | 15 | + :size => '600x180', |
16 | :bg => {:color => 'efefef', :type => 'stripes'}, | 16 | :bg => {:color => 'efefef', :type => 'stripes'}, |
17 | :line_colors => 'c4a000', | 17 | :line_colors => 'c4a000', |
18 | :data => values, | 18 | :data => values, |
plugins/mezuro/views/content_viewer/_module_result.rhtml
@@ -25,12 +25,12 @@ | @@ -25,12 +25,12 @@ | ||
25 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> | 25 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> |
26 | </tr> | 26 | </tr> |
27 | <tr class="<%= metric_result.metric.name.delete("() ")%>" style="display: none;"> | 27 | <tr class="<%= metric_result.metric.name.delete("() ")%>" style="display: none;"> |
28 | - <td colspan="4"> | 28 | + <td colspan="3"> |
29 | <div id='historical-<%= metric_result.metric.name.delete("() ") %>'> | 29 | <div id='historical-<%= metric_result.metric.name.delete("() ") %>'> |
30 | <a href="#" show-metric-history="<%= metric_result.metric.name.delete("() ") %>" data-module-name="<%= the_module.name %>" data-metric-name="<%= metric_result.metric.name.delete("() ") %>"> <p style="text-indent: 3em;"> Get Historical Values </p> </a> | 30 | <a href="#" show-metric-history="<%= metric_result.metric.name.delete("() ") %>" data-module-name="<%= the_module.name %>" data-metric-name="<%= metric_result.metric.name.delete("() ") %>"> <p style="text-indent: 3em;"> Get Historical Values </p> </a> |
31 | </div> | 31 | </div> |
32 | </td> | 32 | </td> |
33 | - <td colspan="3" align="right"> | 33 | + <td align="right"> |
34 | <%= range.comments.nil? ? '' : range.comments %> | 34 | <%= range.comments.nil? ? '' : range.comments %> |
35 | </td> | 35 | </td> |
36 | </tr> | 36 | </tr> |
@@ -39,10 +39,10 @@ | @@ -39,10 +39,10 @@ | ||
39 | </tbody> | 39 | </tbody> |
40 | <tfoot> | 40 | <tfoot> |
41 | <tr> | 41 | <tr> |
42 | - <td colspan = "1"> | 42 | + <td colspan = "3"> |
43 | <div id='historical-grade'></div> | 43 | <div id='historical-grade'></div> |
44 | </td> | 44 | </td> |
45 | - <td colspan = "4" align = "right"> | 45 | + <td align = "right"> |
46 | <a href="#" show-grade-history="<%= module_result.module.name %>" data-module-name="<%= the_module.name%>" > | 46 | <a href="#" show-grade-history="<%= module_result.module.name %>" data-module-name="<%= the_module.name%>" > |
47 | <strong> | 47 | <strong> |
48 | <%= _('Grade:') %> | 48 | <%= _('Grade:') %> |