diff --git a/html/css/styles.css b/html/css/styles.css index 6e72a0cb1..4bd912d5b 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -499,11 +499,33 @@ a.list-device-disabled, a.list-device-disabled:visited { } .boxes { - width: 350px; - height: 200px; vertical-align: center; } +.box { + width: 350px; + height: 300px; + padding: 0px; + vertical-align: center; +} + +.top10 { + padding: 0px; + margin: 0px; +} + +.welcome { + padding-right: 25px; +} + +table.simple { + border: 0px; + padding: 0px; + margin: 0px; + width: 100%; + text-align: left; +} + .left-2-col-fluid { display: table-cell; margin-right: 400px; @@ -1560,16 +1582,3 @@ tr.search:nth-child(odd) { margin: 2px; } -.box { -} - -.welcome { - padding-right: 25px; -} - -.simple { - border: 0px; - width: 100%; - text-align: left; -} - diff --git a/html/includes/front/top_device_bits.inc.php b/html/includes/front/top_device_bits.inc.php index bdf9dbcb1..351f0ba43 100644 --- a/html/includes/front/top_device_bits.inc.php +++ b/html/includes/front/top_device_bits.inc.php @@ -31,10 +31,10 @@ $query = " echo("Top $top devices (last $minutes minutes)\n"); echo("
| ".generate_device_link($result, shorthost($result['hostname']))." | ". - "".generate_device_link($result, - generate_minigraph_image($result, $config['time']['day'], $config['time']['now'], "device_bits", "no", 150, 21, '&'), array(), 0, 0, 0)." | ". + echo("
| ".generate_device_link($result, shorthost($result['hostname']))." | ". + "".generate_device_link($result, + generate_minigraph_image($result, $config['time']['day'], $config['time']['now'], "device_bits", "no", 150, 21, '&', "top10"), array(), 0, 0, 0)." | ". "
| ". - generate_device_link($result, shorthost($result['hostname'])). - " | ".generate_port_link($result). - " | ".generate_port_link($result, generate_port_thumbnail($result))." |
| ".generate_device_link($result, shorthost($result['hostname']))." | ". + "".generate_port_link($result)." | ". + "".generate_port_link($result, generate_port_thumbnail($result))." | ". + "