pari: branch 2.0 r4087 - /branches/2.0/config/sysinfo.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Nov 10 12:33:03 CST 2008


Author: pari
Date: Mon Nov 10 12:33:02 2008
New Revision: 4087

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4087
Log:

 Close AA50-1951 : view DHCP Leases on the AA50



Modified:
    branches/2.0/config/sysinfo.html

Modified: branches/2.0/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/sysinfo.html?view=diff&rev=4087&r1=4086&r2=4087
==============================================================================
--- branches/2.0/config/sysinfo.html (original)
+++ branches/2.0/config/sysinfo.html Mon Nov 10 12:33:02 2008
@@ -133,6 +133,17 @@
 						});
 					}
 				});
+			t.push({	url:'#',
+					desc:'DHCP Leases',
+					click_function: function(){
+						$('.hideall').hide();
+						ASTGUI.systemCmdWithOutput( 'dhcp_dump' , function(output){
+							$('#s800i_dhcpClients_output').html('<PRE>' + output + '</PRE>');
+							$('.hideall').hide();
+							$('#s800i_dhcpClients_div').show();
+						});
+					}
+				});
 		}
 		ASTGUI.tabbedOptions( _$('tabbedMenu') , t );
 	})();
@@ -192,6 +203,10 @@
 			</tr>
 		</table>
 	</div>
+	<div id="s800i_dhcpClients_div" style="display:none;" class='hideall'>
+		<B>DHCP Leases:</B>
+		<div id="s800i_dhcpClients_output" style="font-family:courier; font-size:10pt;"></div>
+	</div>
 </div>
 
 </body>




More information about the asterisk-gui-commits mailing list