[rrd-users] Re: 14all.cgi Line Spacing

Alvaro Cornejo alvaro.cornejo at glenayre.com
Tue Nov 25 22:48:14 MET 2003


Hi Eric

Make the following modifications on the 14all.cgi script near line 776


	next if $tar =~ m/^[\$\^_]$/; # _ is not a real target
	print '<tr>' if $column == 0;
	print '<td>'; # MODIFIED LINE
	print "<p style='margin-left:0in; margin-top:.25in;
margin-bottom:0in'>"; # NEW LINE
	print	$q->p($q->a({href => "$my14all::meurl?log=$tar$cfgstr"},
$cfg->{targets}{title}{$tar})); # MODIFIED LINE
			
Play with values of margins to get the desired appearance

Regards

Alvaro




-----Original Message-----
From: Eric Brander [mailto:Eric_Mailing_List at rednarb.com]
Sent: Thursday, 13 November, 2003 10:02
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] 14all.cgi Line Spacing


I originally posted this on the MRTG list but got 0 response.  Perhaps
since this is RRDTool back-end that some of you brilliant people may be
able to assist with this problem...

I'm using 14all.cgi to display some MRTG/RRDTool generated images.  My
problem is with the index page, the one showing the daily graph for all
the interfaces in the .cfg.  The spacing of the title of each graph
makes it look like it belongs to the graph above it instead of below it.
It seems like there is an extra <br> after the title and before the
image and there needs to be a <br> after the image, before the title the
next image.  Is this something I can change in the .cgi itself?

TIA!

Eric Brander
Eric_Mailing_List at rednarb dot com

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list