git-svn-id: https://svn.code.sf.net/p/freetel/code@695 01035d8c-6547-0410-b346-abe4f9...
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 14 Sep 2012 03:47:29 +0000 (03:47 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 14 Sep 2012 03:47:29 +0000 (03:47 +0000)
mini-asterisk-gui2/phones.js
mini-asterisk-gui2/todo notes

index 9816233280f7ebf25a237f164c95378cf35b6806..6c722ba11434bab76e9bf6770bd73f7c2a351b17 100644 (file)
@@ -27,6 +27,8 @@ function initialisePage() {
     var icon = '<img src="tick.png" alt="Analog Phone OK" />';
     var html = '';
     var itemcount = 0;
+       
+    html += '<form name="phones" method="get">';
 
     html += '<table align="right" width=600 cellspacing=2>';
 
@@ -37,7 +39,6 @@ function initialisePage() {
     html += '<tr><td colspan="2">Phone System IP Address:</td><td> </td><td div id="ipaddress"></div></td></tr>';
     html += '<tr><td>&nbsp</td></tr>';
  
-    html += '<form name="phones" method="get">';
 
     // print out analog phones
 
@@ -121,7 +122,7 @@ function initialisePage() {
     html += "</tr>";
 
 
-    html += '</form>';
+
 
 
     // print out phone lines
@@ -165,7 +166,8 @@ function initialisePage() {
     html += "</tr>";
 
     html += '</table>';
-
+       
+    html += '</form>';
     document.getElementById("phones_table").innerHTML += html;
 
     // fire off fping CGI
index df3ac97a10b28916c999ee4a193af5952578874f..8359722b2253f54b8918e02f7e93418759a0a9e2 100644 (file)
@@ -43,6 +43,10 @@ gui2 install script fixes
       Close my tags !
          <img src="images/sample.jpg" alt="sample" />
 
+                
+       Try moving form back outside table (line 41 to above 31)
+       
+       Add some formatting (carriage returns) to the table element in phones.js
 
 4. network page not working
 ------------------------------