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 | 12 | def self.generate_chart(values) |
13 | 13 | Gchart.line( |
14 | 14 | :title_color => 'FF0000', |
15 | - :size => '700x180', | |
15 | + :size => '600x180', | |
16 | 16 | :bg => {:color => 'efefef', :type => 'stripes'}, |
17 | 17 | :line_colors => 'c4a000', |
18 | 18 | :data => values, | ... | ... |
plugins/mezuro/views/content_viewer/_module_result.rhtml
... | ... | @@ -25,12 +25,12 @@ |
25 | 25 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> |
26 | 26 | </tr> |
27 | 27 | <tr class="<%= metric_result.metric.name.delete("() ")%>" style="display: none;"> |
28 | - <td colspan="4"> | |
28 | + <td colspan="3"> | |
29 | 29 | <div id='historical-<%= metric_result.metric.name.delete("() ") %>'> |
30 | 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 | 31 | </div> |
32 | 32 | </td> |
33 | - <td colspan="3" align="right"> | |
33 | + <td align="right"> | |
34 | 34 | <%= range.comments.nil? ? '' : range.comments %> |
35 | 35 | </td> |
36 | 36 | </tr> |
... | ... | @@ -39,10 +39,10 @@ |
39 | 39 | </tbody> |
40 | 40 | <tfoot> |
41 | 41 | <tr> |
42 | - <td colspan = "1"> | |
42 | + <td colspan = "3"> | |
43 | 43 | <div id='historical-grade'></div> |
44 | 44 | </td> |
45 | - <td colspan = "4" align = "right"> | |
45 | + <td align = "right"> | |
46 | 46 | <a href="#" show-grade-history="<%= module_result.module.name %>" data-module-name="<%= the_module.name%>" > |
47 | 47 | <strong> |
48 | 48 | <%= _('Grade:') %> | ... | ... |