Xymon Mailing List Archive search

Idea about GUI

list Josh Luthman
Fri, 4 Dec 2015 11:40:13 -0500
Message-Id: <CAN9qwJ8rnynwgyiNGY+Q+KMagnc7n=user-30c39ef9fdd0@xymon.invalid>

Like the table.  Really hate the white bg :(

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Dec 4, 2015 11:20 AM, "Isaac W Traxler" <user-4dfb0dbf036e@xymon.invalid> wrote:
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