diff --git a/html/css/styles.css b/html/css/styles.css index 27b565edcf..a110eaa9bb 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -348,6 +348,17 @@ A.purple:visited, a.purple, .purple { color: #740074; } color: #555; } +.graph-all-common { + display: block; + padding: 1px; + margin: 2px; + min-height:180px; + max-height:180px; + text-align: center; + float: left; + background-color: #f5f5f5; +} + .tablehead { font-weight: bold; font-size: 13px; @@ -1542,6 +1553,21 @@ tr.search:nth-child(odd) { margin: 2px; } +.minigraph-div { + display: block; + padding: 3px; + margin: 3px; + min-width: 183px; + max-width: 183px; + min-height: 90px; + max-height: 90px; + text-align: center; + float: left; + background-color: #e9e9e9; + border: solid 1px; + border-color: #e9e9e9; +} + .example-sports .league-name { margin: 0 20px 5px 20px; padding: 3px 0; diff --git a/includes/html/pages/device/ports.inc.php b/includes/html/pages/device/ports.inc.php index cdf4742092..df50e1dda9 100644 --- a/includes/html/pages/device/ports.inc.php +++ b/includes/html/pages/device/ports.inc.php @@ -104,12 +104,10 @@ if ($vars['view'] == 'minigraphs') { // FIXME - FIX THIS. UGLY. foreach (dbFetchRows('select * from ports WHERE device_id = ? AND `disabled` = 0 ORDER BY ifIndex', array($device['device_id'])) as $port) { $port = cleanPort($port, $device); - echo "
-
".makeshortif($port['ifDescr']).'
- \ -
".$device['hostname'].' - '.$port['ifDescr'].'
\ - '.$port['ifAlias']." \ + echo "
".makeshortif($port['ifDescr'])."
+
\ +
".$device['hostname']." - ".$port['ifDescr']."
\ + ".$port['ifAlias']."\ \
\ ', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >"." diff --git a/includes/html/pages/ports/graph.inc.php b/includes/html/pages/ports/graph.inc.php index 18053ab97f..91e70ac065 100644 --- a/includes/html/pages/ports/graph.inc.php +++ b/includes/html/pages/ports/graph.inc.php @@ -55,7 +55,7 @@ foreach ($ports as $port) { $graph_array['height'] = 119; $graph = generate_lazy_graph_tag($graph_array); - echo "
"; + echo "
"; echo overlib_link($link, $graph, $overlib_content); echo '
'; }