From 257cbef00a3771c36a041ad862fb9e2a102ddaf3 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Sun, 21 Nov 2004 20:34:49 +0000 Subject: Cosmetic changes. git-svn-id: svn://svn.zabbix.com/trunk@1504 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/css.css | 34 ++++++++++++++++++++++------------ frontends/php/hosts.php | 4 ++-- frontends/php/include/forms.inc.php | 1 - frontends/php/items.php | 4 ++-- 4 files changed, 26 insertions(+), 17 deletions(-) (limited to 'frontends/php') diff --git a/frontends/php/css.css b/frontends/php/css.css index 560ea06d..f6790896 100644 --- a/frontends/php/css.css +++ b/frontends/php/css.css @@ -146,6 +146,16 @@ td,tr color: #00AA00; } +A.off:link +{ + color: #00AA00; +} + +A.on:link +{ + color: #AA0000; +} + .on { color: #AA0000; @@ -199,19 +209,19 @@ A.footer color:#CCCCCC; } - A {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10pt} - A:link {color:black; text-decoration: none; } - A:visited {color:black; text-decoration: none; } - A:hover {color:black; text-decoration: underline; } - A:active {color:black; text-decoration: underline;} +A {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10pt} +A:link {color:black; text-decoration: none; } +A:visited {color:black; text-decoration: none; } +A:hover {color:black; text-decoration: underline; } +A:active {color:black; text-decoration: underline;} - P {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:8pt; } - P:link {color:black; text-decoration: underline; } - P:visited {color:black; text-decoration: none; } - P:hover {color:black; text-decoration: none;} - P:active {color:black; text-decoration: underline;} - p.uppercase {text-transform: uppercase} - p.margin {margin-left: 10pt} +P {font-family:Verdana, Arial, Helvetica, sans-serif;font-size:8pt; } +P:link {color:black; text-decoration: underline; } +P:visited {color:black; text-decoration: none; } +P:hover {color:black; text-decoration: none;} +P:active {color:black; text-decoration: underline;} +p.uppercase {text-transform: uppercase} +p.margin {margin-left: 10pt} diff --git a/frontends/php/hosts.php b/frontends/php/hosts.php index 644790cf..060cfe5e 100644 --- a/frontends/php/hosts.php +++ b/frontends/php/hosts.php @@ -241,9 +241,9 @@ if(check_right("Host","U",$row["hostid"])) { if($row["status"] == 0) - $status=array("value"=>"".S_MONITORED."","class"=>"off"); + $status=array("value"=>"".S_MONITORED."","class"=>"off"); else if($row["status"] == 1) - $status=array("value"=>"".S_NOT_MONITORED."","class"=>"on"); + $status=array("value"=>"".S_NOT_MONITORED."","class"=>"on"); else if($row["status"] == 2) $status=array("value"=>S_UNREACHABLE,"class"=>"unknown"); else if($row["status"] == 3) diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php index c2097121..dfe59383 100644 --- a/frontends/php/include/forms.inc.php +++ b/frontends/php/include/forms.inc.php @@ -881,7 +881,6 @@ $yaxismax=$row["yaxismax"]; } - echo "
"; show_table2_header_begin(); echo S_GRAPH; diff --git a/frontends/php/items.php b/frontends/php/items.php index b2d57993..721217ec 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -247,10 +247,10 @@ switch($row["status"]) { case 0: - $status=array("value"=>"".S_ACTIVE."","class"=>"off"); + $status=array("value"=>"".S_ACTIVE."","class"=>"off"); break; case 1: - $status=array("value"=>"".S_NOT_ACTIVE."","class"=>"on"); + $status=array("value"=>"".S_NOT_ACTIVE."","class"=>"on"); break; case 3: $status=array("value"=>S_NOT_SUPPORTED,"class"=>"unknown"); -- cgit