Index: /trunk/admin/xcache.css
===================================================================
--- /trunk/admin/xcache.css	(revision 107)
+++ /trunk/admin/xcache.css	(revision 108)
@@ -10,6 +10,7 @@
 .freeblocks { float: left; margin-right: 4px;}
 form {margin: 0; padding: 0}
-.percent { border: 1px solid gray; width: 90%; }
-.percent .v { background: black; font-size: 1px; line-height: 11px;}
+.percent { border: 1px solid black; width: 80%; height: 100%; }
+.percent div { font-size: 1px; line-height: 1px; width: 100%;}
+.percent .pavail { background: blue; }
 .switcher, h1 { text-align: center; display: block; }
 .switcher * { color: blue; }
Index: /trunk/admin/xcache.tpl.php
===================================================================
--- /trunk/admin/xcache.tpl.php	(revision 107)
+++ /trunk/admin/xcache.tpl.php	(revision 108)
@@ -44,5 +44,5 @@
 		<th>Size</th>
 		<th>Avail</th>
-		<th>Used</th>
+		<th>%</th>
 		<th>Clear</th>
 		<th>Compiling</th>
@@ -59,10 +59,11 @@
 	foreach ($cacheinfos as $i => $ci) {
 		echo "
-		<tr ", $a->next(), ">";
+		<tr ", $a->next(), " height=\"20\">";
+		$pavail = (int) ($ci['avail'] / $ci['size'] * 100);
+		$pused = 100 - $pavail;
+
 		$ci = number_formats($ci, $numkeys);
 		$ci['compiling']    = $ci['type'] == $type_php ? ($ci['compiling'] ? 'yes' : 'no') : '-';
 		$ci['can_readonly'] = $ci['can_readonly'] ? 'yes' : 'no';
-
-		$percent = (int) (($ci['size'] - $ci['avail']) / $ci['size'] * 100);
 		echo <<<EOS
 		<th>{$ci['cache_name']}</th>
@@ -70,5 +71,5 @@
 		<td>{$ci['size']}</td>
 		<td>{$ci['avail']}</td>
-		<td><div class="percent"><div style="width: $percent%" class="v">&nbsp;</div></div></td>
+		<td title="{$pavail} %"><div class="percent"><div style="height: {$pused}%" class="pused">&nbsp;</div><div style="height: {$pavail}%" class="pavail">&nbsp;</div></div></td>
 		<td>
 			<form method="post">
