purrdy css

git-svn-id: http://www.observium.org/svn/observer/trunk@2117 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-04-20 17:22:21 +00:00
parent 354d4f0d6d
commit 44908290dd
2 changed files with 5 additions and 5 deletions

View File

@@ -326,19 +326,19 @@ A.orange:visited, a.orange, .orange { color: #FF7400; }
font-weight: bold;
}
.list-device, .list-device-ignored, .list-device-down, .list-device-ignored-up {
a.list-device, a.list-device-ignored, a.list-device-down, a.list-device-ignored-up {
font-weight: bold;
}
.row-alert {
tr.list-device-down {
border: 2px solid #cc0000;
}
.device-head, .list-device {
.device-head, a.list-device {
color: #000ccc;
}
.list-device-down, a.list-device-down, a.list-device-down:visited {
a.list-device-down, a.list-device-down, a.list-device-down:visited {
color: #cc0000;
}

View File

@@ -26,7 +26,7 @@ $device['os_text'] = $config['os'][$device['os']]['text'];
$port_count = mysql_result(mysql_query("SELECT COUNT(*) FROM `ports` WHERE `device_id` = '".$device['device_id']."'"),0);
$sensor_count = mysql_result(mysql_query("SELECT COUNT(*) FROM `sensors` WHERE `device_id` = '".$device['device_id']."'"),0);
echo(' <tr class="'.$tr.'" bgcolor="' . $bg . '" onmouseover="this.style.backgroundColor=\'#fdd\';" onmouseout="this.style.backgroundColor=\'' . $bg . '\';"
echo(' <tr class="'.$class.'" bgcolor="' . $bg . '" onmouseover="this.style.backgroundColor=\'#fdd\';" onmouseout="this.style.backgroundColor=\'' . $bg . '\';"
onclick="location.href=\'device/'.$device['device_id'].'/\'" style="cursor: pointer;">
<td width="40" align="center" valign="middle">' . $image . '</td>
<td width="300"><span style="font-weight: bold; font-size: 14px;">' . generate_device_link($device) . '</span>