From b45ea70973d1c11cbc347aacf839f55a6d3694f5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 5 Mar 2005 22:03:42 +0000 Subject: Add queue graph support. TODO: Show parent / child relationship and graph upon the total of the parent/child. --- usr/local/www/firewall_shaper_queues.php | 56 ++++++++++++++++++++++++++++---- 1 file changed, 49 insertions(+), 7 deletions(-) (limited to 'usr/local/www/firewall_shaper_queues.php') diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index 2211aab..22e0d08 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -130,9 +130,9 @@ if ($_GET['act'] == "del") { - - - + + + @@ -154,23 +154,65 @@ if ($_GET['act'] == "del") { - +
No.PriorityDefaultNamePriorityDefaultName
-   +  
+"; + echo ""; + echo ""; + echo " "; + echo ""; +?> +
 
-

+

Note:
- a queue can only be deleted if it is not referenced by any rules.

+ 1) A queue can only be deleted if it is not referenced by any rules.
+ 2) Queue graphs take 5 seconds to sample data. + +

+ + +\n"; + echo "document.queue{$i}widtha.style.width='{$packet_s}';\n"; + echo "document.queue{$i}widthb.style.width='" . (100 - $packet_s) . "';\n"; + echo "document.forms[0].queue{$i}meter.value = '" . $packet_s . "/s';\n"; + echo "\n"; + $i++; + } + +} + +?> \ No newline at end of file -- cgit v1.1