root / hci / trunk / eneraptor-web-app / grails-app / views / sysLog / browse.gsp @ 5
History | View | Annotate | Download (968 Bytes)
1 | 3 | alexbesir | <html> |
---|---|---|---|
2 | |||
3 | <head> |
||
4 | <title>Log » Browsing</title> |
||
5 | <meta name="layout" content="main" /> |
||
6 | </head> |
||
7 | |||
8 | <body> |
||
9 | |||
10 | <erptr:box title="Browse log"> |
||
11 | |||
12 | <table width="100%"> |
||
13 | <thead> |
||
14 | <tr> |
||
15 | <th width="40px"><a href="#">Id</a></th> |
||
16 | <th width="200px"><a href="#">Date</a></th> |
||
17 | <th width="200px"><a href="#">Source (device)</a></th> |
||
18 | <th><a href="#">Data</a></th> |
||
19 | <th width="60px"><a href="#">Options</a></th> |
||
20 | </tr> |
||
21 | </thead> |
||
22 | <tbody> |
||
23 | <g:each in="${data}" var="entry"> |
||
24 | <tr> |
||
25 | <td class="a-center">${entry.id}</td> |
||
26 | <td><a href="#">${entry.dateRecieved}</a></td> |
||
27 | <td><a href="#">${entry.deviceId}</a></td> |
||
28 | <td>${entry.reportedData}</td> |
||
29 | <td><erptr:logEntryOptions for="${entry.id}" /></td> |
||
30 | </tr> |
||
31 | </g:each> |
||
32 | </tbody> |
||
33 | </table> |
||
34 | <g:if test="${data.size() < 1}"> |
||
35 | <center>The log is empty.</center> |
||
36 | </g:if> |
||
37 | |||
38 | </erptr:box> |
||
39 | |||
40 | </body> |
||
41 | |||
42 | </html> |