Revision 66 hci/trunk/eneraptor-web-app/grails-app/views/config/hci.gsp
hci.gsp | ||
---|---|---|
7 | 7 |
|
8 | 8 |
<body> |
9 | 9 |
|
10 |
<erptr:box title="Information"> |
|
11 |
|
|
12 |
<p>HCI Version: <span style="font-family:monospace;">${conf.findByConfigId('hci-version').configVal}</span></p> |
|
13 |
|
|
14 |
<!-- DISK USAGE - ONLY IF ENERAPTOR HCI IS SUPERUSER |
|
15 |
<p style="float: left;">Disk usage: </p> |
|
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) </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 |
--> |
|
28 |
|
|
29 |
</erptr:box> |
|
30 |
|
|
31 | 10 |
<erptr:box title="Known devices"> |
32 | 11 |
|
33 | 12 |
<table width="100%"> |
... | ... | |
79 | 58 |
|
80 | 59 |
</erptr:box> |
81 | 60 |
|
82 |
<erptr:box title="Database information"> |
|
83 |
|
|
84 |
<p>Eneraptor system uses PostgreSQL database management system to store log data and HCI configuration.</p> |
|
85 |
|
|
86 |
<br /> |
|
87 |
|
|
88 |
<div id="dbConfigHolder"> |
|
89 |
<g:remoteLink action="dbInfo" update="dbConfigHolder"><erptr:icon w="eye" />View database configuration</g:remoteLink> |
|
90 |
</div> |
|
91 |
|
|
92 |
<br /> |
|
93 |
|
|
94 |
<g:link action="dbExec"><erptr:icon w="database_edit" />Execute SQL queries manually</g:link> |
|
95 |
|
|
96 |
</erptr:box> |
|
97 |
|
|
98 | 61 |
</body> |
99 | 62 |
|
100 | 63 |
</html> |
Also available in: Unified diff