]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
graphs.pl : fixed layout on Nexus 7 devices "hour-Day-week-month-year" now on top...
authorAlexander Marx <alexander.marx@ipfire.org>
Mon, 10 Mar 2014 11:54:06 +0000 (12:54 +0100)
committerAlexander Marx <alexander.marx@ipfire.org>
Mon, 10 Mar 2014 11:54:06 +0000 (12:54 +0100)
config/cfgroot/graphs.pl

index cc00c665bcb94cf0e2805053270aa9c70b15d82d..81b6fa4e7451da736ba535e2f590e06a167ecab9 100644 (file)
@@ -92,8 +92,8 @@ sub makegraphbox {
        print "<a href='".$_[0]."?".$_[1]."?month' target='".$_[1]."box'><b>".$Lang::tr{'month'}."</b></a>";
        print " - ";
        print "<a href='".$_[0]."?".$_[1]."?year' target='".$_[1]."box'><b>".$Lang::tr{'year'}."</b></a>";
-       print "<iframe src='".$_[0]."?".$_[1]."?".$_[2]."' width='".$width."' height='".$height."' scrolling='no' frameborder='no' marginheight='0' name='".$_[1]."box'></iframe>";
        print "</center>";
+       print "<iframe src='".$_[0]."?".$_[1]."?".$_[2]."' width='".$width."' height='".$height."' scrolling='no' frameborder='no' marginheight='0' name='".$_[1]."box'></iframe>";
 }
 
 # Generate the CPU Graph for the current period of time for values given by