Xymon Mailing List Archive search

Idea about GUI

list Isaac W Traxler
Fri, 4 Dec 2015 10:00:30 -0600 (CST)
Message-Id: <user-18a7c9c7beb0@xymon.invalid>

Here is something I was toying arouond with a while back.

All the changes (except a few) are done as tweaks to the the static html. - Two changes to config files (xymonmenu.cfg and xymonserver.cfg) were needed.
- libcolor.h needed a change.
- xymongen-pagegen.c needed changes to support each cell of the table having its own background color. The worst color of the page became a frame around the page instead of the background of the page.

Comments?

The patchfile for pagegen is 51 lines (to give an idea of tweaks):
- add table to store class names
char td_style_table[COL_COUNT+1][7] = {"green", "clear", "blue", "purple", "yellow", "red", "miss"};

- change
   fprintf(output, "<td align=center>");
to this
   fprintf(output, "<TD class=\"td%s\">", td_style_table[e->color]);

If there is interest I will update the patch files for latest version and pass on what I have so far. I had not quite got the framing perfect on some of the pages (last bug I think).

--
Isaac Traxler
Storage & Infrastructure Manager
High Performance Computing
Louisiana State University, LONI
325 Frey Computing Center, Baton Rouge, LA XXXXX
XXX-XXX-XXXX | user-4dfb0dbf036e@xymon.invalid

On Fri, 4 Dec 2015, Riaan Pretorius [GMAIL] wrote:
Date: Fri, 4 Dec 2015 09:17:36
From: "Riaan Pretorius [GMAIL]" <user-94c3bb44b125@xymon.invalid>
To: xymon at xymon.com
Subject: [Xymon] Idea about GUI

?Good Day,

I have a suggestion for a XYMON UI update. Please let me know what you think of the idea?


[IMAGE]


[IMAGE]
?
Riaan

Attachments (1)