git-svn-id: https://svn.code.sf.net/p/freetel/code@531 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 4 Jun 2012 00:34:24 +0000 (00:34 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Mon, 4 Jun 2012 00:34:24 +0000 (00:34 +0000)
mini-asterisk-gui2/voiplines.html
mini-asterisk-gui2/voiplines.js

index dbccd31f25bc560f8b9e60fa1db18f9294622a63..244c1cae2e7dcf5919152994e89f424a9c199032 100644 (file)
   <table align="center" width=800>
   <tr>
     <td><div id="menu"></div></td>
-    <td><div id="voiplines"></div></td>
+    <td><div id="voiplines"></div>
+
+   <td valign="top">
+
+    <table align="right" width=600>
+      <tr><td>&nbsp</td></tr>
+      <form name="voiplines">
+      <tr><td onMouseOver="popUp(event,'voiplines_voiplines')" onmouseout="popUp(event,'voiplines_voiplines')" align="left" valign="top" colspan="3"><h2>VOIP Line</h2></td></tr>
+
+      <tr><td>&nbsp</td></tr>
+
+      <tr id="tt_provider"><td>Provider</td><td>
+      <select name="provider" id="provider" onchange="changeProvider()">
+       <option selected="yes">one</option>
+       <option selected="no">two</option>
+       <option selected="no">three</option>
+      </select></td></tr>
+      <tr id="tt_user"><td>User:</td><td><input type="text" name="user" id="user" value=""></td></tr>
+      <tr id="tt_pass"><td >Password:</td><td><input type="password" name="pass" id="pass" value=""></td></tr>
+      <tr id="tt_host"><td >Host:</td><td><input type="text" name="host" id="host" value=""></td></tr>
+      <tr><td colspan="2">Sometimes it takes a few seconds to connect
+                          your Voip Line.  After clicking OK refresh
+                          your browser to update Voip Line status.
+                          </td></tr>
+
+      <tr><td>&nbsp</td></tr>
+      <tr><td><input type="submit" value="OK" onClick=onClickApply()></td></tr>
+
+      </form>
+
+    </table>
+    </form>
+
+    </td>
+  </td>
   </tr>
 
   </table>
index 63e8ef2218fe9c84d5af5c9a946c9ce9be5f0ae3..f2c7d6424cf5c6e1e694b8c949afca65823b8542 100644 (file)
@@ -37,9 +37,12 @@ function initialisePage() {
  
     html += '</table>';
 
-    document.getElementById("voiplines").innerHTML += html;
//   document.getElementById("voiplines").innerHTML += html;
 
 }
 
+function onClickApply() {
+
+}