Xymon Mailing List Archive search

Idea about GUI

4 messages in this thread

list Riaan Pretorius [gmail] · Fri, 4 Dec 2015 17:17:36 +0200 ·
​Good Day,

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


​
Riaan
Attachments (2)
list Josh Luthman · Fri, 4 Dec 2015 10:36:47 -0500 ·
Looks great.  I like the better gradient background.

I use HTTP auth, though.  I don't think the login page would interact the
same.


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

On Fri, Dec 4, 2015 at 10:17 AM, Riaan Pretorius [GMAIL] <
quoted from Riaan Pretorius [gmail]
user-94c3bb44b125@xymon.invalid> wrote:
​Good Day,

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


​
Riaan

list Isaac W Traxler · Fri, 4 Dec 2015 10:00:30 -0600 (CST) ·
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
quoted from Riaan Pretorius [gmail]

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)
list Josh Luthman · Fri, 4 Dec 2015 11:40:13 -0500 ·
Like the table.  Really hate the white bg :(
signature

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

quoted from Isaac W Traxler
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