- This bug has been open for a long time and is still valid. The Cache statistics on the Update accelerator configuration page are jammed closely together making it not so easy to see what the numbers are. - Implemented similar approach as used on the Memory table section of the Memory information page. - Installed on vm testbed machine and confirmed to provide the desired layout. Tested-by Adolf Belka Signed-off-by: Adolf Belka --- html/cgi-bin/updatexlrator.cgi | 58 +++++++++++++++++++--------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/html/cgi-bin/updatexlrator.cgi b/html/cgi-bin/updatexlrator.cgi index 9cfe08f4e..deead7d79 100644 --- a/html/cgi-bin/updatexlrator.cgi +++ b/html/cgi-bin/updatexlrator.cgi @@ -722,15 +722,18 @@ unless ($numfiles) { print "$Lang::tr{'updxlrtr empty repository'}\n
-$Lang::tr{'updxlrtr disk usage'} + +$Lang::tr{'updxlrtr disk usage'} + - +
- - - - - + + + + + + END ; @@ -745,17 +748,17 @@ my ($device,$size,$used,$free,$percent,$mount) = split(' ',$dfstr); print < - - - - - + + + + +
$Lang::tr{'updxlrtr cache dir'}$Lang::tr{'size'}$Lang::tr{'used'}$Lang::tr{'free'}$Lang::tr{'percentage'}$Lang::tr{'updxlrtr cache dir'}$Lang::tr{'size'}$Lang::tr{'used'}$Lang::tr{'free'}$Lang::tr{'percentage'}
[$repository]$size$used$free +[$repository]$size$used$free END ; &percentbar($percent); print < -$percent$percent
END @@ -1015,15 +1018,18 @@ unless (@repositoryfiles) { print "$Lang::tr{'updxlrtr empty repository'} print < -$Lang::tr{'updxlrtr disk usage'} + +$Lang::tr{'updxlrtr disk usage'} + - +
- - - - - + + + + + + END ; @@ -1038,17 +1044,17 @@ my ($device,$size,$used,$free,$percent,$mount) = split(' ',$dfstr); print < - - - - - + + + + +
$Lang::tr{'updxlrtr cache dir'}$Lang::tr{'size'}$Lang::tr{'used'}$Lang::tr{'free'}$Lang::tr{'percentage'}$Lang::tr{'updxlrtr cache dir'}$Lang::tr{'size'}$Lang::tr{'used'}$Lang::tr{'free'}$Lang::tr{'percentage'}
[$repository]$size$used$free +[$repository]$size$used$free END ; &percentbar($percent); print < -$percent$percent
END -- 2.32.0