diff --git a/html/css/styles.css b/html/css/styles.css index 6bd008478c..4de7e3ce0c 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -323,6 +323,8 @@ A.black:visited, A.black, .black { color: #000000; } A.green:visited, A.green, .green { color: #008C00; } A.blue:visited, A.blue, .blue { color: #0000ff; } A.orange:visited, a.orange, .orange { color: #FF7400; } +A.purple:visited, a.purple, .purple { color: #740074; } + .pinkbg { background-color: #ffbbbb; } .redbg { background-color: #ff8585; } diff --git a/html/includes/print-interface.inc.php b/html/includes/print-interface.inc.php index 503277f4ec..b988007222 100644 --- a/html/includes/print-interface.inc.php +++ b/html/includes/print-interface.inc.php @@ -89,7 +89,7 @@ if ($port[ifDuplex] != "unknown") { echo("" . $port['ifDupl if ($device['os'] == "ios" || $device['os'] == "iosxe") { if ($port['ifTrunk']) { - echo("

" . $port['ifTrunk'] . "

"); + echo("

" . $port['ifTrunk'] . "

"); } elseif ($port['ifVlan']) { echo("

VLAN " . $port['ifVlan'] . "

"); } elseif ($port['ifVrf']) { diff --git a/html/pages/device/overview/c6kxbar.inc.php b/html/pages/device/overview/c6kxbar.inc.php index c95bd6233b..99e41007ee 100644 --- a/html/pages/device/overview/c6kxbar.inc.php +++ b/html/pages/device/overview/c6kxbar.inc.php @@ -16,7 +16,25 @@ foreach($entity_state['group']['c6kxbar'] as $index => $entry) echo(" ".$entity['entPhysicalName']." - ".$entry['']['cc6kxbarModuleModeSwitchingMode']." + "); + + switch ($entry['']['cc6kxbarModuleModeSwitchingMode']) + { + case "busmode": + # echo 'Bus'; + break; + case "crossbarmode": + echo 'Crossbar'; + break; + case "dcefmode": + echo 'DCEF'; + break; + default: + echo $entry['']['cc6kxbarModuleModeSwitchingMode']; + } + + + echo(" "); foreach($entity_state['group']['c6kxbar'][$index] as $subindex => $fabric) @@ -63,7 +81,9 @@ foreach($entity_state['group']['c6kxbar'] as $index => $entry) echo(" Fabric ".$subindex." - ".$fabric['cc6kxbarModuleChannelFabStatus']." + ". + + $fabric['cc6kxbarModuleChannelFabStatus']." ".formatRates($fabric['cc6kxbarModuleChannelSpeed']*1000000)." ".overlib_link($link, $minigraph, $overlib_content)." ".print_percentage_bar (125, 20, $percent_in, "Ingress", "ffffff", $background['left'], $percent_in . "%", "ffffff", $background['right'])." diff --git a/html/pages/device/overview/generic/sensor.inc.php b/html/pages/device/overview/generic/sensor.inc.php index 96365f00c9..167bcc7207 100644 --- a/html/pages/device/overview/generic/sensor.inc.php +++ b/html/pages/device/overview/generic/sensor.inc.php @@ -44,7 +44,7 @@ if (count($sensors)) $graph_array['from'] = $config['time']['day']; $sensor_minigraph = generate_graph_tag($graph_array); - $sensor['sensor_descr'] = truncate($sensor['sensor_descr'], 25, ''); + $sensor['sensor_descr'] = truncate($sensor['sensor_descr'], 48, ''); echo(" ".overlib_link($link, $sensor['sensor_descr'], $overlib_content)." ".overlib_link($link, $sensor_minigraph, $overlib_content)." diff --git a/html/pages/ports/list.inc.php b/html/pages/ports/list.inc.php index bc8368e081..2e02f26eab 100644 --- a/html/pages/ports/list.inc.php +++ b/html/pages/ports/list.inc.php @@ -60,9 +60,9 @@ foreach ($ports as $port) ".$port['hostname']." ".fixIfName($port['label'])." $error_img $speed - ".$port['in_rate']." - ".$port['out_rate']." - $type + ".$port['in_rate']." + ".$port['out_rate']." + $type " . $port['ifAlias'] . " \n");