diff --git a/html/css/styles.css b/html/css/styles.css
index 4de7e3ce0..49ba5343e 100644
--- a/html/css/styles.css
+++ b/html/css/styles.css
@@ -1351,3 +1351,12 @@ a.interface-upup:hover, a.interface-updown:hover, a.interface-admindown:hover {
box-shadow: #CCC 0 0 .25em;
behavior: url(/css/PIE.htc);
}
+
+.devicetable {
+ border-collapse: collapse;
+}
+
+.paddedcell {
+ padding: 7px;
+}
+
diff --git a/html/includes/hostbox.inc.php b/html/includes/hostbox.inc.php
index 8591bda38..3e23e6a98 100644
--- a/html/includes/hostbox.inc.php
+++ b/html/includes/hostbox.inc.php
@@ -38,8 +38,8 @@ $sensor_count = dbFetchCell("SELECT COUNT(*) FROM `sensors` WHERE `device_id` =
echo('
|
- ' . $image . ' |
- ' . generate_device_link($device) . '
+ | ' . $image . ' |
+ ' . generate_device_link($device) . '
' . $device['sysName'] . ' | '
);
@@ -48,9 +48,9 @@ if ($port_count) { echo('
'.
echo('
');
if ($sensor_count) { echo('
'.$sensor_count); }
echo ('');
-echo(' ' . $device['hardware'] . ' ' . $device['features'] . ' | ');
-echo(' ' . $device['os_text'] . ' ' . $device['version'] . ' | ');
-echo(' ' . formatUptime($device['uptime'], 'short') . ' ');
+echo(' | ' . $device['hardware'] . ' ' . $device['features'] . ' | ');
+echo(' ' . $device['os_text'] . ' ' . $device['version'] . ' | ');
+echo(' ' . formatUptime($device['uptime'], 'short') . ' ');
if (get_dev_attrib($device,'override_sysLocation_bool')) { $device['location'] = get_dev_attrib($device,'override_sysLocation_string'); }
echo(' ' . truncate($device['location'],32, '') . ' | ');
diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php
index 764ad7be1..5f0e06d78 100644
--- a/html/pages/devices.inc.php
+++ b/html/pages/devices.inc.php
@@ -263,10 +263,18 @@ if($format == "graph")
} else {
- echo('');
+ echo('');
if ($subformat = "detail")
{
- echo(' | Device | | Operating System | Platform | Uptime/Location |
');
+ echo('
+ |
+ |
+ Device |
+ |
+ Operating System |
+ Platform |
+ Uptime/Location |
+
');
}
foreach (dbFetchRows($query, $sql_param) as $device)