| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
when acquiring the interface data. In particular the media information
can have commas in it already as reported in Redmine bug #4859
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a setting for the Gateways dashboard widget so the user
can choose to display the Gateway IP, Monitor IP or both.
If "both" is chosen and the Gateway IP is the Monitor IP, then only the
Gateway IP is shown - i.e. the same IP address is not repeated on the
widget display.
If "both" is chosen and the Monitor IP is different to the Gateway IP
then the Monitor IP is shown in () brackets after the Gateway IP.
If "Monitor IP" is chosen and there is no special Monitor IP defined,
then the Gateway IP is displayed (which is also the Monitor IP).
If "Gateway IP" is chosen then the widget behaves as it does now.
"Gateway IP" is the default.
I find this handy because the Gateways widget reports RTT (latency) and
loss figures that are actually for pings to the Monitor IP. So it seems
useful to be able to display the Monitor IP in the widget.
|
| |
|
|
|
|
|
| |
and module names and other bits of formatting and typos in header
comment sections.
|
| |
|
|
|
|
| |
And make them strong (bold), which is how they are displayed originally by interfaces.widget.php
This allows the AJAX that manipulates the div's in interfaces.widget.php to get the data, so it can make it update.
|
|
|
|
|
|
|
| |
Forum: https://forum.pfsense.org/index.php?topic=85187.msg467438#msg467438
The bold is specified literally in gateways.widget.php for the gateway IP box, so we need to send it bold from here also when providing an update.
Because this now uses a "/" in the string (to terminate the bold) have to choose another delimiter between the status text and status color - picked "^" because I can't think where it will appear elsewhere in the real data.
This whole string of stuff that is returned by getstats.php back to the browser is a long string with a bunch of delimiters inside delimiters already (vertical bar separated fields, inside that comma-separated fields...) and is already subject to stuff going wrong if any of the real text in the fields contains a vertical bar or comma or... Not about to try to re-engineer all that right now!
|
|
|
|
|
| |
This code was passing a whole load of html to attempt to set various properties of the Gateways Widget Status column so that it would display the new status (Online, Offline...) and in the appropriate color.
Now that I am using class=listr, the css fro listr already specifies white. Setting bgcolor in HTML does not override that.
Pass both the status text and color as ordinary text, separated by "/". The consumer of this output can do their thing with jQuery to set the color as well as text of the element.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Inner table size changes on the first update because the table in update data does not have the same attributes as the widget. i.e. border, cellpadding, cellspacing, style & summary.
Also remove an errant td end tag.
|
|/ |
|
|
|
|
| |
type and indicate if it's a RAM disk.
|
| |
|
|
|
|
| |
collected
|
| |
|
|\
| |
| | |
Provide get_uptime_sec in a common include file
|
| |
| |
| | |
to avoid code duplication
|
|/
|
|
| |
CPUs are supplied by the hardware.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Fix a typo on awk syntax
- Use php functions to extract desired value from swapinfo output
|
| |
|
|
|
|
|
| |
With XHTML 1.0, the extended colour names are invalid, to make pfSense
as W3C compliant as possible, need to go back to using the HEX code.
|
|
|
|
| |
When it doesn't exist in the array it's really unknown. Make that lightblue. show a ~
|
| |
|
| |
|
| |
|
|
|
|
| |
in for later use when start adding more OID checks for different hardware drivers. So made comment change per request.
|
| |
|
|
|
|
|
| |
00 Seconds
Added code function get_temp() to get the OID values for temperature.
|
| |
|
| |
|
|
|
|
| |
scary people!
|
|
|
|
| |
for various reasons, this removes user confusion in the status pages.
|
| |
|
|
|
|
| |
load time on RSPRO from 9+ seconds to 2.5
|
|
|
|
| |
include 2009 on files that I have asserted (C) on
|
|
|
|
| |
* Change "No data" to "Gathering data"
|
| |
|
| |
|
|
|
|
| |
This eliminates one AJAX library, but not all "non-Prototype" AJAX code
|
| |
|
| |
|
| |
|