rbrindley: branch 2.0 r4322 - in /branches/2.0/config: ./ images/ js/ stylesh...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Tue Dec 9 14:39:42 CST 2008


Author: rbrindley
Date: Tue Dec  9 14:39:41 2008
New Revision: 4322

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4322
Log:
merged HEAD of team/rbrindley/welcome_revamp/ to HEAD of branches/2.0

Added:
    branches/2.0/config/images/agent_busy.png
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/images/agent_busy.png
    branches/2.0/config/images/agent_ringing.png
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/images/agent_ringing.png
    branches/2.0/config/js/jquery.tablesorter.js
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/js/jquery.tablesorter.js
    branches/2.0/config/js/jquery.tablesorter.pager.js
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/js/jquery.tablesorter.pager.js
    branches/2.0/config/js/jquery.ui.core.js
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/js/jquery.ui.core.js
    branches/2.0/config/js/jquery.ui.draggable.js
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/js/jquery.ui.draggable.js
    branches/2.0/config/js/jquery.ui.sortable.js
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/js/jquery.ui.sortable.js
    branches/2.0/config/js/jquery.ui.tabs.js
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/js/jquery.ui.tabs.js
    branches/2.0/config/js/welcome2.js
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/js/welcome2.js
    branches/2.0/config/stylesheets/tables.css
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/stylesheets/tables.css
    branches/2.0/config/stylesheets/ui-tabs.css
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/stylesheets/ui-tabs.css
    branches/2.0/config/welcome2.html
      - copied unchanged from r4321, team/rbrindley/welcome_revamp/config/welcome2.html
Modified:
    branches/2.0/config/home.html
    branches/2.0/config/js/astman.js
    branches/2.0/config/js/sysinfo.js
    branches/2.0/config/js/welcome.js
    branches/2.0/config/sysinfo.html
    branches/2.0/config/welcome.html

Modified: branches/2.0/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/home.html?view=diff&rev=4322&r1=4321&r2=4322
==============================================================================
--- branches/2.0/config/home.html (original)
+++ branches/2.0/config/home.html Tue Dec  9 14:39:41 2008
@@ -27,7 +27,7 @@
 	parent.ASTGUI.dialog.hide();
 	DOM_username.disabled = true;
 	DOM_secret.disabled = true ;
-	try{ if (a.welcome_redirect == true){ window.location.href = 'welcome.html'; } }catch(err){ }
+	try{ if (a.welcome_redirect == true){ window.location.href = 'welcome2.html'; } }catch(err){ }
 };
 
 var localajaxinit = function(){

Modified: branches/2.0/config/js/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=4322&r1=4321&r2=4322
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Tue Dec  9 14:39:41 2008
@@ -1173,10 +1173,8 @@
 		for(var i = 0; i < lines.length; i++) {
 			var line = lines[i].trim().toLowerCase();
 			if (!line || line.beginsWith('host') ){ continue; }
-			if( ( line.contains(host) || (this_IP && line.contains(this_IP)) )  && line.contains(uname_lc) ){
-				if( line.contains('unregistered') ){
-					return '<font color=red>Unregistered</font>';
-				}else if( line.contains('registered') ){
+			if( ( line.beginsWith(host+':') || ( this_IP && line.beginsWith(this_IP + ' ') ) )  && line.contains( ' ' + uname_lc + ' ' ) ){
+				if( line.contains(' registered') ){
 					return '<font color=green>Registered</font>' ;
 				}else if( line.contains('auth. sent') ){
 					return '<font color=red>Waiting for Authentication</font>';
@@ -1184,6 +1182,8 @@
 					return '<font color=red>Request Sent</font>';
 				}else if( line.contains('rejected') ){
 					return '<font color=red>Rejected</font>';
+				}else if( line.contains('unregistered') ){
+					return '<font color=red>Unregistered</font>';
 				}else{
 					return '<font color=red>Unregistered</font>';
 				}

Modified: branches/2.0/config/js/sysinfo.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/sysinfo.js?view=diff&rev=4322&r1=4321&r2=4322
==============================================================================
--- branches/2.0/config/js/sysinfo.js (original)
+++ branches/2.0/config/js/sysinfo.js Tue Dec  9 14:39:41 2008
@@ -63,86 +63,3 @@
 	_$('asterisk').innerHTML =  parent.sessionData.AsteriskVersionString + "<BR>" + "Asterisk GUI-version : " + ( parent.sessionData.gui_version || ASTGUI.globals.version ) ;
 	$('#tabbedMenu').find('A:eq(0)').click();
 }
-
-var localajaxinit = function(){
-	top.document.title = 'System Information' ;
-	parent.ASTGUI.dialog.waitWhile('Loading system Information ...');
-
-	(function(){
-		var t = [{	url:'#',
-				desc:'General',
-				click_function: function(){
-					$('.hideall').hide();
-					$('#osversion_div').show();
-					$('#uptime_div').show();
-					$('#asterisk_div').show();
-					$('#today_div').show();
-					$('#hostname_div').show();
-				}
-			},{	url: '#',
-				desc: 'Network',
-				click_function: function(){
-					$('.hideall').hide();
-					ASTGUI.systemCmdWithOutput( 'ifconfig' , function(output){
-						_$('ifconfig').innerHTML = '<pre>' + output +'</pre>' ;
-						$('.hideall').hide();
-						$('#ifconfig_div').show();
-					});
-				}
-			},{	url: '#',
-				desc: 'Disk Usage',
-				click_function: function(){
-					$('.hideall').hide();
-					ASTGUI.systemCmdWithOutput( 'df -k' , function(output){
-						_$('diskusage').innerHTML = '<pre>' + output +'</pre>';
-						if(parent.sessionData.PLATFORM.isAA50) {
-							try{
-								percentage_usage(output);
-							}catch(err){
-								ASTGUI.Log.Debug( '<B>Error Trying to calculate CF usage %');
-							}
-						}
-						$('.hideall').hide();
-						$('#df_div').show();
-					});
-				}
-			},{	url: '#',
-				desc: 'Memory Usage',
-				click_function: function(){
-					$('.hideall').hide();
-					ASTGUI.systemCmdWithOutput( 'free' , function(free){
-						_$('memoryusage').innerHTML = '<pre>' + free +'</pre>';
-						$('.hideall').hide();
-						$('#memory_div').show();
-					});
-				}
-			}];
-		if( parent.sessionData.PLATFORM.isAA50 ) {
-			t.push({	url:'#',
-					desc:'S800i Config',
-					click_function: function(){
-						$('.hideall').hide();
-						ASTGUI.systemCmdWithOutput( 's800iconfig' , function(output){
-							_$('s800i_config').innerHTML = '<PRE>' + output.replace(/S800i Product Configuration/, '') + '</PRE>';
-							$('.hideall').hide();
-							$('#s800i_div').show();
-						});
-					}
-				});
-			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 );
-	})();
-	parent.ASTGUI.dialog.hide();
-	getsysinfohtml();
-}

Modified: branches/2.0/config/js/welcome.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/welcome.js?view=diff&rev=4322&r1=4321&r2=4322
==============================================================================
--- branches/2.0/config/js/welcome.js (original)
+++ branches/2.0/config/js/welcome.js Tue Dec  9 14:39:41 2008
@@ -623,11 +623,11 @@
 		(function(){
 			if( parent.sessionData.PLATFORM.isAA50 ) {
 				ASTGUI.systemCmdWithOutput( 'firmware_version' , function(a){
-					_$('firmware_div').innerHTML = 'Firmware : v' + a.trim() ;
+					_$('sys_uptime_div').innerHTML = 'Firmware : v' + a.trim() ;
 				});
 			}else{
 				ASTGUI.systemCmdWithOutput( 'uptime' , function(a){
-					_$('firmware_div').innerHTML = 'Uptime : ' + a.trim() ;
+					_$('sys_uptime_div').innerHTML = 'Uptime : ' + a.trim() ;
 				});
 			}
 		})();	

Modified: branches/2.0/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/sysinfo.html?view=diff&rev=4322&r1=4321&r2=4322
==============================================================================
--- branches/2.0/config/sysinfo.html (original)
+++ branches/2.0/config/sysinfo.html Tue Dec  9 14:39:41 2008
@@ -22,6 +22,92 @@
 <script src="js/jquery.js"></script>
 <script src="js/astman.js"></script>
 <script src="js/sysinfo.js"></script>
+<script type="text/javascript">
+var localajaxinit = function(){
+	top.document.title = 'System Information' ;
+	parent.ASTGUI.dialog.waitWhile('Loading system Information ...');
+
+	(function(){
+		var t = [{	url:'#',
+				desc:'General',
+				click_function: function(){
+					$('.hideall').hide();
+					$('#osversion_div').show();
+					$('#uptime_div').show();
+					$('#asterisk_div').show();
+					$('#today_div').show();
+					$('#hostname_div').show();
+				}
+			},{	url: '#',
+				desc: 'Network',
+				click_function: function(){
+					$('.hideall').hide();
+					ASTGUI.systemCmdWithOutput( 'ifconfig' , function(output){
+						_$('ifconfig').innerHTML = '<pre>' + output +'</pre>' ;
+						$('.hideall').hide();
+						$('#ifconfig_div').show();
+					});
+				}
+			},{	url: '#',
+				desc: 'Disk Usage',
+				click_function: function(){
+					$('.hideall').hide();
+					ASTGUI.systemCmdWithOutput( 'df -k' , function(output){
+						_$('diskusage').innerHTML = '<pre>' + output +'</pre>';
+						if(parent.sessionData.PLATFORM.isAA50) {
+							try{
+								percentage_usage(output);
+							}catch(err){
+								ASTGUI.Log.Debug( '<B>Error Trying to calculate CF usage %');
+							}
+						}
+						$('.hideall').hide();
+						$('#df_div').show();
+					});
+				}
+			},{	url: '#',
+				desc: 'Memory Usage',
+				click_function: function(){
+					$('.hideall').hide();
+					ASTGUI.systemCmdWithOutput( 'free' , function(free){
+						_$('memoryusage').innerHTML = '<pre>' + free +'</pre>';
+						$('.hideall').hide();
+						$('#memory_div').show();
+					});
+				}
+			}];
+		if( parent.sessionData.PLATFORM.isAA50 ) {
+			t.push({	url:'#',
+					desc:'S800i Config',
+					click_function: function(){
+						$('.hideall').hide();
+						ASTGUI.systemCmdWithOutput( 's800iconfig' , function(output){
+							_$('s800i_config').innerHTML = '<PRE>' + output.replace(/S800i Product Configuration/, '') + '</PRE>';
+							$('.hideall').hide();
+							$('#s800i_div').show();
+						});
+					}
+				});
+			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 );
+	})();
+	parent.ASTGUI.systemCmd( top.sessionData.directories.script_SysInfo, function(){ parent.ASTGUI.dialog.hide(); getsysinfohtml(); } );
+	parent.ASTGUI.dialog.hide();
+	getsysinfohtml();
+}
+</script>
+
 <link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
 <style type="text/css">
 

Modified: branches/2.0/config/welcome.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/welcome.html?view=diff&rev=4322&r1=4321&r2=4322
==============================================================================
--- branches/2.0/config/welcome.html (original)
+++ branches/2.0/config/welcome.html Tue Dec  9 14:39:41 2008
@@ -1,7 +1,7 @@
 <!--
  * Asterisk-GUI	- an Asterisk configuration interface
  *
- * System overview
+ * System status
  *
  * Copyright (C) 2008, Digium, Inc.
  *
@@ -18,131 +18,330 @@
  * at the top of the source tree.
  *
 -->
-<script src="js/jquery.js"></script>
-<script src="js/astman.js"></script>
-<script src="js/welcome.js"></script>
+
+<!-- Initial CSS -->
 <link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
 <style type="text/css">
 
-	#table_Ext_list {
-		border: 1px solid #666666;
-		margin-top: 5px;
-		margin-bottom:10px;
-		width: 96%;
-		text-align: left;
-		padding : 1px;
-	}
-
-	#table_Ext_list tr.frow { background: #6b79a5; color: #CED7EF; }
-	#table_Ext_list tr.frow td{ font-weight:bold; }
-	#table_Ext_list tr td{ padding : 3px; }
-	#table_Ext_list tr.even { background: #EFEFEF; }
-	#table_Ext_list tr.odd{ background: #FFFFFF; }
-	#table_Ext_list tr.even:hover, #table_Ext_list tr.odd:hover {
-		background: #a8b6e5;
-		cursor: default;
-	}
-
-
-	#table_Trunks_list {
-		border: 1px solid #666666;
-		margin-top: 5px;
-		margin-bottom:10px;
-		width: 96%;
-		text-align: left;
-		padding : 1px;
-	}
-	#table_Trunks_list tr.frow { background: #6b79a5; color: #CED7EF; }
-	#table_Trunks_list tr.frow td { font-weight:bold; }
-	#table_Trunks_list tr td { padding : 3px; }
-	#table_Trunks_list tr.even { background: #DFDFDF; }
-	#table_Trunks_list tr.odd{ background: #FFFFFF; }
-	#table_Trunks_list tr.even:hover, #table_Trunks_list tr.odd:hover { background: #a8b6e5; cursor: default; }
-
-
-
-
-
-	#table_NeedConfiguration_list { border: 1px solid #666666; margin-top: 5px; margin-bottom:10px; width: 96%; text-align: left; padding : 1px; }
-	#table_NeedConfiguration_list tr.frow { background: #6b79a5; color: #CED7EF; }
-	#table_NeedConfiguration_list tr.frow td { font-weight:bold; }
-	#table_NeedConfiguration_list tr td { padding : 3px; }
-	#table_NeedConfiguration_list tr.even { background: #DFDFDF; }
-	#table_NeedConfiguration_list tr.odd{ background: #FFFFFF; }
-	#table_NeedConfiguration_list tr.even:hover, #table_NeedConfiguration_list tr.odd:hover { background: #a8b6e5; cursor: default; }
+body {
+	background-color: #EFEFEF;
+}
+
+#sys_uptime_div, #ast_uptime_div {
+	width: 100%;
+	text-align:center;
+}
+
+div.section_title {
+	width: 100%;
+	text-align: center;
+	margin-top: 10px;
+	font-weight: bold;
+}
+
+#table_Ext_list {
+	border: 1px solid #666666;
+	margin-top: 5px;
+	margin-bottom: 10px;
+	width: 96%;
+	text-align: left;
+	padding : 1px;
+}
+
+#table_Ext_list tr.frow { 
+	background: #6b79a5; 
+	color: #CED7EF; 
+}
+
+#table_Ext_list tr.frow td { 
+	font-weight: bold; 
+}
+
+#table_Ext_list tr td { 
+	padding: 3px; 
+}
+
+#table_Ext_list tr.even { 
+	background: #EFEFEF; 
+}
+
+#table_Ext_list tr.odd { 
+	background: #FFFFFF; 
+}
+
+#table_Ext_list tr.even:hover, #table_Ext_list tr.odd:hover {
+	background: #a8b6e5;
+	cursor: default;
+}
+
+#trunks_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+}
+
+#table_Trunks_list {
+	border: 1px solid #666666;
+	margin-top: 5px;
+	margin-bottom:10px;
+	width: 96%;
+	text-align: left;
+	padding : 1px;
+}
+
+#table_Trunks_list tr.frow { 
+	background: #6b79a5; 
+	color: #CED7EF; 
+}
+
+#table_Trunks_list tr.frow td { 
+	font-weight:bold; 
+}
+
+#table_Trunks_list tr td { 
+	padding: 3px; 
+}
+
+#table_Trunks_list tr.even { 
+	background: #DFDFDF; 
+}
+
+#table_Trunks_list tr.odd { 
+	background: #FFFFFF; 
+}
+
+#table_Trunks_list tr.even:hover, #table_Trunks_list tr.odd:hover { 
+	background: #a8b6e5; 
+	cursor: default; 
+}
+
+#table_Agents_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+	margin-top: 10px;
+	display: none;
+}
+
+table.agents_list_container {
+	margin-left: auto;
+	margin-right: auto;
+	border-width: 1px;
+	border-spacing: 2px;
+	border-style: solid;
+	border-color: #6b79a5;
+	border-collapse: separate;
+	background-color: white;
+}
+
+table.agents_list_container td.agent_title {
+	text-align: center;
+	vertical-align: top;
+	width: 70px;
+	font-weight: bold;
+}
+
+#table_Meetmes_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+	margin-top: 10px;
+}
+
+#table_Meetmes_list_container table.meetme_list_table {
+	border-width: 1px;
+	border-spacing: 2px;
+	border-style: solid;
+	border-color: #6b79a5;
+	border-collapse: separate;
+	background-color: #FFFFFF;
+	margin-left: auto;
+	margin-right: auto;
+}
+
+#table_Meetmes_list_container table tr td {
+	text-align: center;
+}
+
+#table_Meetmes_list_container table tr.titles td {
+	vertical-align: top;
+	font-weight: bold;
+}
+
+#table_Meetmes_list_container table tr td.mid_spacing {
+	width: 150px;
+}
+
+#table_Meetmes_list_container table tr td.end_spacing {
+	width: 50px;
+}
+
+#extensions_container {
+	width: 100%;
+	text-align: center;
+	margin-top: 15px;
+}
+
+#extensions_legend {
+	margin-left: auto;
+	margin-right: auto;
+	text-align: center;
+	width: 500px;
+}
+
+#extensions_legend tr td {
+}
+
+#table_Ext_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+}
+
+#table_Ext_list {
+	margin-left: auto;
+	margin-right: auto;
+}
+
+#table_Meetmes_list, #table_ParkedCalls_list {
+	text-align: center;
+}
+
+#ittnc {
+	display: none;
+}
+
+#ittnc_title {
+	width: 100%;
+	text-align: center;
+	margin-top: 10px;
+	font-weight: bold;
+}
+
+#table_NeedConfiguation_list_container {
+	overflow: auto;
+	width: 95%;
+	max-height: 500px;
+}
+
+#table_NeedConfiguration_list { 
+	border: 1px solid #666666; 
+	margin-top: 5px; 
+	margin-bottom: 10px;
+	width: 96%; 
+	text-align: center; 
+	padding: 1px; 
+}
+
+#table_NeedConfiguration_list tr.frow { 
+	background: #6b79a5; 
+	color: #CED7EF; 
+}
+
+#table_NeedConfiguration_list tr.frow td { 
+	font-weight:bold; 
+}
+
+#table_NeedConfiguration_list tr td { 
+	padding: 3px; 
+}
+
+#table_NeedConfiguration_list tr.even { 
+	background: #DFDFDF; 
+}
+
+#table_NeedConfiguration_list tr.odd { 
+	background: #FFFFFF; 
+}
+
+#table_NeedConfiguration_list tr.even:hover, #table_NeedConfiguration_list tr.odd:hover { 
+	background: #a8b6e5; 
+	cursor: default; 
+}
 
 </style>
-
-<body bgcolor="EFEFEF">
-<div class="iframeTitleBar">
-	System Status
-	<span class='refresh_icon' onclick="window.location.reload();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span>
-</div>
-
-	<div class='lite_Heading'>System Status</div>
-	<div style='width: 100%; text-align:center;' id='firmware_div'></div>
-
-
-	<div style='width:100%; text-align:center; margin-top:10px;'><B>Trunks</B></div>
-	<div style='overflow:auto; width:95%; max-height: 500px; '>
-		<table id='table_Trunks_list' cellpadding=0 cellspacing=0 border=0 align=center></table>
-	</div>
-
-
-	<div style='overflow:auto; width:95%; max-height: 500px;margin-top:10px; display:none;' id='table_Agents_list_container'>
-		<table cellpadding=1 cellspacing=2 border=0 align=center style="border-width: 1px ; border-spacing: 2px; border-style: solid; border-color: #6b79a5; border-collapse: separate; background-color: white;">
-			<td valign='top' align=center width='70'><B>Agents</B></td>
-			<td align=center>
-				<table id='table_Agents_list' cellpadding=0 cellspacing=0 border=0 align=center></table>
+<!-- End Initial CSS -->
+
+<!-- Initial Javascript -->
+<script type="text/javascript" src="js/jquery.js"></script>
+<script type="text/javascript" src="js/astman.js"></script>
+<script type="text/javascript" src="js/welcome.js"></script>
+<!-- End Initial Javascript -->
+
+<body>
+	<div class="iframeTitleBar">
+		System Status
+		<span class='refresh_icon' onclick="window.location.reload();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span>
+	</div>
+
+	<div class="lite_Heading">System Status</div>
+
+	<div id="sys_uptime_div"></div>
+	<div id="ast_uptime_div"></div>
+
+	<div class="section_title"> Trunks </div>
+
+	<div id="trunks_list_container">
+		<table id="table_Trunks_list" cellpadding="0" cellspacing="0" border="0" align="center"></table>
+	</div>
+
+	<div id="table_Agents_list_container">
+		<table class="agents_list_container" cellpadding="1" cellspacing="2" border="0">
+			<td class="agent_title">Agents</td>
+			<td align="center">
+				<table id="table_Agents_list" cellpadding="0" cellspacing="0" border="0" align="center"></table>
 			</td>
 		</table>
-		
-	</div>
-
-	<div style='overflow:auto; width:95%; max-height: 500px;margin-top:10px;' id='table_Meetmes_list_container'>
-		<table cellpadding=1 cellspacing=2 border=0 align=center style="border-width: 1px ; border-spacing: 2px; border-style: solid; border-color: #6b79a5; border-collapse: separate; background-color: white;">
-			<tr>
-				<td valign='top' align=center><B>Conference Rooms</B> <span class='refresh_icon' onclick="update_Conferences_Table();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span></td>
-				<td width=150></td>
-				<td valign='top' align=center><B>Parked Calls</B> <span class='refresh_icon' onclick="update_parkedCalls_Table();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border=0 >&nbsp;</span></td>
-				<td width=50></td>
+	</div>
+
+	<div id="table_Meetmes_list_container">
+		<table class="meetme_list_table" cellpadding="1" cellspacing="2" border="0">
+			<tr class="titles">
+				<td>
+					Conference Rooms <span class="refresh_icon" onclick="update_Conferences_Table();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border="0" >&nbsp;</span>
+				</td>
+				<td class="mid_spacing"></td>
+				<td>
+					Parked Calls <span class="refresh_icon" onclick="update_parkedCalls_Table();" >&nbsp;<img src="images/refresh.png" title=" Refresh " border="0" >&nbsp;</span>
+				</td>
+				<td class="end_spacing"></td>
 			</tr>
 			<tr>
-				<td align=center>
-					<table id='table_Meetmes_list' cellpadding=0 cellspacing=0 border=0 align=center></table>
+				<td>
+					<table id="table_Meetmes_list" cellpadding="0" cellspacing="0" border="0"></table>
 				</td>
-				<td width=150></td>
-				<td align=center>
-					<table id='table_ParkedCalls_list' cellpadding=0 cellspacing=0 border=0 align=center></table>
+				<td></td>
+				<td>
+					<table id="table_ParkedCalls_list" cellpadding="0" cellspacing="0" border="0"></table>
 				</td>
-				<td width=50></td>
+				<td></td>
 			</tr>
 		</table>
 	</div>
 
-	<div style='width:100%; text-align:center; margin-top:15px;'>
+	<div id="extensions_container">
 		<B>Extensions</B>
 		<BR>
-		<table cellpadding=0 cellspacing=0 border=0 align=center width=500 align=center>
+		<table id="extensions_legend" cellpadding="0" cellspacing="0" border="0">
 		<tr>
-			<td align=center><img src='images/status_green.png' border=0> Free</td>
-			<td align=center><img src='images/status_red.png' border=0> Busy</td>
-			<td align=center><img src='images/status_gray.png' border=0> UnAvailable</td>
-			<td align=center><img src='images/status_orange.png' border=0> Ringing</td>
+			<td><img src="images/status_green.png" border="0"> Free</td>
+			<td><img src="images/status_red.png" border="0"> Busy</td>
+			<td><img src="images/status_gray.png" border="0"> UnAvailable</td>
+			<td><img src="images/status_orange.png" border="0"> Ringing</td>
 		</tr>
 		</table>
 	</div>
-	<div style='overflow:auto; width:95%; max-height: 500px;'>
-		<table id='table_Ext_list' cellpadding=0 cellspacing=0 border=0 align=center></table>
-	</div>
-
-
-	<div id='ittnc' style='display:none;'>
-		<div style='width:100%; text-align:center; margin-top:10px;'><B>Items that need configuration</B></div>
-		<div style='overflow:auto; width:95%; max-height: 500px;'>
-			<table id='table_NeedConfiguration_list' cellpadding=0 cellspacing=0 border=0 align=center></table>
+
+	<div id="table_Ext_list_container">
+		<table id="table_Ext_list" cellpadding="0" cellspacing="0" border="0"></table>
+	</div>
+
+	<div id="ittnc">
+		<div id="ittnc_title">Items that need configuration</div>
+		<div id="table_NeedConfiguration_list_container">
+			<table id="table_NeedConfiguration_list" cellpadding="0" cellspacing="0" border="0"></table>
 		</div>
 	</div>
 
-	<div id='waitevent_Log'></div>
+	<div id="waitevent_Log"></div>
 </body>




More information about the asterisk-gui-commits mailing list