From e682323b78412667a50b21576d141ff91abab384 Mon Sep 17 00:00:00 2001 From: maniacikarus Date: Sat, 14 Mar 2009 10:07:04 +0100 Subject: [PATCH] Fixed size of hwgraphs --- config/rootfiles/core/28/files | 2 +- html/cgi-bin/hardwaregraphs.cgi | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/core/28/files b/config/rootfiles/core/28/files index d7f909844b..3a8f06cde0 100644 --- a/config/rootfiles/core/28/files +++ b/config/rootfiles/core/28/files @@ -20,4 +20,4 @@ usr/lib/libcurl.so.4.1.1 lib/modules/2.6.25.19-ipfire/misc/kqemu.ko usr/local/bin/setaliases srv/web/ipfire/cgi-bin/aliases.cgi -var/ipfire/menu.d/30-network.menu \ No newline at end of file +var/ipfire/menu.d/30-network.menusrv/web/ipfire/cgi-bin/hardwaregraphs.cgi diff --git a/html/cgi-bin/hardwaregraphs.cgi b/html/cgi-bin/hardwaregraphs.cgi index 781f30175b..16000de3db 100644 --- a/html/cgi-bin/hardwaregraphs.cgi +++ b/html/cgi-bin/hardwaregraphs.cgi @@ -113,7 +113,7 @@ if ( $querry[0] =~ "hwtemp"){ if ( `ls $mainsettings{'RRDLOG'}/collectd/localhost/sensors-*/temperature-*` ) { &Header::openbox('100%', 'center', "hwtemp $Lang::tr{'graph'}"); - &Graphs::makegraphbox("hardwaregraphs.cgi","hwtemp","day"); + &Graphs::makegraphbox("hardwaregraphs.cgi","hwtemp","day","375"); Header::closebox(); } @@ -125,7 +125,7 @@ if ( $querry[0] =~ "hwtemp"){ if ( `ls $mainsettings{'RRDLOG'}/collectd/localhost/sensors-*/voltage-*` ) { &Header::openbox('100%', 'center', "hwvolt $Lang::tr{'graph'}"); - &Graphs::makegraphbox("hardwaregraphs.cgi","hwvolt","day","375"); + &Graphs::makegraphbox("hardwaregraphs.cgi","hwvolt","day","435"); &Header::closebox(); } -- 2.39.2