mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2010-06-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/group_view.php: Fixed the dislocated table of groups view for bug 3010017 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
71731195ec
commit
46a00301c9
@ -1,3 +1,9 @@
|
|||||||
|
2010-06-01 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* operation/agentes/group_view.php: Fixed the
|
||||||
|
dislocated table of groups view for bug
|
||||||
|
3010017
|
||||||
|
|
||||||
2010-06-01 Sergio Martin <sergio.martin@artica.es>
|
2010-06-01 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* operation/agentes/status_monitor.php: Fixed the width
|
* operation/agentes/status_monitor.php: Fixed the width
|
||||||
|
@ -130,14 +130,13 @@ foreach ($groups as $id_group => $group_name) {
|
|||||||
echo "</td>";
|
echo "</td>";
|
||||||
|
|
||||||
// Total agents
|
// Total agents
|
||||||
echo "<td style='font-weight: bold; font-size: 18px;'>";
|
echo "<td style='font-weight: bold; font-size: 18px; text-align: center;'>";
|
||||||
echo " ";
|
|
||||||
if ($data["total_agents"] > 0)
|
if ($data["total_agents"] > 0)
|
||||||
echo $data["total_agents"];
|
echo $data["total_agents"];
|
||||||
|
|
||||||
// Agents unknown
|
// Agents unknown
|
||||||
if ($data["agents_unknown"] > 0) {
|
if ($data["agents_unknown"] > 0) {
|
||||||
echo "<td style='font-weight: bold; font-size: 18px; color: #886666;'>";
|
echo "<td style='font-weight: bold; font-size: 18px; color: #886666; text-align: center;'>";
|
||||||
echo $data["agents_unknown"];
|
echo $data["agents_unknown"];
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
} else {
|
} else {
|
||||||
@ -146,7 +145,7 @@ foreach ($groups as $id_group => $group_name) {
|
|||||||
|
|
||||||
// Monitors Unknown
|
// Monitors Unknown
|
||||||
if ($data["monitor_unknown"] > 0){
|
if ($data["monitor_unknown"] > 0){
|
||||||
echo "<td style='font-weight: bold; font-size: 18px; color: #666;'>";
|
echo "<td style='font-weight: bold; font-size: 18px; color: #666; text-align: center;'>";
|
||||||
echo $data["monitor_unknown"];
|
echo $data["monitor_unknown"];
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
} else {
|
} else {
|
||||||
@ -156,7 +155,7 @@ foreach ($groups as $id_group => $group_name) {
|
|||||||
|
|
||||||
// Monitors NonInit
|
// Monitors NonInit
|
||||||
if ($data["monitor_non_init"] > 0){
|
if ($data["monitor_non_init"] > 0){
|
||||||
echo "<td style='font-weight: bold; font-size: 18px; color #666;'>";
|
echo "<td style='font-weight: bold; font-size: 18px; color #666; text-align: center;'>";
|
||||||
echo $data["monitor_non_init"];
|
echo $data["monitor_non_init"];
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
} else {
|
} else {
|
||||||
@ -165,7 +164,7 @@ foreach ($groups as $id_group => $group_name) {
|
|||||||
|
|
||||||
|
|
||||||
// Monitors OK
|
// Monitors OK
|
||||||
echo "<td style='font-weight: bold; font-size: 18px; color: #6ec300;'>";
|
echo "<td style='font-weight: bold; font-size: 18px; color: #6ec300; text-align: center;'>";
|
||||||
if ($data["monitor_ok"] > 0)
|
if ($data["monitor_ok"] > 0)
|
||||||
echo $data["monitor_ok"];
|
echo $data["monitor_ok"];
|
||||||
else
|
else
|
||||||
@ -174,7 +173,7 @@ foreach ($groups as $id_group => $group_name) {
|
|||||||
|
|
||||||
// Monitors Warning
|
// Monitors Warning
|
||||||
if ($data["monitor_warning"] > 0){
|
if ($data["monitor_warning"] > 0){
|
||||||
echo "<td style='font-weight: bold; font-size: 18px; color: #aba900;'>";
|
echo "<td style='font-weight: bold; font-size: 18px; color: #aba900; text-align: center;'>";
|
||||||
echo $data["monitor_warning"];
|
echo $data["monitor_warning"];
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
} else {
|
} else {
|
||||||
@ -183,7 +182,7 @@ foreach ($groups as $id_group => $group_name) {
|
|||||||
|
|
||||||
// Monitors Critical
|
// Monitors Critical
|
||||||
if ($data["monitor_critical"] > 0){
|
if ($data["monitor_critical"] > 0){
|
||||||
echo "<td style='font-weight: bold; font-size: 18px; color: #bc0000'>";
|
echo "<td style='font-weight: bold; font-size: 18px; color: #bc0000; text-align: center;'>";
|
||||||
echo $data["monitor_critical"];
|
echo $data["monitor_critical"];
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
} else {
|
} else {
|
||||||
@ -191,7 +190,7 @@ foreach ($groups as $id_group => $group_name) {
|
|||||||
}
|
}
|
||||||
// Alerts fired
|
// Alerts fired
|
||||||
if ($data["monitor_alerts_fired"] > 0){
|
if ($data["monitor_alerts_fired"] > 0){
|
||||||
echo "<td style='font-weight: bold; font-size: 18px; color: #8b01ae;'>";
|
echo "<td style='font-weight: bold; font-size: 18px; color: #8b01ae; text-align: center;'>";
|
||||||
echo $data["monitor_alerts_fired"];
|
echo $data["monitor_alerts_fired"];
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user