root / hci / trunk / eneraptor-web-app / grails-app / views / config / addDevice.gsp @ 3
History | View | Annotate | Download (1.03 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="description">Short decription</label> |
27 |
<g:textArea name="description">${params['description']}</g:textArea> |
28 |
|
29 |
<br /> |
30 |
|
31 |
<label for="iconPath">Icon</label> |
32 |
<g:textField name="iconPath" value="${params['iconPath']}" /> |
33 |
|
34 |
<br /> |
35 |
|
36 |
<erptr:helpBox /> |
37 |
|
38 |
<g:actionSubmit action="hci" value="Cancel" /> |
39 |
<g:submitButton name="save" value="Add device" /> |
40 |
|
41 |
</g:form> |
42 |
|
43 |
</erptr:box> |
44 |
|
45 |
</body> |
46 |
|
47 |
</html> |