Statistics
| Revision:

root / hci / trunk / eneraptor-web-app / grails-app / views / statistics / editCombGraph.gsp @ 63

History | View | Annotate | Download (1.33 KB)

1
<html>
2

    
3
<head>
4
	<title>Statistics</title>
5
	<meta name="layout" content="main" />
6
</head>
7

    
8
<body>
9
	
10
	<erptr:box title="Edit combined graph">
11
		
12
		<g:form method="POST" name="editCombGraphForm" action="editCombGraphDo">
13
		
14
			<fieldset>
15
				<legend>Basic info</legend>
16
				<label for="editCombGraphName">Name (short description)</label>
17
				<g:textField name="editCombGraphName" style="width:600px" value="${chosenGraph.name}" />
18
				<br />
19
			</fieldset>
20
		
21
			<fieldset>
22
				<legend>Graphs</legend>
23
				<p>Select which single device graphs to combine</p>
24
				<p>Select by clicking on the grpah's name while holding CTRL key on your keyboard.</p>
25
				<br />
26
				<select multiple="multiple" name="graphsToCombine" id="graphsToCombine" size="10" style="width:820px;">
27
					<g:each in="${graphs}" var="graph">
28
						<g:if test="${graph.sl}">
29
							<option value="${graph.gr.id}" selected="selected">(${graph.gr.type}) ${graph.gr.name}</option>
30
						</g:if>
31
						<g:else>
32
							<option value="${graph.gr.id}">(${graph.gr.type}) ${graph.gr.name}</option>
33
						</g:else>
34
					</g:each>
35
				</select>
36
				<br /><br />
37
			</fieldset>
38
			
39
			<g:hiddenField name="graphId" value="${chosenGraph.id}" />
40
		
41
			<g:submitButton name="editCombGraphSubmit" value="Save changes" />
42
		
43
		</g:form>
44
		
45
	</erptr:box>
46

    
47
</body>
48

    
49
</html>