root / hci / trunk / eneraptor-web-app / grails-app / views / sysState / actions.gsp @ 6
History | View | Annotate | Download (1.17 KB)
1 |
<html> |
---|---|
2 |
|
3 |
<head> |
4 |
<title>System State » Last actions taken</title> |
5 |
<meta name="layout" content="main" /> |
6 |
</head> |
7 |
|
8 |
<body> |
9 |
|
10 |
<erptr:box title="Last actions taken"> |
11 |
<form id="actionsForm"> |
12 |
<table> |
13 |
<thead> |
14 |
<tr> |
15 |
<th style="width:20px;"> </th> |
16 |
<th style="width:200px;">Device</th> |
17 |
<th>Action taken</th> |
18 |
<th style="width:200px;">Time executed</th> |
19 |
</tr> |
20 |
</thead> |
21 |
<tbody> |
22 |
<g:each in="${outDevicesData}" var="outDevice"> |
23 |
<tr> |
24 |
<td> |
25 |
<g:checkBox name="${outDevice.deviceId}" /> |
26 |
</td> |
27 |
<td><p> |
28 |
<g:if test="${outDevice.icon}"> |
29 |
<erptr:icon w="${outDevice.icon}" /> |
30 |
</g:if> |
31 |
${outDevice.friendlyName}</p></td> |
32 |
<td><p>${outDevice.loggedData?.reportedData ?: '<i>no actions have been executed on this device yet</i>'}</p></td> |
33 |
<td><p>${outDevice.loggedData?.dateRecieved ?: '<i>never</i>'}</p></td> |
34 |
</tr> |
35 |
</g:each> |
36 |
</tbody> |
37 |
</table> |
38 |
|
39 |
<p><a href="#" onclick="checkToggle('actionsForm');return false;">Check / uncheck</a> all.</p> |
40 |
|
41 |
</form> |
42 |
</erptr:box> |
43 |
|
44 |
<js:checkBoxToggle /> |
45 |
|
46 |
</body> |
47 |
|
48 |
</html> |