Revision 63 hci/trunk/eneraptor-web-app/grails-app/views/statistics/graphs.gsp

View differences:

graphs.gsp
9 9
	
10 10
	<erptr:box title="Saved graphs">
11 11
		
12
		<p>Single device graphs:</p>
13
		
12 14
		<table>
13 15
			<thead>
14 16
				<tr>
......
21 23
			<tbody>
22 24
				<g:each in="${savedGraphs}" var="savedGraph">
23 25
					<tr>
24
						<td><p><erptr:icon w="chart_curve" /><g:link action="showGraph" id="${savedGraph.id}" >${savedGraph.name}</g:link></p></td>
26
						<td><p><erptr:icon w="chart_curve_single" /><g:link action="showGraph" id="${savedGraph.id}" >${savedGraph.name}</g:link></p></td>
25 27
						<td><p>${savedGraph.deviceId}</p></td>
26 28
						<td><p>${savedGraph.type}</p></td>
27 29
						<td><p>
28
							<g:link action="showGraph" id="${savedGraph.id}" title="View graph only" ><erptr:icon w="chart_line" /></g:link>
30
							<g:link action="showGraph" id="${savedGraph.id}" title="View graph only" ><erptr:icon w="magnifier" /></g:link>
29 31
							<g:link action="makeReport" id="${savedGraph.id}" title="Make report" ><erptr:icon w="report" /></g:link>
30 32
							<g:link action="editGraph" id="${savedGraph.id}" title="Edit" ><erptr:icon w="pencil" /></g:link>
31 33
							<g:link action="deleteGraph" id="${savedGraph.id}" title="Delete" ><erptr:icon w="delete" /></g:link>
......
37 39
		<g:if test="${savedGraphs.size == 0}">
38 40
			<center><p><i>There are no saved graphs.</i></p></center>
39 41
		</g:if>
42
		
43
		<p>Combined graphs:</p>
44
		
45
		<table>
46
			<thead>
47
				<tr>
48
					<th><p>Graph name (short description)</p></th>
49
					<th style="width:78px;"><p>Options</p></th>
50
				</tr>
51
			</thead>
52
			<tbody>
53
				<g:each in="${combinedGraphs}" var="combGraph">
54
					<tr>
55
						<td><p><erptr:icon w="chart_curve" /><g:link action="showCombGraph" id="${combGraph.id}" >${combGraph.name}</g:link></p></td>
56
						<td><p>
57
							<g:link action="showCombGraph" id="${combGraph.id}" title="View graph only" ><erptr:icon w="magnifier" /></g:link>
58
							<a><erptr:icon w="blank" /></a>
59
							<g:link action="editCombGraph" id="${combGraph.id}" title="Edit" ><erptr:icon w="pencil" /></g:link>
60
							<g:link action="deleteCombGraph" id="${combGraph.id}" title="Delete" ><erptr:icon w="delete" /></g:link>
61
						</p></td>
62
					</tr>
63
				</g:each>
64
			</tbody>
65
		</table>
66
		<g:if test="${combinedGraphs.size == 0}">
67
			<center><p><i>There are no saved graphs.</i></p></center>
68
		</g:if>
40 69

  
41 70
	</erptr:box>
42 71
	
43
	<erptr:box title="Create a new graph">
72
	<erptr:box title="Create a new single device graph">
44 73
		<p>To create a new graph, select one of the graph types below:</p>
45 74
			<table style="text-align:center;border:none;">
46 75
				<tr>
......
57 86
				</tr>
58 87
			</table>
59 88
	</erptr:box>
89
	
90
	<erptr:box title="Create a new combined graph">
91
		<p>Combined graph is simply a set of single device graphs displayed as a single one.</p>
92
		<p><g:link action="newCombGraph"><erptr:icon w="chart_curve_add" />Create a new combined graph</g:link></p>
93
	</erptr:box>
60 94

  
61 95
</body>
62 96

  

Also available in: Unified diff