[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xymon] Hobbit WebPage Question
- To: <xymon (at) xymon.com>
- Subject: RE: [xymon] Hobbit WebPage Question
- From: "SebA" <spa (at) syntec.co.uk>
- Date: Wed, 26 Jan 2011 15:10:20 -0000
- References: <BAY145-w41B73E3F0C745A39BDA0C6CFFF0 (at) phx.gbl> <ihpamj$h1f$1 (at) voodoo.hswn.dk> <!&!AAAAAAAAAAAuAAAAAAAAAL60wriLM9cRsTVojW0AAAABAFEdQVQs6tMRsLEAoMxarIMAAAABk2cAABAAAACWbjCt7J8rT4WqDx/QKTP+AQAAAAA= (at) syntec.co.uk>
- Thread-index: Acu9ZKho4qRKfFRqSI60/GByira4CgAA4ryQAACL90A=
SebA <mailto:spa (at) syntec.co.uk> wrote:
> Henrik Størner <mailto:henrik (at) hswn.dk> wrote:
>> In <BAY145-w41B73E3F0C745A39BDA0C6CFFF0 (at) phx.gbl> James
>> Isolder <isolderj (at) hotmail.com> writes:
>>
>>> I wonder if it would be possible on the All Non Green View to have
>>> instead = of gifs how long the service has been in that state with
>>> the relevant colou= r.
>>
>> That information is available if you let your mouse "hover" over the
>> status icon.
>>
>> It is possible to change from showing the status icon to showing
>> the duration of the latest status - I've included a small patch
>> against 4.3.0-RC1 that does this (on the "All non-green" and the
>> "Critical systems" pages, and only for red/yellow status). But I
>> don't think it is something that I would want generally.
>>
>> Regards,
>> Henrik
>
> Hmm, this display actually looks quite useful (using my imagination)!
> But ideally it would not be something compiled in, but available
> via clicking a
> button, probably using CSS
> (http://www.thesitewizard.com/javascripts/change-style-sheets.
> shtml), a bit like it is possible to change the size of text on some
> news pages by clicking on a couple of buttons on the web page, or
> other
> sites where it is
> possible to change the 'theme' or skin. I imagine this would
> not be too
> difficult to do (if the page used CSS already) as all the information
> already exists in the html.
>
> Regards,
>
> SebA
Actually, the above link uses JavaScript to make the CSS style you chose
saved in a cookie for a day. A simpler version, using just CSS, is given
here, although it does not save your preference:
http://www.thesitewizard.com/css/switch-alternate-css-styles.shtml
It is also not so obvious how to use it (as the buttons are in the browser
and not the page), and it is not supported in IE7 or Safari.
Regards,
SebA