Skip to content
Browse files

-

  • Loading branch information...
1 parent d76b722 commit 60f18598063a036ef8676f2a25a115e52685f51e @frutik committed Feb 9, 2012
Showing with 13 additions and 2 deletions.
  1. +13 −2 static/index.html
View
15 static/index.html
@@ -44,6 +44,13 @@
}
function agents_controller(data) {
+ if ( data.event == 'COMPLETEAGENT'
+ || data.event == 'COMPLETECALLER'
+ || data.event == 'TRANSFER'
+ || data.event == 'RINGNOANSWER')
+ {
+ $.tmpl("agentBlock", data).appendTo('#agents');
+ }
}
function links_controller(data) {
@@ -84,7 +91,11 @@
</head>
<body>
<textarea cols="80" rows="10" id="log"></textarea>
-
-<div id="callers"></div>
+<table width="100%">
+<tr valign="top">
+<td width="70%" id="callers"></td>
+<td id="agents"></td>
+</tr>
+</table>
</body>
</html>

0 comments on commit 60f1859

Please sign in to comment.
Something went wrong with that request. Please try again.