Revision 67 hci/trunk/eneraptor-web-app/grails-app/views/config/database.gsp
database.gsp | ||
---|---|---|
6 | 6 |
</head> |
7 | 7 |
|
8 | 8 |
<body> |
9 |
|
|
10 |
<!-- DISK USAGE - ONLY IF ENERAPTOR HCI IS SUPERUSER |
|
11 |
<p style="float: left;">Disk usage: </p> |
|
12 |
<div style="float:left;"> |
|
13 |
<div style="width: 100px;border:1px solid grey;"> |
|
14 |
<div style="width:${percent}px;background:grey;"> |
|
15 |
|
|
16 |
</div> |
|
17 |
</div> |
|
18 |
</div> |
|
19 |
<span> ${percent}% (free space ${(int)freeSpace} MB) </span> |
|
20 |
<g:if test="${percent >= 95}"> |
|
21 |
<i style="color:red;"> Warning: disk is almost full. You should erase some old log entries.</i> |
|
22 |
</g:if> |
|
23 |
--> |
|
24 | 9 |
|
25 | 10 |
<erptr:box title="Database information"> |
26 | 11 |
|
Also available in: Unified diff