diff --git a/html/css/bootstrap.css b/html/css/bootstrap.css index dfe5bfb..a57f954 100644 --- a/html/css/bootstrap.css +++ b/html/css/bootstrap.css @@ -1314,3 +1314,4 @@ th.visible-print,td.visible-print{display:none !important;} .dl-search{margin-bottom:0px;margin-top:0px;} .dl-search dt{float:left;width:48px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} .dl-search dd{margin-left:65px;} +.clientconnected {color:#008c00;} diff --git a/html/includes/graphs/device/wifi_client.inc.php b/html/includes/graphs/device/wifi_client.inc.php new file mode 100644 index 0000000..5b77b81 --- /dev/null +++ b/html/includes/graphs/device/wifi_client.inc.php @@ -0,0 +1,32 @@ + diff --git a/html/includes/graphs/device/wifi_clients.inc.php b/html/includes/graphs/device/wifi_clients.inc.php index 67817b2..e6a089e 100644 --- a/html/includes/graphs/device/wifi_clients.inc.php +++ b/html/includes/graphs/device/wifi_clients.inc.php @@ -7,22 +7,33 @@ $rrd_options .= " -l 0 -E "; $radio1 = $config['rrd_dir'] . "/".$device['hostname']."/wificlients-radio1.rrd"; $radio2 = $config['rrd_dir'] . "/".$device['hostname']."/wificlients-radio2.rrd"; +if ($device['os'] == "ios") +{ + $radio1_name = "'Clients on 2.4GHz '"; + $radio2_name = "'Clients on 5GHz '"; +} +else +{ + $radio1_name = "'Clients on Radio1 '"; + $radio2_name = "'Clients on Radio2 '"; +} + if (file_exists($radio1)) { $rrd_options .= " COMMENT:' Cur Min Max\\n'"; $rrd_options .= " DEF:wificlients1=".$radio1.":wificlients:AVERAGE "; - $rrd_options .= " LINE1:wificlients1#CC0000:'Clients on Radio1 ' "; + $rrd_options .= " LINE1:wificlients1#CC0000:".$radio1_name." "; $rrd_options .= " GPRINT:wificlients1:LAST:%3.0lf "; $rrd_options .= " GPRINT:wificlients1:MIN:%3.0lf "; $rrd_options .= " GPRINT:wificlients1:MAX:%3.0lf\\\l "; if (file_exists($radio2)) { $rrd_options .= " DEF:wificlients2=".$radio2.":wificlients:AVERAGE "; - $rrd_options .= " LINE1:wificlients2#008C00:'Clients on Radio2 ' "; + $rrd_options .= " LINE1:wificlients2#008C00:".$radio2_name." "; $rrd_options .= " GPRINT:wificlients2:LAST:%3.0lf "; $rrd_options .= " GPRINT:wificlients2:MIN:%3.0lf "; $rrd_options .= " GPRINT:wificlients2:MAX:%3.0lf\\\l "; } } -// EOF +?> diff --git a/html/includes/navbar.inc.php b/html/includes/navbar.inc.php index c9c60ff..f16f011 100644 --- a/html/includes/navbar.inc.php +++ b/html/includes/navbar.inc.php @@ -211,6 +211,8 @@ foreach ($config['device_types'] as $devtype) } ?>
++ | All Clients + | +'); + echo(' |
Client |
---|
'.$client_id.' | +