diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-05 17:54:30 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-12-05 17:54:30 +0545 |
commit | 95d045fcd76b09d84d1174f187faae863eb2fefb (patch) | |
tree | 803e005ed5643362ca8b82dbb766e234a0e57f42 /usr/local/share/protocols/ntp.pat | |
parent | beb7d9e33261c5d3e7fa387f7d61054f0c55ad99 (diff) | |
download | pfsense-95d045fcd76b09d84d1174f187faae863eb2fefb.zip pfsense-95d045fcd76b09d84d1174f187faae863eb2fefb.tar.gz |
Set text and color of Gateways Widget Status
getstats.php calls functions.inc.php get_stats(), which calls get_gatewaystats().
get_gatewaystats() now returns the text for each field and an optional color separated by "/" - "text/color" e.g. "Online/#90EE90"
Parse the the new format, separating out text and color.
If color is specified, then also set it with jQuery to css.
Diffstat (limited to 'usr/local/share/protocols/ntp.pat')
0 files changed, 0 insertions, 0 deletions