summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-02-04 18:00:46 +0100
committerTobi Oetiker <tobi@oetiker.ch>2008-02-04 18:00:46 +0100
commitb9828ab2e237efd59e662b4305e866a33519a9a4 (patch)
treeb23510f39f86f84fa012e42fd01f11832de2a739
parent74783005860524bbdf1be4fe0ec2924e650c1652 (diff)
downloadsmokeping-b9828ab2e237efd59e662b4305e866a33519a9a4.tar.gz
smokeping-b9828ab2e237efd59e662b4305e866a33519a9a4.tar.xz
fixed html syntax issues
fixed spelling of standard deviation
-rw-r--r--CHANGES2
-rw-r--r--etc/config.dist2
-rw-r--r--lib/Smokeping.pm7
-rw-r--r--lib/Smokeping/sorters/StdDev.pm2
4 files changed, 8 insertions, 5 deletions
diff --git a/CHANGES b/CHANGES
index 9ebe98a..1d6a8e8 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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