Phil Davis
fe416714b9
Put line break only if IPv4 address exists
...
This makes a line for the IPv4 address if it is there. If the IPv4 address goes away, the whole line will disappear, leaving just the IPv6 address without an empty line above it.
2014-12-20 23:57:29 +05:45
Phil Davis
6e795218c4
Set Interfaces widget IPv6 address
...
Now that get_interfacestatus() is returning us the IPv6 address, and interfaces.widget.php has a div to put it in, actually update the IPv6 address on the widget.
2014-12-20 23:01:21 +05:45
Phil Davis
2cc10e2cde
Change text and color delimiter to carat sign
...
To match change made in functions.inc.php
2014-12-11 07:15:09 +05:45
Phil Davis
95d045fcd7
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.
2014-12-05 17:54:30 +05:45
jim-p
5c43e7bdb6
Also account for a widget being null/not defined, and not just closed/open.
2013-12-05 15:09:08 -05:00
Charlie Marshall
bc0a344b92
convert dashboard progress bars to jqueryUI
2013-08-14 15:09:52 +01:00
jim-p
2cb760dae2
Some more tweaks to state and mbuf update/output on dashboard widget.
2013-07-16 16:09:44 -04:00
jim-p
4a83831c53
Add a meter for states, too
2013-07-16 15:39:19 -04:00
jim-p
8ff9cc387b
Make mbufs update via ajax
2013-07-16 15:09:18 -04:00
Cristian Feldman
25a46a3cb2
Added load average information to the System Information widget
2012-05-24 18:52:27 -03:00
Cristian Feldman
4dedd18a80
System info widget on dashboard now updates CPU Frequency automatically
2012-05-18 00:53:21 -03:00
jim-p
3a94345cea
Change system info widget fields from <input> to <span> so they don't appear editable, and we aren't bound by their width constraints. (One long one was messing up table width).
2012-01-11 11:48:11 -05:00
Joecowboy
e54d3461b4
Fixed Javascript error in function updateInterfaces(x)
...
Removed the return that revented the updates to widgets in function stats(x)
Tweaked Javascript code in function updateTemp(x) for temperature output
2012-01-05 18:04:57 -06:00
Vinicius Coque
c69c58e2e7
Converting from scriptaculous to jQuery
...
Adding jQuery UI, so now we can use effects and widgets provided by this library and remove scriptaculous code. Building the dashboard using the widget jQuery UI sortable
2011-11-16 00:12:21 -02:00
Vinicius Coque
b1678e2d72
Convert dashboard ajax code from Prototype to jQuery
2011-09-27 19:31:19 -03:00
jim-p
2100a4542e
Check if a widget is null before testing a property. Fixes skipped updates on certain widgets (like the gateway widget) if someone doesn't have the cpu widget file on their fs (which a clean install does not).
2011-09-13 13:57:47 -04:00
jim-p
6a71611f9b
Remove unnecessary variable and fix loop test. Corrects AJAX update of last gateway status table cell (it was never updated before)
2010-10-07 09:30:24 -04:00
jim-p
15c5b5d637
Fix ajax updating of fields when the CPU graph widget is not in use.
2010-08-17 13:00:15 -04:00
Bill Marquette
bae568ccb5
a little cleaner JS
2009-03-14 02:20:09 -05:00
Bill Marquette
01da41cf8a
Sajax is no more, long live Prototype
...
This eliminates one AJAX library, but not all "non-Prototype" AJAX code
2009-03-14 01:26:52 -05:00
Bill Marquette
f8b1477013
Make use of Prototype-ism's in sajax.js - first small step in attempting to remove sajax from pfSense
2009-03-13 22:13:48 -05:00
Scott Ullrich
d2c5fcc12d
* Make function opening braces uniform.
...
* Minor documentation additions
2009-03-11 18:35:51 -04:00
Scott Ullrich
98509219b3
Ensure that the gateway widget exists before populating data during ajax calls.
2009-03-11 18:32:26 -04:00
Scott Ullrich
e0a16925b3
Change to 11 second refresh, a lot of underlying information refreshes
...
every 10 seconds.
2009-03-11 18:02:08 -04:00
Scott Ullrich
3dfa6a5214
Add ajax mojo to gateway status widget
2009-03-11 17:28:37 -04:00
Scott Ullrich
37fea5cc51
Graph value on the GraphLink graph, too
2009-03-08 23:08:06 -04:00
Scott Ullrich
5f00df88bd
Test to make sure items exist before trying to get their properties
2009-03-08 18:10:04 -04:00
Scott Ullrich
23a54db3a5
Change update interval for sajax to 10000
2009-03-08 17:44:01 -04:00
Scott Dale
f9b7608e63
correct definitions
2008-03-17 21:49:58 +00:00
Scott Dale
34eac803ea
Show loading icon while loading new widget through AJAX. Note: loading icon needs improvement.
2008-03-17 01:55:45 +00:00
Scott Dale
9c0fa9d56f
new ajax functions for dashboard
2007-12-30 21:07:15 +00:00
Scott Ullrich
670fe8496e
Add ajaxStarted which will tell if Ajax has started.
2006-01-16 22:33:24 +00:00
Scott Ullrich
922b44204b
Use a for() loop
2006-01-06 21:21:03 +00:00
Scott Ullrich
4cb423d5c1
Der, this is JS, not PHP.
2006-01-06 21:04:31 +00:00
Scott Ullrich
55bade0b33
Check all AJAX values. If any of them are undefined then return.
2006-01-06 20:40:21 +00:00
Scott Ullrich
8e3253048d
Change refresh rate to 7000
2006-01-01 04:21:03 +00:00
Scott Ullrich
876bb30f50
Do not process undefined items
2006-01-01 03:11:04 +00:00
Scott Ullrich
f78b47e311
MFC 7117
...
Temperature is in Celsius not in percentages
2005-10-23 23:22:01 +00:00
Erik Kristensen
92ab056608
Fixed a Merge
2005-09-18 05:00:47 +00:00
Scott Ullrich
fb4d93acb3
increase to 4000
2005-09-18 03:31:39 +00:00
Scott Ullrich
d3f34faece
increase to 3.5 seconds
2005-09-18 03:23:37 +00:00
Scott Ullrich
5872171a77
Change refresh to 2 seconds
2005-09-18 02:33:19 +00:00
Scott Ullrich
61381bd912
woops, wrong file
2005-09-15 05:58:51 +00:00
Scott Ullrich
a5c4926ea1
Move connection aborted check up further
2005-09-15 05:58:00 +00:00
Scott Ullrich
85c54575bc
Correct cpu meters
2005-09-15 05:49:02 +00:00
Bill Marquette
7979a80933
Make temp monitor really work - make a little more modular too
2005-09-15 03:21:17 +00:00
Bill Marquette
1804023da9
Make 4801 temp monitor work (and make it work with sajax)
2005-09-15 02:55:19 +00:00
Scott Ullrich
c07d326eeb
Change refresh to 5000
2005-09-13 05:10:11 +00:00
Erik Kristensen
c15a006124
Update time now 10 seconds.
2005-09-11 21:02:35 +00:00
Erik Kristensen
d772ac3258
Added SAJAX support.
...
System Meters are updated via AJAX now.
Started XHTML/CSS cleanup.
2005-09-11 06:17:32 +00:00