Revision 11 hci/trunk/eneraptor-web-app/grails-app/views/sysLog/main.gsp

View differences:

main.gsp
12 12
	</erptr:box>
13 13
	
14 14
	<erptr:box title="Disk usage">
15
		<p>TODO: Some information about log.</p>
15
		<div style="float:left;">
16
			<div style="width: 100px;border:1px solid grey;">
17
				<div style="width:${percent}px;background:grey;">
18
					&nbsp;
19
				</div>
20
			</div>
21
		</div>
22
		<span> &nbsp;&nbsp;&nbsp; ${percent}% | free space ${(int)freeSpace} MB of total ${(int)totalSpace} MB </span>
23
		<g:if test="${percent >= 95}">
24
				<i style="color:red;">&nbsp;&nbsp;&nbsp;Warning: disk is almost full. You should erase some old log entries.</i>
25
		</g:if>
16 26
	</erptr:box>
17 27

  
18 28
</body>

Also available in: Unified diff