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:[EMAIL PROTECTED]
Sent: Thursday, 13 November, 2003 10:02
To: [email protected]
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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to