added placeholders for remaining menu functions
authorhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 10 May 2012 03:52:58 +0000 (03:52 +0000)
committerhorse69 <horse69@01035d8c-6547-0410-b346-abe4f91aad63>
Thu, 10 May 2012 03:52:58 +0000 (03:52 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@410 01035d8c-6547-0410-b346-abe4f91aad63

mini-asterisk-gui2/admin.html [new file with mode: 0644]
mini-asterisk-gui2/admin.js [new file with mode: 0644]
mini-asterisk-gui2/diagnostics.html [new file with mode: 0644]
mini-asterisk-gui2/diagnostics.js [new file with mode: 0644]
mini-asterisk-gui2/ipphones.html [new file with mode: 0644]
mini-asterisk-gui2/ipphones.js [new file with mode: 0644]
mini-asterisk-gui2/logout.html [new file with mode: 0644]
mini-asterisk-gui2/logout.js [new file with mode: 0644]
mini-asterisk-gui2/menu.js
mini-asterisk-gui2/voiplines.html [new file with mode: 0644]
mini-asterisk-gui2/voiplines.js [new file with mode: 0644]

diff --git a/mini-asterisk-gui2/admin.html b/mini-asterisk-gui2/admin.html
new file mode 100644 (file)
index 0000000..d111e87
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+<title>About</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="about.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="about"></div></td>
+  </tr>
+
+  </table>
+</body>
+</html>
diff --git a/mini-asterisk-gui2/admin.js b/mini-asterisk-gui2/admin.js
new file mode 100644 (file)
index 0000000..bdac004
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  about.js
+  Ian Roberts
+  May 7 2012
+
+  About 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>About</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("about").innerHTML += html;
+
+}
+
+
+
diff --git a/mini-asterisk-gui2/diagnostics.html b/mini-asterisk-gui2/diagnostics.html
new file mode 100644 (file)
index 0000000..d111e87
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+<title>About</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="about.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="about"></div></td>
+  </tr>
+
+  </table>
+</body>
+</html>
diff --git a/mini-asterisk-gui2/diagnostics.js b/mini-asterisk-gui2/diagnostics.js
new file mode 100644 (file)
index 0000000..bdac004
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  about.js
+  Ian Roberts
+  May 7 2012
+
+  About 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>About</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("about").innerHTML += html;
+
+}
+
+
+
diff --git a/mini-asterisk-gui2/ipphones.html b/mini-asterisk-gui2/ipphones.html
new file mode 100644 (file)
index 0000000..d111e87
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+<title>About</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="about.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="about"></div></td>
+  </tr>
+
+  </table>
+</body>
+</html>
diff --git a/mini-asterisk-gui2/ipphones.js b/mini-asterisk-gui2/ipphones.js
new file mode 100644 (file)
index 0000000..bdac004
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  about.js
+  Ian Roberts
+  May 7 2012
+
+  About 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>About</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("about").innerHTML += html;
+
+}
+
+
+
diff --git a/mini-asterisk-gui2/logout.html b/mini-asterisk-gui2/logout.html
new file mode 100644 (file)
index 0000000..d111e87
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+<title>About</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="about.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="about"></div></td>
+  </tr>
+
+  </table>
+</body>
+</html>
diff --git a/mini-asterisk-gui2/logout.js b/mini-asterisk-gui2/logout.js
new file mode 100644 (file)
index 0000000..bdac004
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  about.js
+  Ian Roberts
+  May 7 2012
+
+  About 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>About</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("about").innerHTML += html;
+
+}
+
+
+
index 2ae23a7774eb70719284801b4297bd88845c8dbf..429f83d860f1decddf6ae70f27dd3ea9d78893d7 100644 (file)
@@ -11,12 +11,12 @@ var menuItems = [
     '<a href="about.html">About</a>',
     '<a href="system.html">System Info</a>',
     '<a href="diagnostics.html">Diagnostics</a>',
-    '<a href="admin.sh">Admin</a>',
-    '<a href="faq.sh">FAQ</a>',
-    '<a href="ipphones.sh">IP Phones</a>',
-    '<a href="logout.sh">Logout</a>',
+    '<a href="admin.html">Admin</a>',
+    '<a href="faq.html">FAQ</a>',
+    '<a href="ipphones.html">IP Phones</a>',
     '<a href="network.html">Network</a>',
-    '<a href="voiplines.sh">VOIP Line</a>'
+    '<a href="voiplines.html">VOIP Line</a>',
+    '<a href="logout.html">Logout</a>'
 ];
 
 var menuTips = [
@@ -27,9 +27,9 @@ var menuTips = [
     'admin_tip',
     'faq_tip',
     'ipphones_tip',
-    'logout_tip',
     'network_tip',
-    'voipline_tip'
+    'voipline_tip',
+    'logout_tip'
 ];
 
 var menuToolTips = [
@@ -40,9 +40,9 @@ var menuToolTips = [
     '<div id="admin_tip" class="tip">Change your password, reset the default settings, upgrade software</div>',
     '<div id="faq_tip" class="tip">Frequently asked questions and links to further information</div>',
     '<div id="ipphones_tip" class="tip">Set up your IP phones</div>',
-    '<div id="logout_tip" class="tip">I think you can work this one out....</div>',
     '<div id="network_tip" class="tip">Connect the phone system to your network and the Internet</div>',
-    '<div id="voipline_tip" class="tip">Set up your VOIP phone line</div>'
+    '<div id="voipline_tip" class="tip">Set up your VOIP phone line</div>',
+    '<div id="logout_tip" class="tip">I think you can work this one out....</div>'
 ];
 
 function mainMenu() {
diff --git a/mini-asterisk-gui2/voiplines.html b/mini-asterisk-gui2/voiplines.html
new file mode 100644 (file)
index 0000000..d111e87
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+<title>About</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="about.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="about"></div></td>
+  </tr>
+
+  </table>
+</body>
+</html>
diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js
new file mode 100644 (file)
index 0000000..bdac004
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+  about.js
+  Ian Roberts
+  May 7 2012
+
+  About 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>About</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("about").innerHTML += html;
+
+}
+
+
+