root / hci / trunk / eneraptor-web-app / grails-app / views / sysLog / main.gsp @ 16
History | View | Annotate | Download (780 Bytes)
1 |
<html> |
---|---|
2 |
|
3 |
<head> |
4 |
<title>Log</title> |
5 |
<meta name="layout" content="main" /> |
6 |
</head> |
7 |
|
8 |
<body> |
9 |
|
10 |
<erptr:box title="Log"> |
11 |
<p>TODO: Some information about log.</p> |
12 |
</erptr:box> |
13 |
|
14 |
<!-- DISK USAGE - ONLY IF ENERAPOTR HCI IS SUPERUSER |
15 |
<erptr:box title="Disk usage"> |
16 |
<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 |
</erptr:box> |
28 |
--> |
29 |
|
30 |
</body> |
31 |
|
32 |
</html> |