pari: trunk r1008 - /trunk/config/cli.html

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed May 30 18:26:49 MST 2007


Author: pari
Date: Wed May 30 20:26:48 2007
New Revision: 1008

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1008
Log:
update cli to window resolution

Modified:
    trunk/config/cli.html

Modified: trunk/config/cli.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cli.html?view=diff&rev=1008&r1=1007&r2=1008
==============================================================================
--- trunk/config/cli.html (original)
+++ trunk/config/cli.html Wed May 30 20:26:48 2007
@@ -27,8 +27,13 @@
 var CLI_INDEX = 0; // index for navigating through command history
 var COMMAND;
 
+
 function localajaxinit() {
+	var adjust_toScreen = function(){
+		_$('cli_output').style.height = (window.innerHeight -60) + 'px';
+	}
 	top._$('mainscreen').width= 798;
+	add_event( window , 'resize', adjust_toScreen);
 	setWindowTitle("Asterisk CLI Emulator");
 	parent.loadscreen(this);
 	_$('cli_cmd').value = "core show version";



More information about the asterisk-gui-commits mailing list