pari: trunk r63 - in /trunk/config: queues.html schwing.html
asterisk-gui-commits at lists.digium.internal
asterisk-gui-commits at lists.digium.internal
Thu Oct 12 12:31:05 CDT 2006
Author: pari
Date: Thu Oct 12 12:31:04 2006
New Revision: 63
URL: http://svn.digium.com/view/asterisk-gui?rev=63&view=rev
Log:
Record a voicemenu .. just html layout. no functionality yet
Modified:
trunk/config/queues.html
trunk/config/schwing.html
Modified: trunk/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/queues.html?rev=63&r1=62&r2=63&view=diff
==============================================================================
--- trunk/config/queues.html (original)
+++ trunk/config/queues.html Thu Oct 12 12:31:04 2006
@@ -98,6 +98,7 @@
function save_queue(){
+ $('status_message').style.display="block";
var p = 0;
var q = 0;
var r = 0;
@@ -107,6 +108,7 @@
method: 'get',
asynchronous: true,
onSuccess: function() {
+ setTimeout("$('status_message').style.display='none'",sc_displaytime);
$('status').innerHTML = "<i>Updated.</i>";
$('new').disabled = false;
$('save_q').disabled = true;
@@ -129,6 +131,7 @@
}
},
onFailure: function(t) {
+ $('status_message').style.display='none';
alert("Config Error: " + t.status + ": " + t.statusText);
},
};
@@ -275,10 +278,10 @@
selectedagent = "selectedagent" + k;
if( InArray( queueagents [j], $('agents').options[k].innerHTML.substr(0,4) ) ){
$('agents').options[k].selected = true;
- $('testmulti').innerHTML += '<INPUT id="' + selectedagent + '" TYPE="CHECKBOX" VALUE="'+ $('agents').options[k].innerHTML.substr(0,4) + '" checked>' + $('agents').options[k].innerHTML.substr(8) + '<BR>';
+ $('testmulti').innerHTML += '<INPUT id="' + selectedagent + '" TYPE="CHECKBOX" VALUE="'+ $('agents').options[k].innerHTML.substr(0,4) + '" checked onclick="$(\'save_q\').disabled=false; $(\'cancel\').disabled=false;">' + $('agents').options[k].innerHTML.substr(8) + '<BR>';
}else{
$('agents').options[k].selected = false;
- $('testmulti').innerHTML += '<INPUT id="' + selectedagent + '" TYPE="CHECKBOX" VALUE="'+ $('agents').options[k].innerHTML.substr(0,4) + '">' + $('agents').options[k].innerHTML.substr(8) + '<BR>';
+ $('testmulti').innerHTML += '<INPUT id="' + selectedagent + '" TYPE="CHECKBOX" VALUE="'+ $('agents').options[k].innerHTML.substr(0,4) + '" onclick="$(\'save_q\').disabled=false; $(\'cancel\').disabled=false;">' + $('agents').options[k].innerHTML.substr(8) + '<BR>';
}
}
$('save_q').disabled = false;
@@ -341,6 +344,7 @@
adstatus = "hidden";
parent.astmanEngine.config2list("extensions.conf", $('extensions'), new Array(), extencallbacks);
$('save_q').disabled = true;
+ $('message_text').innerHTML = " Saving Changes ... ";
return;
}
@@ -435,4 +439,9 @@
</table>
<div id='tooltip' style="margin-left:5px;height: 60px; width:560px; overflow :auto; font-family : Trebuchet MS, Arial, Helvetica, sans-serif;font-size: 11px; "></div>
</div>
+<SCRIPT LANGUAGE="JavaScript">
+<!--
+showdiv_statusmessage();
+//-->
+</SCRIPT>
</body>
Modified: trunk/config/schwing.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/schwing.html?rev=63&r1=62&r2=63&view=diff
==============================================================================
--- trunk/config/schwing.html (original)
+++ trunk/config/schwing.html Thu Oct 12 12:31:04 2006
@@ -80,6 +80,9 @@
new PanelDef("menus", "Voice Menus", "accordion-icon.gif",
"Menus allow for more efficient routing of calls from incoming callers."),
+
+ new PanelDef("record_vmenu", "Record a Menu", "accordion-icon.gif",
+ "Allows you to record custom voicemenus over a phone"),
new PanelDef("status", "Status", "accordion-icon.gif", "Monitor active channels."),
More information about the asterisk-gui-commits
mailing list