root / hci / trunk / eneraptor-web-app / grails-app / views / config / addDevice.gsp @ 6
History | View | Annotate | Download (1.4 KB)
1 |
<html> |
---|---|
2 |
|
3 |
<head> |
4 |
<title>Configuration » HCI</title> |
5 |
<meta name="layout" content="main" /> |
6 |
</head> |
7 |
|
8 |
<body> |
9 |
|
10 |
<erptr:box title="Add a new device"> |
11 |
|
12 |
<g:form name="add-device-form" action="addDeviceSave"> |
13 |
|
14 |
<label for="deviceId">Device ID *</label> |
15 |
<g:textField name="deviceId" value="${params['deviceId']}" /> |
16 |
<erptr:helpLink for="deviceId"/> |
17 |
|
18 |
<br /> |
19 |
|
20 |
<label for="friendlyName">Friendly name *</label> |
21 |
<g:textField name="friendlyName" value="${params['friendlyName']}" /> |
22 |
<erptr:helpLink for="friendlyName"/> |
23 |
|
24 |
<br /> |
25 |
|
26 |
<label for="inputDevice">Can measure data</label> |
27 |
<g:checkBox name ="inputDevice" value="${params['inputDevice']}" /> |
28 |
<erptr:helpLink for="inputDevice"/> |
29 |
|
30 |
<br /> |
31 |
|
32 |
<label for="outputDevice">Can run actions</label> |
33 |
<g:checkBox name ="outputDevice" value="${params['outputDevice']}" /> |
34 |
<erptr:helpLink for="outputDevice"/> |
35 |
|
36 |
<br /> |
37 |
|
38 |
<label for="description">Short decription</label> |
39 |
<g:textArea name="description">${params['description']}</g:textArea> |
40 |
|
41 |
<br /> |
42 |
|
43 |
<label for="iconPath">Icon</label> |
44 |
<g:textField name="iconPath" value="${params['iconPath']}" /> |
45 |
|
46 |
<br /> |
47 |
|
48 |
<erptr:helpBox /> |
49 |
|
50 |
<g:actionSubmit action="hci" value="Cancel" /> |
51 |
<g:submitButton name="save" value="Add device" /> |
52 |
|
53 |
</g:form> |
54 |
|
55 |
</erptr:box> |
56 |
|
57 |
</body> |
58 |
|
59 |
</html> |