Change order of the graphs on the system CGI.
authorChristian Schmidt <maniacikarus@ipfire.org>
Tue, 8 Feb 2011 20:40:36 +0000 (21:40 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Tue, 8 Feb 2011 20:40:36 +0000 (21:40 +0100)
html/cgi-bin/system.cgi

index 4b8ee47..a0e7655 100644 (file)
@@ -56,16 +56,16 @@ if ( $querry[0] =~ "cpufreq"){
        &Header::openpage($Lang::tr{'status information'}, 1, '');
        &Header::openbigbox('100%', 'left');
 
+       &Header::openbox('100%', 'center', "CPU $Lang::tr{'graph'}");
+       &Graphs::makegraphbox("system.cgi","cpu","day","325");
+       &Header::closebox();
+
        if ( -e "$mainsettings{'RRDLOG'}/collectd/localhost/cpufreq/cpufreq-0.rrd"){
                &Header::openbox('100%', 'center', "CPU $Lang::tr{'graph'}");
                &Graphs::makegraphbox("system.cgi","cpufreq","day","325");
                &Header::closebox();
        }
 
-       &Header::openbox('100%', 'center', "CPU $Lang::tr{'graph'}");
-       &Graphs::makegraphbox("system.cgi","cpu","day","325");
-       &Header::closebox();
-
        &Header::openbox('100%', 'center', "Load $Lang::tr{'graph'}");
        &Graphs::makegraphbox("system.cgi","load","day");
        &Header::closebox();