Ad Widget
Collapse
PATCH: Vertical hostnames in overview page
Collapse
X
-
Tags: None
-
HI and thx
Can you give me an Example.
I get the following errors
pc-52:/var/www# patch -i vertical_header_overview.diff.txt
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN zabbix11beta6/css.css zabbix_new/css.css
|--- zabbix11beta6/css.css 2006-01-27 09:51:37.000000000 -0500
|+++ zabbix_new/css.css 2006-01-31 09:14:23.000000000 -0500
--------------------------
File to patch: -
Can this be implemented for Mozilla somehow? Is it something non-standard?Comment
-
I am not an css expert. But it seems that the filter being used in the Stylesheet is not available in Mozilla or Firefox.Originally posted by AlexeiCan this be implemented for Mozilla somehow? Is it something non-standard?
So if this should be implemented and work with browers other than Internet Explorer, then one way to go might be to render on the server as stated by edeus.http://www.intellitrend.de
Specialised in monitoring large environments and Zabbix API programming.Comment
-
This is correct. The CSS attribute that is used is non-standard and IE specific. I've been out of town for the last week so I haven't looked into this further, but I'll see what I can come up with for using the PHP-GD library to make the names.
-cameronLast edited by cameronsto; 14-02-2006, 18:15.Comment
-
Here's an updated patch. DISCLAIMER: I have not tested this. I don't have a 1.1beta7 installation so I'm just working with the source and haven't actually put this patch in place and seen the results. If anyone is brave enough to try this please post back and let everyone else know. The changes are minimal so the only possible impact will be a messed up overview page until you fix it.
I've attached the patch and also an UNDO patch in case this breaks things.
-cameron
Note: removed patch file since it didn't work.Last edited by cameronsto; 11-03-2006, 20:41.Comment
-
The previous patch didn't seem to work because the necessary css styles can't be applied to a row, only a cell or span. The attached patch here should apply it as a span.
-cameronComment
-
Hi Cameron,
Success - it works!! I have modified the patch slightly to enable a few more tweaks:
- Changed line format of diff file to Unix
- Removed hosts array line from overview.php (caused duplication of headers)
- Added vertical-align: bottom; to the css.css file to align headers
- Changed ' to " in the span class
I have attached the patch to this post. Many, many thanks Cameron - without your help I would never have got this to work!
Thanks!
JohnComment
Comment