diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-11-21 20:34:49 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2004-11-21 20:34:49 +0000 |
| commit | 257cbef00a3771c36a041ad862fb9e2a102ddaf3 (patch) | |
| tree | 47b2149b6de1e6b2aa86e7131e29ac91b7ec3891 /frontends | |
| parent | 15e6595ee5942a361cdc0152845c2678cbe61de1 (diff) | |
| download | zabbix-257cbef00a3771c36a041ad862fb9e2a102ddaf3.tar.gz zabbix-257cbef00a3771c36a041ad862fb9e2a102ddaf3.tar.xz zabbix-257cbef00a3771c36a041ad862fb9e2a102ddaf3.zip | |
Cosmetic changes.
git-svn-id: svn://svn.zabbix.com/trunk@1504 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/php/css.css | 34 | ||||
| -rw-r--r-- | frontends/php/hosts.php | 4 | ||||
| -rw-r--r-- | frontends/php/include/forms.inc.php | 1 | ||||
| -rw-r--r-- | frontends/php/items.php | 4 |
4 files changed, 26 insertions, 17 deletions
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"=>"<a href=\"hosts.php?hostid=".$row["hostid"]."®ister=changestatus&status=1\">".S_MONITORED."</a>","class"=>"off"); + $status=array("value"=>"<a class=\"off\" href=\"hosts.php?hostid=".$row["hostid"]."®ister=changestatus&status=1\">".S_MONITORED."</a>","class"=>"off"); else if($row["status"] == 1) - $status=array("value"=>"<a href=\"hosts.php?hostid=".$row["hostid"]."®ister=changestatus&status=0\">".S_NOT_MONITORED."</a>","class"=>"on"); + $status=array("value"=>"<a class=\"on\" href=\"hosts.php?hostid=".$row["hostid"]."®ister=changestatus&status=0\">".S_NOT_MONITORED."</a>","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 "<br>"; 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"=>"<a href=\"items.php?itemid=".$row["itemid"]."&hostid=".$_GET["hostid"]."®ister=changestatus&status=1\">".S_ACTIVE."</a>","class"=>"off"); + $status=array("value"=>"<a class=\"off\" href=\"items.php?itemid=".$row["itemid"]."&hostid=".$_GET["hostid"]."®ister=changestatus&status=1\">".S_ACTIVE."</a>","class"=>"off"); break; case 1: - $status=array("value"=>"<a href=\"items.php?itemid=".$row["itemid"]."&hostid=".$_GET["hostid"]."®ister=changestatus&status=0\">".S_NOT_ACTIVE."</a>","class"=>"on"); + $status=array("value"=>"<a class=\"on\" href=\"items.php?itemid=".$row["itemid"]."&hostid=".$_GET["hostid"]."®ister=changestatus&status=0\">".S_NOT_ACTIVE."</a>","class"=>"on"); break; case 3: $status=array("value"=>S_NOT_SUPPORTED,"class"=>"unknown"); |
