Xymon Mailing List Archive search

Hobbit patch for highlighting of lines (used in blue theme)

7 messages in this thread

list Robert Holden · Tue, 19 Aug 2008 14:09:41 -0700 ·
Here is my suggested patch for 4.2.0 of hobbit to allow for highlighting of
lines when mouse-over.  This is a fairly simple change to 1 file
(pagegen.c).

I stored a copy of the patch here:
   http://www.uunc.net/hobbitmon/hobbit-4.2.0-pagegen.c.patch

This patch is utilized by the Blue Themed hobbit:
   http://www.uunc.net/hobbitmon/blue-theme.tar.gz

I will post updates to these files and others at:
   http://www.uunc.net/hobbitmon

Robert
Attachments (1)
list Dns · Tue, 19 Aug 2008 22:48:00 -0700 (PDT) ·
Hi Robert,
May a stupid question: How do i apply the patch?
Thanks...
Kind regards,
DNS
quoted from Robert Holden


----- Original Message ----
From: Robert Holden <user-25cd5b2bea13@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Tuesday, August 19, 2008 11:09:41 PM
Subject: [hobbit] Hobbit patch for highlighting of lines (used in blue theme)


Here is my suggested patch for 4.2.0 of hobbit to allow for highlighting of lines when mouse-over.  This is a fairly simple change to 1 file (pagegen.c).

I stored a copy of the patch here:
   http://www.uunc.net/hobbitmon/hobbit-4.2.0-pagegen.c.patch

This patch is utilized by the Blue Themed hobbit:
   http://www.uunc.net/hobbitmon/blue-theme.tar.gz

I will post updates to these files and others at:
   http://www.uunc.net/hobbitmon

Robert
list Josh Luthman · Wed, 20 Aug 2008 01:58:04 -0400 ·
Maybe something here would help?

http://www.hobbitmon.com/patches/

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
quoted from Dns


On Wed, Aug 20, 2008 at 1:48 AM, DNS <user-08e747311acb@xymon.invalid> wrote:
Hi Robert,


May a stupid question: How do i apply the patch?


Thanks...


Kind regards,


DNS


----- Original Message ----
From: Robert Holden <user-25cd5b2bea13@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Tuesday, August 19, 2008 11:09:41 PM
Subject: [hobbit] Hobbit patch for highlighting of lines (used in blue
theme)


Here is my suggested patch for 4.2.0 of hobbit to allow for highlighting of
lines when mouse-over.  This is a fairly simple change to 1 file
(pagegen.c).

I stored a copy of the patch here:
   http://www.uunc.net/hobbitmon/hobbit-4.2.0-pagegen.c.patch

This patch is utilized by the Blue Themed hobbit:
   http://www.uunc.net/hobbitmon/blue-theme.tar.gz

I will post updates to these files and others at:
   http://www.uunc.net/hobbitmon

Robert

list Joshua Krause · Wed, 20 Aug 2008 13:37:04 -0400 ·
I applied the blue-theme and followed the readme.  But I don't get a menu,
no gifs show up and all my lettering is white.  Did I do something wrong?

 
-Josh
quoted from Robert Holden

 
From: Robert Holden [mailto:user-25cd5b2bea13@xymon.invalid] 
Sent: Tuesday, August 19, 2008 5:10 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit patch for highlighting of lines (used in blue
theme)

 
Here is my suggested patch for 4.2.0 of hobbit to allow for highlighting of
lines when mouse-over.  This is a fairly simple change to 1 file
(pagegen.c).

I stored a copy of the patch here:
   http://www.uunc.net/hobbitmon/hobbit-4.2.0-pagegen.c.patch

This patch is utilized by the Blue Themed hobbit:
   http://www.uunc.net/hobbitmon/blue-theme.tar.gz

I will post updates to these files and others at:
   http://www.uunc.net/hobbitmon

Robert
list Robert Holden · Wed, 20 Aug 2008 10:50:56 -0700 ·
Couple of things to check ...
  1. ownership / permissions
  2. path issues  (load the page, then check view page source) ... look in
the section titled 'Begin bulletin_header' (that file is used for the css
and javascripts, graphics) ... verify that they are showing the correct path
to the files (menu.css, theme-notIE.css, theme.css, menu.js, menu_items.js,
menu_tpl.js and any gifs)
  4. verify that you overwrote an existing web/www directory structure,
otherwise there will be missing files (I only posted the files I changed,
not all files in the directory)
  5. Try showing what is in all the variables (debugging of sorts) by
relinking bulletin_footer to bulletin_footer.show-variables (instead of
bulletin_footer.good).  On the botton of all pages it will show many of the
variables used by hobbit (well, the ones I could find).  It may take a
minute or so to update on the bb.htm and bb2.htm pages as these are
recreated every few minutes.  Reports update immediately.

Let me know what you discover.

Robert
quoted from Joshua Krause


On Wed, Aug 20, 2008 at 10:37 AM, Joshua Krause <user-41d3365fe380@xymon.invalid>wrote:
 I applied the blue-theme and followed the readme.  But I don't get a
menu, no gifs show up and all my lettering is white.  Did I do something
wrong?


-Josh


*From:* Robert Holden [mailto:user-25cd5b2bea13@xymon.invalid]
*Sent:* Tuesday, August 19, 2008 5:10 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] Hobbit patch for highlighting of lines (used in blue
theme)


Here is my suggested patch for 4.2.0 of hobbit to allow for highlighting of
lines when mouse-over.  This is a fairly simple change to 1 file
(pagegen.c).

I stored a copy of the patch here:
   http://www.uunc.net/hobbitmon/hobbit-4.2.0-pagegen.c.patch

This patch is utilized by the Blue Themed hobbit:
   http://www.uunc.net/hobbitmon/blue-theme.tar.gz

I will post updates to these files and others at:
   http://www.uunc.net/hobbitmon

Robert

list Joshua Krause · Wed, 20 Aug 2008 14:34:16 -0400 ·
Won't be able to try til tomorrow but will look into it and get back with
you.  I just went back to the old way.

 
Thanks,
quoted from Robert Holden

 
-Josh

 
From: Robert Holden [mailto:user-25cd5b2bea13@xymon.invalid] 
Sent: Wednesday, August 20, 2008 1:51 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Hobbit patch for highlighting of lines (used in blue
theme)

 
Couple of things to check ...
  1. ownership / permissions
  2. path issues  (load the page, then check view page source) ... look in
the section titled 'Begin bulletin_header' (that file is used for the css
and javascripts, graphics) ... verify that they are showing the correct path
to the files (menu.css, theme-notIE.css, theme.css, menu.js, menu_items.js,
menu_tpl.js and any gifs)
  4. verify that you overwrote an existing web/www directory structure,
otherwise there will be missing files (I only posted the files I changed,
not all files in the directory)
  5. Try showing what is in all the variables (debugging of sorts) by
relinking bulletin_footer to bulletin_footer.show-variables (instead of
bulletin_footer.good).  On the botton of all pages it will show many of the
variables used by hobbit (well, the ones I could find).  It may take a
minute or so to update on the bb.htm and bb2.htm pages as these are
recreated every few minutes.  Reports update immediately.

Let me know what you discover.

Robert


On Wed, Aug 20, 2008 at 10:37 AM, Joshua Krause <user-41d3365fe380@xymon.invalid>
quoted from Robert Holden
wrote:

I applied the blue-theme and followed the readme.  But I don't get a menu,
no gifs show up and all my lettering is white.  Did I do something wrong?

 
-Josh

 
From: Robert Holden [mailto:user-25cd5b2bea13@xymon.invalid] 
Sent: Tuesday, August 19, 2008 5:10 PM
To: user-ae9b8668bcde@xymon.invalid


Subject: [hobbit] Hobbit patch for highlighting of lines (used in blue
theme)

 
Here is my suggested patch for 4.2.0 of hobbit to allow for highlighting of
lines when mouse-over.  This is a fairly simple change to 1 file
(pagegen.c).

I stored a copy of the patch here:
   http://www.uunc.net/hobbitmon/hobbit-4.2.0-pagegen.c.patch

This patch is utilized by the Blue Themed hobbit:
   http://www.uunc.net/hobbitmon/blue-theme.tar.gz

I will post updates to these files and others at:
   http://www.uunc.net/hobbitmon

Robert
list Henrik Størner · Mon, 25 Aug 2008 21:02:08 +0000 (UTC) ·
quoted from Robert Holden
In <user-d6b562cd7722@xymon.invalid> "Robert Holden" <user-25cd5b2bea13@xymon.invalid> writes:
Here is my suggested patch for 4.2.0 of hobbit to allow for highlighting of
lines when mouse-over.  This is a fairly simple change to 1 file
(pagegen.c).
It just adds a "class=line" to the <td> tag, simple enough. Applied
on my copy, so I'll check it into SVN later tonight.


Regards,
henrik