<p dir="ltr">Like the table.  Really hate the white bg :(</p>
<p dir="ltr">Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373</p>
<div class="gmail_quote">On Dec 4, 2015 11:20 AM, "Isaac W Traxler" <<a href="mailto:traxler@lsu.edu">traxler@lsu.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Here is something I was toying arouond with a while back.<br>
<br>
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.<br>
- libcolor.h needed a change.<br>
- 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.<br>
<br>
Comments?<br>
<br>
The patchfile for pagegen is 51 lines (to give an idea of tweaks):<br>
- add table to store class names<br>
char td_style_table[COL_COUNT+1][7] = {"green", "clear", "blue", "purple", "yellow", "red", "miss"};<br>
<br>
- change<br>
  fprintf(output, "<td align=center>");<br>
to this<br>
  fprintf(output, "<TD class=\"td%s\">", td_style_table[e->color]);<br>
<br>
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).<br>
<br>
--<br>
Isaac Traxler<br>
Storage & Infrastructure Manager<br>
High Performance Computing<br>
Louisiana State University, LONI<br>
325 Frey Computing Center, Baton Rouge, LA 70803<br>
<a href="tel:225-578-1923" value="+12255781923" target="_blank">225-578-1923</a> | <a href="mailto:traxler@lsu.edu" target="_blank">traxler@lsu.edu</a><br>
<br>
On Fri, 4 Dec 2015, Riaan Pretorius [GMAIL] wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Date: Fri, 4 Dec 2015 09:17:36<br>
From: "Riaan Pretorius [GMAIL]" <<a href="mailto:pretorius.riaan@gmail.com" target="_blank">pretorius.riaan@gmail.com</a>><br>
To: <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
Subject: [Xymon] Idea about GUI<br>
<br>
?Good Day,<br>
<br>
I have a suggestion for a XYMON UI update. Please let me know what you think of the idea?<br>
<br>
<br>
[IMAGE]<br>
<br>
<br>
[IMAGE]<br>
?<br>
Riaan<br>
<br>
</blockquote>
<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div>