From 2098f2f8c7435a1e7944d41a2d6294f65b65da4a Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Wed, 15 Nov 2000 17:25:28 +0000 Subject: [PATCH] added support for setting title frame size in web interface in 3 frame mode --- config/spong.conf-sample | 5 ++++- config/spong.conf.in | 5 ++++- src/www-spong.pl | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/spong.conf-sample b/config/spong.conf-sample index 6e0d525..183e442 100755 --- a/config/spong.conf-sample +++ b/config/spong.conf-sample @@ -1,7 +1,7 @@ # --------------------------------------------------------------------------- # Generic SPONG settings, specifies where files are kept, etc... # --------------------------------------------------------------------------- -# $Id: spong.conf-sample,v 1.1 2000/10/16 14:00:00 sljohnson Exp $ +# $Id: spong.conf-sample,v 1.2 2000/11/15 17:25:28 sljohnson Exp $ $SPONGSLEEP = 300; # Sleep time between check cycles. Depreciated @@ -33,6 +33,9 @@ $SPONG_SERVER_ALARM = 10; # Timeout for spong-server connection in seconds # Number of frames to use in Web Displays $WWWFRAMES = 3; # Can be 2 or 3, defaults to 2 +# Title Frame Size (if $WWWFRAMES = 3) (In HTML Frame size specs) +$WWW_TITLE_SIZE = "40"; + # Set to show long host names on Host Summary web display $WWW_FQDN = 1; diff --git a/config/spong.conf.in b/config/spong.conf.in index a0f11a3..f21159a 100644 --- a/config/spong.conf.in +++ b/config/spong.conf.in @@ -1,7 +1,7 @@ # --------------------------------------------------------------------------- # Generic SPONG settings, specifies where files are kept, etc... # --------------------------------------------------------------------------- -# $Id: spong.conf.in,v 1.1 2000/10/09 04:46:41 sljohnson Exp $ +# $Id: spong.conf.in,v 1.2 2000/11/15 17:25:28 sljohnson Exp $ $SPONGSLEEP = 300; # Sleep time between check cycles. Depreciated @@ -33,6 +33,9 @@ $SPONG_SERVER_ALARM = 10; # Timeout for spong-server connection in seconds # Number of frames to use in Web Displays $WWWFRAMES = 3; # Can be 2 or 3, defaults to 2 +# Title Frame Size (if $WWWFRAMES = 3) (In HTML Frame size specs) +$WWW_TITLE_SIZE = "40"; + # Set to show long host names on Host Summary web display $WWW_FQDN = 1; diff --git a/src/www-spong.pl b/src/www-spong.pl index 70e87c4..9cafc25 100755 --- a/src/www-spong.pl +++ b/src/www-spong.pl @@ -12,7 +12,7 @@ # (3) Re-did as a client which gets info from the spong-server (07/24/1997) # (4) Did a whole bunch of stuff (Ed Hill, 06/18/1998) # -# $Id: www-spong.pl,v 1.17 2000/10/16 15:34:32 sljohnson Exp $ +# $Id: www-spong.pl,v 1.18 2000/11/15 17:25:29 sljohnson Exp $ use Sys::Hostname; use Getopt::Long; @@ -181,7 +181,7 @@ sub toplevel { print "Content-type: text/html\n\n"; print "\n"; print "Spong v$SPONGVER - System Status Monitor\n"; - print ""; + print ""; print "\n"; print "