root / hci / trunk / eneraptor-web-app / grails-app / views / sysLog / main.gsp @ 16
History | View | Annotate | Download (780 Bytes)
1 | 3 | alexbesir | <html> |
---|---|---|---|
2 | |||
3 | <head> |
||
4 | <title>Log</title> |
||
5 | <meta name="layout" content="main" /> |
||
6 | </head> |
||
7 | |||
8 | <body> |
||
9 | 6 | alexbesir | |
10 | <erptr:box title="Log"> |
||
11 | <p>TODO: Some information about log.</p> |
||
12 | </erptr:box> |
||
13 | |||
14 | 16 | alexbesir | <!-- DISK USAGE - ONLY IF ENERAPOTR HCI IS SUPERUSER |
15 | 6 | alexbesir | <erptr:box title="Disk usage"> |
16 | 11 | alexbesir | <div style="float:left;"> |
17 | <div style="width: 100px;border:1px solid grey;"> |
||
18 | <div style="width:${percent}px;background:grey;"> |
||
19 | |
||
20 | </div> |
||
21 | </div> |
||
22 | </div> |
||
23 | <span> ${percent}% | free space ${(int)freeSpace} MB of total ${(int)totalSpace} MB </span> |
||
24 | <g:if test="${percent >= 95}"> |
||
25 | <i style="color:red;"> Warning: disk is almost full. You should erase some old log entries.</i> |
||
26 | </g:if> |
||
27 | 6 | alexbesir | </erptr:box> |
28 | 16 | alexbesir | --> |
29 | 6 | alexbesir | |
30 | 3 | alexbesir | </body> |
31 | |||
32 | </html> |