root / hci / trunk / eneraptor-web-app / grails-app / views / config / connection.gsp @ 66
History | View | Annotate | Download (1.46 KB)
1 | 3 | alexbesir | <html> |
---|---|---|---|
2 | |||
3 | <head> |
||
4 | <title>Configuration » HCI to Logic connection</title> |
||
5 | <meta name="layout" content="main" /> |
||
6 | </head> |
||
7 | |||
8 | <body> |
||
9 | |||
10 | <erptr:box title="HCI to Logic connection configuration"> |
||
11 | |||
12 | <g:form name="connection-config-form" action="saveConnection"> |
||
13 | |||
14 | <fieldset> |
||
15 | |||
16 | <legend>Basic</legend> |
||
17 | |||
18 | <label for="logic-ip">Logic's IP address</label> |
||
19 | 66 | alexbesir | <g:textField name="logic-ip" value="${hwSet.IPaddress}" /> |
20 | 3 | alexbesir | <erptr:helpLink for="logic-ip" /> |
21 | |||
22 | <br /> |
||
23 | |||
24 | <label for="logic-port">Logic's port number</label> |
||
25 | 66 | alexbesir | <g:textField name="logic-port" value="${hwSet.portNumber}" /> |
26 | 3 | alexbesir | |
27 | <br /> |
||
28 | |||
29 | </fieldset> |
||
30 | |||
31 | <erptr:helpBox /> |
||
32 | |||
33 | <g:actionSubmit action="connection" value="Cancel" /> |
||
34 | <g:submitButton name="save" value="Save changes" /> |
||
35 | |||
36 | </g:form> |
||
37 | |||
38 | </erptr:box> |
||
39 | |||
40 | <erptr:box title="Test connection"> |
||
41 | |||
42 | <p>You can test connectivity by pressing the 'Test connection' link below. This will show a simple report under it.</p> |
||
43 | <p>Note that any configuration changes (Logic's IP, port, etc.) should be saved first.</p> |
||
44 | <br /> |
||
45 | 6 | alexbesir | <g:remoteLink controller="logicRequest" action="testConnection" update="testResponse" before="\$('testResponse').update('Testing... (Please wait)')" after="\$('testResponse').pulsate({pulses: 2, duration: 0.5})"><erptr:icon w="connect"></erptr:icon>Test connection</g:remoteLink> |
46 | 3 | alexbesir | <br /><br /> |
47 | <div id="testResponse"></div> |
||
48 | |||
49 | </erptr:box> |
||
50 | |||
51 | </body> |
||
52 | |||
53 | </html> |