blob: c2602c49646dafe990e15f4b7efc33b49192811e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<div class="dashbox">
<h3><span title="<%= metric('random').description -%>"></span></h3>
<p>
<span class="big">
<%= format_measure('random') -%> <%= trend_icon(measure('random')) %>
</span>
</p>
<p><%= format_measure('message') -%></p>
<p>
<%= format_measure('ncloc', :suffix => ' lines', :url => url_for_drilldown('ncloc')) -%>
</p>
</div>
<div class="dashbox">
<h3>Help</h3>
<p>
Read configuration : <%= configuration('sonar.jdbc.username') -%>
</p>
<p>
Sample of Jfree Eastwood chart : <br/>
<%= gchart('cht=bhs&chco=FF0000,00FF00,0000FF&chs=200x125&chd=s:FOE,THE,Bar&chxt=x,y&chxl=1:|Dec|Nov|Oct|0:||20K||60K||100K|') -%>
</p>
<p>
Widget properties:
<table>
<tr>
<td>max:</td>
<td><%= widget_properties['max'] -%></td>
</tr>
<tr>
<td>param1:</td>
<td><%= widget_properties['param1'] -%></td>
</tr>
<tr>
<td>param2:</td>
<td><%= widget_properties['param2'] -%></td>
</tr>
</table>
</p>
</div>
|