From 7872a82a357f445a8fedded5e8138487c1e5982f Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 14 Feb 2013 15:29:05 +0000 Subject: [PATCH] 2013-02-14 Miguel de Dios * include/styles/pandora_legacy.css: cleaned source code. * include/styles/pandora_green.css: add rules for the group view. Fixes: #3576296 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 8 +++ .../include/styles/pandora_green.css | 54 +++++++++++++++++++ .../include/styles/pandora_legacy.css | 10 ++-- 3 files changed, 67 insertions(+), 5 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index c92b160bc4..c39728a35b 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2013-02-14 Miguel de Dios + + * include/styles/pandora_legacy.css: cleaned source code. + + * include/styles/pandora_green.css: add rules for the group view. + + Fixes: #3576296 + 2013-02-14 Miguel de Dios * include/constants.php: added constant dir for the mibs of snmp. diff --git a/pandora_console/include/styles/pandora_green.css b/pandora_console/include/styles/pandora_green.css index 526c85f897..4b60332656 100644 --- a/pandora_console/include/styles/pandora_green.css +++ b/pandora_console/include/styles/pandora_green.css @@ -1514,3 +1514,57 @@ div.cellBig { width: 30px !important; text-align: center; } + +/* Standard styles for status colos (groups, events, backgrounds...) */ + + +tr.group_view_crit, .group_view_crit { + background-color: #FA3030; +} + +tr.group_view_norm, .group_view_norm { + background-color: #ffffff; +} +tr.group_view_ok, .group_view_ok { + background-color: #00C000; +} + +tr.group_view_warn, .group_view_warn, tr.group_view_warn.a, a.group_view_warn, tr.a.group_view_warn { + background-color: #F5E535; +} + +a.group_view_warn { + color: #000; +} + +tr.group_view_alrm, .group_view_alrm { + background-color: #ED8701; +} + +tr.group_view_unk, .group_view_unk { + background-color: #C4C4C4; +} + +tr.group_view_data, .group_view_data { + color: #000; +} + +.group_view_data_unk { + color: #303030; +} + +.group_view_data_ok{ + color: #00C000; +} + +.group_view_data_crit { + color: #5C0000; +} + +.group_view_data_alrm { + color: #5C1D00; +} + +.group_view_data_warn { + color: #5C5900; +} \ No newline at end of file diff --git a/pandora_console/include/styles/pandora_legacy.css b/pandora_console/include/styles/pandora_legacy.css index 65c48b5254..8f203babed 100644 --- a/pandora_console/include/styles/pandora_legacy.css +++ b/pandora_console/include/styles/pandora_legacy.css @@ -31,7 +31,7 @@ svg * { body { text-align: center; background-color: #555555; - background-image: url(../../images/greyback.gif); + background-image: url(../../images/greyback.gif); margin: 0 auto; } @@ -39,11 +39,11 @@ body { /* Set rules to fill background */ min-height: 100%; min-width: 1024px; - + /* Set up proportionate scaling */ width: 100%; height: auto; - + /* Set up positioning */ position: fixed; top: 0; @@ -147,7 +147,7 @@ p.center { h1#log { font-size: 18px; margin-bottom: 0px; - color: #000; + color: #000; } h1#log_f { color: #c00; @@ -1518,4 +1518,4 @@ div.cellBig { } .visual_font_size_36pt, .visual_font_size_36pt > em, .visual_font_size_36pt > strong { font-size: 36pt; -} +} \ No newline at end of file