root / hci / trunk / eneraptor-web-app / grails-app / views / config / database.gsp @ 66
History | View | Annotate | Download (1.16 KB)
1 |
<html> |
---|---|
2 |
|
3 |
<head> |
4 |
<title>Configuration » Database</title> |
5 |
<meta name="layout" content="main" /> |
6 |
</head> |
7 |
|
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 |
|
25 |
<erptr:box title="Database information"> |
26 |
|
27 |
<p>Eneraptor system uses PostgreSQL database management system to store log data and HCI configuration.</p> |
28 |
|
29 |
<br /> |
30 |
|
31 |
<div id="dbConfigHolder"> |
32 |
<g:remoteLink action="dbInfo" update="dbConfigHolder"><erptr:icon w="eye" />View database configuration</g:remoteLink> |
33 |
</div> |
34 |
|
35 |
<br /> |
36 |
|
37 |
<g:link action="dbExec"><erptr:icon w="database_edit" />Execute SQL queries manually</g:link> |
38 |
|
39 |
</erptr:box> |
40 |
|
41 |
</body> |
42 |
|
43 |
</html> |