a
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 10 May 2012 07:09:54 +0000 (07:09 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 10 May 2012 07:09:54 +0000 (07:09 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@412 01035d8c-6547-0410-b346-abe4f91aad63

mini-asterisk-gui2/faq.html [new file with mode: 0644]
mini-asterisk-gui2/faq.js [new file with mode: 0644]
mini-asterisk-gui2/phones.js

diff --git a/mini-asterisk-gui2/faq.html b/mini-asterisk-gui2/faq.html
new file mode 100644 (file)
index 0000000..7384f22
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+<title>FAQ</title>
+
+<link rel="stylesheet" type="text/css" href="ministyle.css">
+<link rel="stylesheet" href="tooltip.css" type="text/css" />
+<script type="text/javascript" src="minicommon.js"></script>
+<script type="text/javascript" src="tooltip.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript" src="faq.js"></script>
+<script type="text/javascript">
+
+</script>
+
+</head>
+
+<body onload="initialise()">
+
+  <table align="center" width=800>
+  <tr>
+    <td><div id="menu"></div></td>
+    <td><div id="faq"></div></td>
+  </tr>
+
+  </table>
+</body>
+</html>
diff --git a/mini-asterisk-gui2/faq.js b/mini-asterisk-gui2/faq.js
new file mode 100644 (file)
index 0000000..509ed14
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  faq.js
+  Ian Roberts
+  May 10 2012
+
+  FAQ screen for Mini Asterisk GUI2.
+*/
+
+var update_time = 10;
+
+
+// Called when we load page
+
+function initialise() {
+    mainMenu();
+
+    initialisePage();
+}
+
+
+function initialisePage() {
+    // 
+    
+    var icon = '<img src="tick.png" alt="Analog Phone OK" />';
+    var html = '';
+
+    html += '<table align="right" width=600>';
+
+    // print out info
+
+    html += '<tr><td colspan="3" align="left" valign="top"><h2>FAQ</h2></td></tr>';
+    html += '<tr><td colspan="2"><a href="http://rowetel.com/ucasterisk/mini.html">Mini Asterisk GUI2</a></td><td> </td><td>Revision XXX</td></tr>';
+    html += '<tr><td colspan="2">Brought to you by the</td><td> </td><td> <a href="http://rowetel.com/ucasterisk/index.html">Free Telephony Project</a></td></tr>';
+    // this image will only come up if internet connection is present
+    html += '<tr><td colspan="2"><a href="http://rowetel.com/ucasterisk/ip04.html"><img src="http://rowetel.com/images/ip04/ip04_case.jpg" border="0" /></a></td><td> </td><td></td></tr>';
+    html += '<tr><td>&nbsp</td></tr>';
+    html += '</table>';
+
+    document.getElementById("faq").innerHTML += html;
+
+}
+
+
+
index e2e290283b92932d8fb67f40a466e8fc8397fd3c..3c5cb418d94cb6bee2ae2b8f8dda83c5cc3e431f 100644 (file)
@@ -31,7 +31,7 @@ function initialisePage() {
 
     // print out internet connection
 
-    html += '<tr><td colspan="3" align="left" valign="top"><h2>Phone System</h2></td></tr>';
+    html += '<tr><td colspan="3" align="left" valign="top"><h2>Phone System (GUI2)</h2></td></tr>';
     html += '<tr><td colspan="2">Internet Connection:</td><td> </td><td><div id="internet"></div></td></tr>';
     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>';