pari: branch 2.0 r4003 - /branches/2.0/config/welcome.html
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Wed Oct 22 15:55:48 CDT 2008
Author: pari
Date: Wed Oct 22 15:55:48 2008
New Revision: 4003
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4003
Log:
Show 'No Parked calls'
Modified:
branches/2.0/config/welcome.html
Modified: branches/2.0/config/welcome.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/welcome.html?view=diff&rev=4003&r1=4002&r2=4003
==============================================================================
--- branches/2.0/config/welcome.html (original)
+++ branches/2.0/config/welcome.html Wed Oct 22 15:55:48 2008
@@ -514,6 +514,12 @@
newcell.innerHTML = this_chunk.CallerID + ' (' + this_chunk.Channel + ') is Parked on ' + this_chunk.Exten ; // this_chunk.Timeout
});
});
+ if( !TBL.rows.length ){
+ newRow = TBL.insertRow(-1);
+ var newcell = newRow.insertCell( newRow.cells.length );
+ newcell.align = 'center' ;
+ newcell.innerHTML = 'No Parked Calls' ;
+ }
};
var update_Conferences_Table = function(){
@@ -567,7 +573,12 @@
}
}}
- if( TBL.rows.length ){ $('#table_Meetmes_list_container').show() ; }
+ if( !TBL.rows.length ){
+ newRow = TBL.insertRow(-1);
+ var newcell = newRow.insertCell( newRow.cells.length );
+ newcell.align = 'center' ;
+ newcell.innerHTML = 'No Conferences setup' ;
+ }
};
@@ -677,12 +688,13 @@
</div>
- <div style='overflow:auto; width:95%; max-height: 500px;margin-top:10px; display:none;' id='table_Meetmes_list_container'>
+ <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();" > <img src="images/refresh.png" title=" Refresh " border=0 > </span></td>
<td width=150></td>
<td valign='top' align=center><B>Parked Calls</B> <span class='refresh_icon' onclick="update_parkedCalls_Table();" > <img src="images/refresh.png" title=" Refresh " border=0 > </span></td>
+ <td width=50></td>
</tr>
<tr>
<td align=center>
@@ -692,6 +704,7 @@
<td align=center>
<table id='table_ParkedCalls_list' cellpadding=0 cellspacing=0 border=0 align=center></table>
</td>
+ <td width=50></td>
</tr>
</table>
</div>
More information about the asterisk-gui-commits
mailing list