Feature request: DESCR popup
Hi Hobbit's,
I would like to raise a litle feature request:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
I think it can be done by inserting an "ALT" html-tag in the page source-code. I looked into the pagegen.c and other modules but I didn't find the right place to hook in. And unfortunately I'm pretty poor in C programing.
Can someone give me a tip or is someone even able to code this (Henrik?)
Thanks Johann
Feel free to take a whack at it -- it can be done in Java script.
-----Original Message----- From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Sent: Thursday, July 19, 2007 8:01 AM To: hobbit at hswn.dk Subject: [hobbit] Feature request: DESCR popup
Hi Hobbit's,
I would like to raise a litle feature request:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
I think it can be done by inserting an "ALT" html-tag in the page source-code. I looked into the pagegen.c and other modules but I didn't find the right place to hook in. And unfortunately I'm pretty poor in C programing.
Can someone give me a tip or is someone even able to code this (Henrik?)
Thanks Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
There are several places, actually. The easiest thing to do is look at the page you want to modify, in the source. Each section has a div or a table separating the rest of it, usually labeled. For instance, on the bb2 page, the table has a SUMMARY of "Group Block" (this might be what we modified it to, but I was pretty sure it was in the base source as that).
Do a grep "Group Block" * while in the bbdisplay source directory
That will tell you what line that appears in, and that will be the function defining how that section is generated. Find the image tag, put an ALT and a TITLE in there, and you should be golden. Modify other sections accordingly.
Tod Hansmann Network Engineer
-----Original Message----- From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Sent: Thursday, July 19, 2007 7:01 AM To: hobbit at hswn.dk Subject: [hobbit] Feature request: DESCR popup
Hi Hobbit's,
I would like to raise a litle feature request:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
I think it can be done by inserting an "ALT" html-tag in the page source-code. I looked into the pagegen.c and other modules but I didn't find the right place to hook in. And unfortunately I'm pretty poor in C programing.
Can someone give me a tip or is someone even able to code this (Henrik?)
Thanks Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
We actually made a patch against the code to show the COMMENT tag with the host name.
So, if your config line looks like 192.168.1.99 wormhole.localdomain.com # fgtses COMMENT:"Firewall"
You get wormhole.localdomain.com (Firewall)
on your web pages.
I can see about generating a patch against 4.2.1, but we have some other features we added as well.
Stewart
Tod Hansmann wrote:
There are several places, actually. The easiest thing to do is look at the page you want to modify, in the source. Each section has a div or a table separating the rest of it, usually labeled. For instance, on the bb2 page, the table has a SUMMARY of "Group Block" (this might be what we modified it to, but I was pretty sure it was in the base source as that).
Do a grep "Group Block" * while in the bbdisplay source directory
That will tell you what line that appears in, and that will be the function defining how that section is generated. Find the image tag, put an ALT and a TITLE in there, and you should be golden. Modify other sections accordingly.
Tod Hansmann Network Engineer
-----Original Message----- From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Sent: Thursday, July 19, 2007 7:01 AM To: hobbit at hswn.dk Subject: [hobbit] Feature request: DESCR popup
Hi Hobbit's,
I would like to raise a litle feature request:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
I think it can be done by inserting an "ALT" html-tag in the page source-code. I looked into the pagegen.c and other modules but I didn't find the right place to hook in. And unfortunately I'm pretty poor in C programing.
Can someone give me a tip or is someone even able to code this (Henrik?)
Thanks Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Stewart Larsen
This sig intentionally left blank, other than this text explaining that if not for this text, this sig would be blank.
Our installation does that as well (4.2.0) but we made no modifications in that regard. Maybe the COMMENT functionality was adjusted recently, or your patch was incorporated?
Tod Hansmann Network Engineer
-----Original Message----- From: Stewart [mailto:stl19847 at yahoo.com] Sent: Thursday, July 19, 2007 9:12 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
We actually made a patch against the code to show the COMMENT tag with the host name.
So, if your config line looks like 192.168.1.99 wormhole.localdomain.com # fgtses COMMENT:"Firewall"
You get wormhole.localdomain.com (Firewall)
on your web pages.
I can see about generating a patch against 4.2.1, but we have some other
features we added as well.
Stewart
Tod Hansmann wrote:
There are several places, actually. The easiest thing to do is look at the page you want to modify, in the source. Each section has a div or a table separating the rest of it, usually labeled. For instance, on the bb2 page, the table has a SUMMARY of "Group Block" (this might be what we modified it to, but I was pretty sure it was in the base source as that).
Do a grep "Group Block" * while in the bbdisplay source directory
That will tell you what line that appears in, and that will be the function defining how that section is generated. Find the image tag, put an ALT and a TITLE in there, and you should be golden. Modify other sections accordingly.
Tod Hansmann Network Engineer
-----Original Message----- From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Sent: Thursday, July 19, 2007 7:01 AM To: hobbit at hswn.dk Subject: [hobbit] Feature request: DESCR popup
Hi Hobbit's,
I would like to raise a litle feature request:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
I think it can be done by inserting an "ALT" html-tag in the page source-code. I looked into the pagegen.c and other modules but I didn't find the right place to hook in. And unfortunately I'm pretty poor in C programing.
Can someone give me a tip or is someone even able to code this (Henrik?)
Thanks Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Stewart Larsen
This sig intentionally left blank, other than this text explaining that if not for this text, this sig would be blank.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-----Original Message----- From: Tod Hansmann [mailto:thansmann at directpointe.com] Sent: Donnerstag, 19. Juli 2007 17:28 To: hobbit at hswn.dk Subject: RE: [hobbit] Feature request: DESCR popup
Our installation does that as well (4.2.0) but we made no modifications in that regard. Maybe the COMMENT functionality was adjusted recently, or your patch was incorporated?
Tod Hansmann Network Engineer
-----Original Message----- From: Stewart [mailto:stl19847 at yahoo.com] Sent: Thursday, July 19, 2007 9:12 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
We actually made a patch against the code to show the COMMENT tag with the host name.
So, if your config line looks like 192.168.1.99 wormhole.localdomain.com # fgtses COMMENT:"Firewall"
You get wormhole.localdomain.com (Firewall)
on your web pages.
I can see about generating a patch against 4.2.1, but we have some other
features we added as well.
Stewart
The COMMENT tag is working well. But the COMMENT is displayed next to the hostname. I want the DESCR to be displayed in a tooltip box. I've searched and found a little java script which generates a tooltip box. It uses the onMouseOver event.
<script type="text/javascript" src="wz_tooltip.js"></script>
<a href="index.htm" onmouseover="Tip('Some Text')">Startpage</a>
My problem is how to read the DESCR out of the bb-hosts file and then integrate this in the html code.
Johann
Ah, I remember now... Our patch was for something different.
I manage over 400 firewalls. So we made the hostname a link to https://<IP>
Nevermind!
Stew
Johann Eggers wrote:
-----Original Message----- From: Tod Hansmann [mailto:thansmann at directpointe.com] Sent: Donnerstag, 19. Juli 2007 17:28 To: hobbit at hswn.dk Subject: RE: [hobbit] Feature request: DESCR popup
Our installation does that as well (4.2.0) but we made no modifications in that regard. Maybe the COMMENT functionality was adjusted recently, or your patch was incorporated?
Tod Hansmann Network Engineer
-----Original Message----- From: Stewart [mailto:stl19847 at yahoo.com] Sent: Thursday, July 19, 2007 9:12 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
We actually made a patch against the code to show the COMMENT tag with the host name.
So, if your config line looks like 192.168.1.99 wormhole.localdomain.com # fgtses COMMENT:"Firewall"
You get wormhole.localdomain.com (Firewall)
on your web pages.
I can see about generating a patch against 4.2.1, but we have some other features we added as well.
Stewart
The COMMENT tag is working well. But the COMMENT is displayed next to the hostname. I want the DESCR to be displayed in a tooltip box. I've searched and found a little java script which generates a tooltip box. It uses the onMouseOver event.
<script type="text/javascript" src="wz_tooltip.js"></script>
<a href="index.htm" onmouseover="Tip('Some Text')">Startpage</a>
My problem is how to read the DESCR out of the bb-hosts file and then integrate this in the html code.
Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Stewart Larsen
This sig intentionally left blank, other than this text explaining that if not for this text, this sig would be blank.
In the pagegen.c file, in do_host_bb2 function, we have this code after the /* Then the columns */ comment
if ((groupcols == NULL) && (h->banksize > 0)) {
int i, j;
char alttag[30];
unsigned int baseip, ip1, ip2, ip3, ip4;
sscanf(h->ip, "%u.%u.%u.%u", &ip1, &ip2,
&ip3, &ip4); baseip = IPtou32(ip1, ip2, ip3, ip4);
fprintf(output, "<TD ALIGN=CENTER><TABLE
BORDER=0>"); for (i=0; (i < h->banksize); i+=16) { fprintf(output, "<TR>\n"); for (j=i; (((j-i) < 16) && (j < h->banksize)); j++) { fprintf(output, "<TD ALIGN=CENTER VALIGN=BOTTOM WIDTH=%d>", width);
if (genstatic) {
/*
* Dont use
htmlextension here - it's for the * pages generated by bbd. */ fprintf(output, "<A HREF=\"%s/html/dialup.%s.html\">",
xgetenv("BBWEB"), h->hostname); } else { fprintf(output, "<A HREF=\"%s\">",
hostsvcurl("dialup", commafy(h->hostname), 1)); }
sprintf(alttag, "%s:%s",
u32toIP(baseip+j), colorname(h->banks[j])); fprintf(output, "<IMG SRC=\"%s/%s\" ALT=\"%s\" TITLE=\"%s\" HEIGHT=\"%s\" WIDTH=\"%s\" BORDER=0></A>", bbskin, dotgiffilename(h->banks[j], 0, 0), alttag, alttag, xgetenv("DOTHEIGHT"), xgetenv("DOTWIDTH"));
fprintf(output,
"</TD>\n"); } fprintf(output, "</TR>\n"); } fprintf(output, "</TABLE></TD>\n"); }
I hope that helps you with your issue here, but I'm told we commented all our changes (and I commented all mine). Since this is not commented with our standard, I assume this is normal code. I'm a bit too lazy to download the base 4.2.0 code and check, so maybe when I have some more time. For now, let me know if this is not what you have in your install. If you aren't at 4.2.0, maybe that's the issue =cP
Tod Hansmann Network Engineer
-----Original Message----- From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Sent: Thursday, July 19, 2007 9:39 AM To: hobbit at hswn.dk Subject: RE: [hobbit] Feature request: DESCR popup
-----Original Message----- From: Tod Hansmann [mailto:thansmann at directpointe.com] Sent: Donnerstag, 19. Juli 2007 17:28 To: hobbit at hswn.dk Subject: RE: [hobbit] Feature request: DESCR popup
Our installation does that as well (4.2.0) but we made no modifications in that regard. Maybe the COMMENT functionality was adjusted recently, or your patch was incorporated?
Tod Hansmann Network Engineer
-----Original Message----- From: Stewart [mailto:stl19847 at yahoo.com] Sent: Thursday, July 19, 2007 9:12 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
We actually made a patch against the code to show the COMMENT tag with the host name.
So, if your config line looks like 192.168.1.99 wormhole.localdomain.com # fgtses COMMENT:"Firewall"
You get wormhole.localdomain.com (Firewall)
on your web pages.
I can see about generating a patch against 4.2.1, but we have some other
features we added as well.
Stewart
The COMMENT tag is working well. But the COMMENT is displayed next to the hostname. I want the DESCR to be displayed in a tooltip box. I've searched and found a little java script which generates a tooltip box. It uses the onMouseOver event.
<script type="text/javascript" src="wz_tooltip.js"></script>
<a href="index.htm" onmouseover="Tip('Some Text')">Startpage</a>
My problem is how to read the DESCR out of the bb-hosts file and then integrate this in the html code.
Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I actually like the idea of the popup versus appending it (like it does now)...it saves valuable real estate that is better used to show your monitors.
=G=
-----Original Message----- From: Tod Hansmann [mailto:thansmann at directpointe.com] Sent: Thursday, July 19, 2007 11:28 AM To: hobbit at hswn.dk Subject: RE: [hobbit] Feature request: DESCR popup
Our installation does that as well (4.2.0) but we made no modifications in that regard. Maybe the COMMENT functionality was adjusted recently, or your patch was incorporated?
Tod Hansmann Network Engineer
-----Original Message----- From: Stewart [mailto:stl19847 at yahoo.com] Sent: Thursday, July 19, 2007 9:12 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
We actually made a patch against the code to show the COMMENT tag with the host name.
So, if your config line looks like 192.168.1.99 wormhole.localdomain.com # fgtses COMMENT:"Firewall"
You get wormhole.localdomain.com (Firewall)
on your web pages.
I can see about generating a patch against 4.2.1, but we have some other
features we added as well.
Stewart
Tod Hansmann wrote:
There are several places, actually. The easiest thing to do is look at the page you want to modify, in the source. Each section has a div or a table separating the rest of it, usually labeled. For instance, on the bb2 page, the table has a SUMMARY of "Group Block" (this might be what we modified it to, but I was pretty sure it was in the base source as that).
Do a grep "Group Block" * while in the bbdisplay source directory
That will tell you what line that appears in, and that will be the function defining how that section is generated. Find the image tag, put an ALT and a TITLE in there, and you should be golden. Modify other sections accordingly.
Tod Hansmann Network Engineer
-----Original Message----- From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] Sent: Thursday, July 19, 2007 7:01 AM To: hobbit at hswn.dk Subject: [hobbit] Feature request: DESCR popup
Hi Hobbit's,
I would like to raise a litle feature request:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
I think it can be done by inserting an "ALT" html-tag in the page source-code. I looked into the pagegen.c and other modules but I didn't find the right place to hook in. And unfortunately I'm pretty poor in C programing.
Can someone give me a tip or is someone even able to code this (Henrik?)
Thanks Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Stewart Larsen
This sig intentionally left blank, other than this text explaining that if not for this text, this sig would be blank.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
On Thu, Jul 19, 2007 at 03:00:42PM +0200, Johann Eggers wrote:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
OK, thanks to Marco Schoemaker's hint on how to do this in HTML, I've cooked up a patch that should do this.
Unlike Marco, I don't want to introduce yet another special tag for the tooltip. It will display the COMMENT text, or the DESCR text if there's no COMMENT defined. If neither exists, it will just display the hostname.
The attached patch is based on the current snapshot, but modified so it should work with Hobbit 4.2.0. Those on the bleeding edge version will have to wait for tonights snapshot.
Regards, Henrik
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Freitag, 20. Juli 2007 13:33 To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
On Thu, Jul 19, 2007 at 03:00:42PM +0200, Johann Eggers wrote:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
OK, thanks to Marco Schoemaker's hint on how to do this in HTML, I've cooked up a patch that should do this.
Unlike Marco, I don't want to introduce yet another special tag for the tooltip. It will display the COMMENT text, or the DESCR text if there's no COMMENT defined. If neither exists, it will just display the hostname.
The attached patch is based on the current snapshot, but modified so it should work with Hobbit 4.2.0. Those on the bleeding edge version will have to wait for tonights snapshot.
Regards, Henrik
Thanks a lot for this very quick implementation!!
I've tried it at my test system and it works perfect. Exactly what I had in mind when writing my mail to the list.
This (and all the others in the past) is a pretty good example of how flexible, quick and uncomplicated open source development is; espacially compared to commercial products.
Thanks again for all the contribution!
Regards Johann
OK, thanks to Marco Schoemaker's hint on how to do this in HTML, I've cooked up a patch that should do this.
Unlike Marco, I don't want to introduce yet another special tag for the tooltip. It will display the COMMENT text, or the DESCR text if there's no COMMENT defined. If neither exists, it will just display the hostname.
The attached patch is based on the current snapshot, but modified so it should work with Hobbit 4.2.0. Those on the bleeding edge version will have to wait for tonights snapshot.
Regards, Henrik
Thanks a lot for this very quick implementation!!
I've tried it at my test system and it works perfect. Exactly what I had in mind when writing my mail to the list.
One little problem:
It's not working for the bb2 page. There the DESCR is displayed next to the hostname. No <span ... > </span> tag in the html source.
Johann
On Fri, Jul 20, 2007 at 03:05:09PM +0200, Johann Eggers wrote:
One little problem:
It's not working for the bb2 page. There the DESCR is displayed next to the hostname. No <span ... > </span> tag in the html source.
I did that on purpose, actually.
There are quite a few people who have the BB2 or NK/Critical systems view up on a large screen someplace where everyone can see it - but moving the mouse is not possible, because you're too far away from the screen. So on those pages I've kept the comment visible instead of using a tooltip.
Regards, Henrik
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Freitag, 20. Juli 2007 23:11 To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
On Fri, Jul 20, 2007 at 03:05:09PM +0200, Johann Eggers wrote:
One little problem:
It's not working for the bb2 page. There the DESCR is displayed next to the hostname. No <span ... > </span> tag in the html source.
I did that on purpose, actually.
There are quite a few people who have the BB2 or NK/Critical systems view up on a large screen someplace where everyone can see it - but moving the mouse is not possible, because you're too far away from the screen. So on those pages I've kept the comment visible instead of using a tooltip.
What's about making this an option. E.g. in hobbitserver.cfg a new variable can control it:
BB2TOOLTIP=TRUE or FALSE
This way you can decide for yourself whether the information is displayed on the page or as a tooltip.
Regards Johann
Can someone define what is hobbit tooltip ? I will include the answer an FAQ on hobbit wiki FAQ.
T.J. Yang
From: "Johann Eggers" <Johann.Eggers at teleatlas.com> Reply-To: hobbit at hswn.dk To: <hobbit at hswn.dk> Subject: RE: [hobbit] Feature request: DESCR popup Date: Mon, 23 Jul 2007 11:44:36 +0200
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Freitag, 20. Juli 2007 23:11 To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
On Fri, Jul 20, 2007 at 03:05:09PM +0200, Johann Eggers wrote:
One little problem:
It's not working for the bb2 page. There the DESCR is displayed next to the hostname. No <span ... > </span> tag in the html source.
I did that on purpose, actually.
There are quite a few people who have the BB2 or NK/Critical systems view up on a large screen someplace where everyone can see it - but moving the mouse is not possible, because you're too far away from the screen. So on those pages I've kept the comment visible instead of using a tooltip.
What's about making this an option. E.g. in hobbitserver.cfg a new variable can control it:
BB2TOOLTIP=TRUE or FALSE
This way you can decide for yourself whether the information is displayed on the page or as a tooltip.
Regards Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Local listings, incredible imagery, and driving directions - all in one place! http://maps.live.com/?wip=69&FORM=MGAC01
I would also like it to be optional as we use comments for a quick view of which site the system is on.
ie BB2TOOLTIP=TRUE or FALSE
Cheers
"Johann Eggers" <Johann.Eggers at teleatlas.com> 23/07/2007 07:44 PM Please respond to hobbit at hswn.dk
To <hobbit at hswn.dk> cc
Subject RE: [hobbit] Feature request: DESCR popup
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Freitag, 20. Juli 2007 23:11 To: hobbit at hswn.dk Subject: Re: [hobbit] Feature request: DESCR popup
On Fri, Jul 20, 2007 at 03:05:09PM +0200, Johann Eggers wrote:
One little problem:
It's not working for the bb2 page. There the DESCR is displayed next to the hostname. No <span ... > </span> tag in the html source.
I did that on purpose, actually.
There are quite a few people who have the BB2 or NK/Critical systems view up on a large screen someplace where everyone can see it - but moving the mouse is not possible, because you're too far away from the screen. So on those pages I've kept the comment visible instead of using a tooltip.
What's about making this an option. E.g. in hobbitserver.cfg a new variable can control it:
BB2TOOLTIP=TRUE or FALSE
This way you can decide for yourself whether the information is displayed on the page or as a tooltip.
Regards Johann
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
IMPORTANT -
(1) The contents of this email and its attachments may be confidential and privileged. Any unauthorised use of the contents is expressly prohibited. If you receive this email in error, please contact us, and then delete the email.
(2) Before opening or using attachments, check them for viruses and defects. The contents of this email and its attachments may become scrambled, truncated or altered in transmission. Please notify us of any anomalies.
(3) Our liability is limited to resupplying the email and attached files or the cost of having them resupplied.
(4) We collect personal information to enable us to perform our functions. For more information about the use, access and disclosure of this information, refer to our privacy policy at our website.
(5) Please consider the environment before printing.
Hi Henrik, I've applied the patch using 4.2.0 + all-in-one and added COMMENT or DESCR flag under bb-hosts but no comment appears after the hostname... any idea why ?
Anyone had problem applying this patch ?
Giovanni M. Frainer - Gestor Profissional Certificado LPIC-1
Redix - Gestão em T.I. com Software Livre http://www.redix.com.br - contato at redix.com.br Tel. Coml.: +55 (47) 3323-7313 Tel. Cel.: +55 (47) 8401-6040
Henrik Stoerner wrote:
On Thu, Jul 19, 2007 at 03:00:42PM +0200, Johann Eggers wrote:
I like the functionality that when you hook the mousepointer over a dot a small box pops up and displays information in the form column:color:duration.
I (and also a lot of people in my company) would like to see this also for the hostname links. If a DESCR tag is in the bb-hosts file for this host it's content should be displayed in the little pop-up box. This way it's not necessary to view the info column each time to get this info.
OK, thanks to Marco Schoemaker's hint on how to do this in HTML, I've cooked up a patch that should do this.
Unlike Marco, I don't want to introduce yet another special tag for the tooltip. It will display the COMMENT text, or the DESCR text if there's no COMMENT defined. If neither exists, it will just display the hostname.
The attached patch is based on the current snapshot, but modified so it should work with Hobbit 4.2.0. Those on the bleeding edge version will have to wait for tonights snapshot.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (9)
-
David_Honey@itss.vic.gov.au
-
Galen.Johnson@sas.com
-
giovanni@redix.com.br
-
greg.hubbard@eds.com
-
henrik@hswn.dk
-
Johann.Eggers@teleatlas.com
-
stl19847@yahoo.com
-
thansmann@directpointe.com
-
tj_yang@hotmail.com