[Xymon] html classes

Galen Johnson Galen.Johnson at sas.com
Mon Jun 19 22:18:17 CEST 2017

I thought there was some effort to make Xymon more themable.  It may be Xymon 5 (if it's ever released).  If not, it'd be nice to see some work done to handle this in current xymon.  I've considered going through the code myself.  I just don't want to have to patch everything whenever a new release comes out and I've since switched to the Terabithia RPMs.


From: Xymon <xymon-bounces at xymon.com> on behalf of Taylor, Robert <Robert.Taylor at HendrickAuto.com>
Sent: Monday, June 19, 2017 3:36 PM
To: Boldt, David
Cc: xymon at xymon.com
Subject: Re: [Xymon] html classes


I did this a few years ago and had no idea where to post my code. If you are going to do this, I'd do it with bootstrap or zurb classes so it's easily extended.

Sent from my iPhone

On Jun 19, 2017, at 3:34 PM, Boldt, David <dboldt at usgs.gov<mailto:dboldt at usgs.gov>> wrote:

Not sure if this is the right venue for posting feature requests, but it would be useful if html which is generated by programs specified unique html classes wherever possible to allow CSS styling. An example, for Information Tables:

*** web/csvinfo.c       2017-06-19 14:14:13.186316715 -0500
--- web/csvinfo.c.new   2017-06-19 14:11:16.385617041 -0500
*** 185,191 ****
          sethostenv(wantedname, "", "", colorname(bgcolor), NULL);
          headfoot(stdout, hffile, "", "header", bgcolor);

!       printf("<table align=center border=1 summary=\"Information table\">\n");

        for (i=0; (headers[i]); i++) {
--- 185,191 ----
          sethostenv(wantedname, "", "", colorname(bgcolor), NULL);
          headfoot(stdout, hffile, "", "header", bgcolor);

!       printf("<table class=\"informationTable\" align=center border=1 summary=\"Information table\">\n");

        for (i=0; (headers[i]); i++) {

which would permit one to specify in file:

table.informationTable td { margin-left: 1em; margin-right: 1em }

to add a little spacing within the table cells around the text.

                                         -- David Boldt
                                            <dboldt at usgs.gov<mailto:dboldt at usgs.gov>>

Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>


This e-mail is intended only for the addressee named above. It contains information that is privileged, confidential or otherwise protected from use and disclosure. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, or dissemination of this transmission, or taking of any action in reliance on its contents, or other use is strictly prohibited. If you have received this transmission in error, please reply to the sender listed above immediately and permanently delete this message from your inbox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170619/2e1ed0e3/attachment.html>

More information about the Xymon mailing list