diff options
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | etc/config.dist | 2 | ||||
-rw-r--r-- | lib/Smokeping.pm | 7 | ||||
-rw-r--r-- | lib/Smokeping/sorters/StdDev.pm | 2 |
4 files changed, 8 insertions, 5 deletions
@@ -1,3 +1,5 @@ +* Fixed div structure in hierarchy and filter form --tobi + 2008/1/23 -- released version 2.3.0 * Integrated TCPPing Probe -- Norman Rasmussen diff --git a/etc/config.dist b/etc/config.dist index 48a0702..c8758d0 100644 --- a/etc/config.dist +++ b/etc/config.dist @@ -58,7 +58,7 @@ title = The most interesting destinations sorter = StdDev(entries=>4) title = Top Standard Deviation menu = Std Deviation -format = Stdandard Deviation %f +format = Standard Deviation %f ++ max sorter = Max(entries=>5) diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 5a9cca2..efda646 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -1483,13 +1483,14 @@ sub hierarchy_switcher($$){ ); $print .= "</div>"; } - $print .= "<div><small>Filter:</small></div>"; + $print .= "<div id='filter_title'><small>Filter:</small></div>"; + $print .= "<div id='filter_text'>"; $print .= $q->textfield (-name=>'filter', -onChange=>'hswitch.submit()', -size=>15, ); - $print .= $q->end_form(); - $print .= "</div><br/><br/>"; + $print .= '</div>'.$q->end_form(); + $print .= "<br/><br/>"; return $print; } diff --git a/lib/Smokeping/sorters/StdDev.pm b/lib/Smokeping/sorters/StdDev.pm index fc97446..d43c9a8 100644 --- a/lib/Smokeping/sorters/StdDev.pm +++ b/lib/Smokeping/sorters/StdDev.pm @@ -21,7 +21,7 @@ Call the sorter in the charts section of the config file sorter = StdDev(entries=>4) title = Top StdDev menu = Std Deviation - format = Stdandard Deviation %f + format = Standard Deviation %f =head1 COPYRIGHT |