From 7f8449d6a22dab757df3d6f00ef32c1e64ed6c60 Mon Sep 17 00:00:00 2001 From: horse69 Date: Thu, 10 May 2012 03:52:58 +0000 Subject: [PATCH] added placeholders for remaining menu functions git-svn-id: https://svn.code.sf.net/p/freetel/code@410 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/admin.html | 29 +++++++++++++++++++ mini-asterisk-gui2/admin.js | 45 +++++++++++++++++++++++++++++ mini-asterisk-gui2/diagnostics.html | 29 +++++++++++++++++++ mini-asterisk-gui2/diagnostics.js | 45 +++++++++++++++++++++++++++++ mini-asterisk-gui2/ipphones.html | 29 +++++++++++++++++++ mini-asterisk-gui2/ipphones.js | 45 +++++++++++++++++++++++++++++ mini-asterisk-gui2/logout.html | 29 +++++++++++++++++++ mini-asterisk-gui2/logout.js | 45 +++++++++++++++++++++++++++++ mini-asterisk-gui2/menu.js | 18 ++++++------ mini-asterisk-gui2/voiplines.html | 29 +++++++++++++++++++ mini-asterisk-gui2/voiplines.js | 45 +++++++++++++++++++++++++++++ 11 files changed, 379 insertions(+), 9 deletions(-) create mode 100644 mini-asterisk-gui2/admin.html create mode 100644 mini-asterisk-gui2/admin.js create mode 100644 mini-asterisk-gui2/diagnostics.html create mode 100644 mini-asterisk-gui2/diagnostics.js create mode 100644 mini-asterisk-gui2/ipphones.html create mode 100644 mini-asterisk-gui2/ipphones.js create mode 100644 mini-asterisk-gui2/logout.html create mode 100644 mini-asterisk-gui2/logout.js create mode 100644 mini-asterisk-gui2/voiplines.html create mode 100644 mini-asterisk-gui2/voiplines.js diff --git a/mini-asterisk-gui2/admin.html b/mini-asterisk-gui2/admin.html new file mode 100644 index 00000000..d111e871 --- /dev/null +++ b/mini-asterisk-gui2/admin.html @@ -0,0 +1,29 @@ + + + + +About + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/mini-asterisk-gui2/admin.js b/mini-asterisk-gui2/admin.js new file mode 100644 index 00000000..bdac0042 --- /dev/null +++ b/mini-asterisk-gui2/admin.js @@ -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 = 'Analog Phone OK'; + var html = ''; + + html += ''; + + // print out info + + html += ''; + html += ''; + html += ''; + // this image will only come up if internet connection is present + html += ''; + html += ''; + + html += '

About

Mini Asterisk GUI2 Revision XXX
Brought to you by the Free Telephony Project
 
'; + + document.getElementById("about").innerHTML += html; + +} + + + diff --git a/mini-asterisk-gui2/diagnostics.html b/mini-asterisk-gui2/diagnostics.html new file mode 100644 index 00000000..d111e871 --- /dev/null +++ b/mini-asterisk-gui2/diagnostics.html @@ -0,0 +1,29 @@ + + + + +About + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/mini-asterisk-gui2/diagnostics.js b/mini-asterisk-gui2/diagnostics.js new file mode 100644 index 00000000..bdac0042 --- /dev/null +++ b/mini-asterisk-gui2/diagnostics.js @@ -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 = 'Analog Phone OK'; + var html = ''; + + html += ''; + + // print out info + + html += ''; + html += ''; + html += ''; + // this image will only come up if internet connection is present + html += ''; + html += ''; + + html += '

About

Mini Asterisk GUI2 Revision XXX
Brought to you by the Free Telephony Project
 
'; + + document.getElementById("about").innerHTML += html; + +} + + + diff --git a/mini-asterisk-gui2/ipphones.html b/mini-asterisk-gui2/ipphones.html new file mode 100644 index 00000000..d111e871 --- /dev/null +++ b/mini-asterisk-gui2/ipphones.html @@ -0,0 +1,29 @@ + + + + +About + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/mini-asterisk-gui2/ipphones.js b/mini-asterisk-gui2/ipphones.js new file mode 100644 index 00000000..bdac0042 --- /dev/null +++ b/mini-asterisk-gui2/ipphones.js @@ -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 = 'Analog Phone OK'; + var html = ''; + + html += ''; + + // print out info + + html += ''; + html += ''; + html += ''; + // this image will only come up if internet connection is present + html += ''; + html += ''; + + html += '

About

Mini Asterisk GUI2 Revision XXX
Brought to you by the Free Telephony Project
 
'; + + document.getElementById("about").innerHTML += html; + +} + + + diff --git a/mini-asterisk-gui2/logout.html b/mini-asterisk-gui2/logout.html new file mode 100644 index 00000000..d111e871 --- /dev/null +++ b/mini-asterisk-gui2/logout.html @@ -0,0 +1,29 @@ + + + + +About + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/mini-asterisk-gui2/logout.js b/mini-asterisk-gui2/logout.js new file mode 100644 index 00000000..bdac0042 --- /dev/null +++ b/mini-asterisk-gui2/logout.js @@ -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 = 'Analog Phone OK'; + var html = ''; + + html += ''; + + // print out info + + html += ''; + html += ''; + html += ''; + // this image will only come up if internet connection is present + html += ''; + html += ''; + + html += '

About

Mini Asterisk GUI2 Revision XXX
Brought to you by the Free Telephony Project
 
'; + + document.getElementById("about").innerHTML += html; + +} + + + diff --git a/mini-asterisk-gui2/menu.js b/mini-asterisk-gui2/menu.js index 2ae23a77..429f83d8 100644 --- a/mini-asterisk-gui2/menu.js +++ b/mini-asterisk-gui2/menu.js @@ -11,12 +11,12 @@ var menuItems = [ 'About', 'System Info', 'Diagnostics', - 'Admin', - 'FAQ', - 'IP Phones', - 'Logout', + 'Admin', + 'FAQ', + 'IP Phones', 'Network', - 'VOIP Line' + 'VOIP Line', + 'Logout' ]; 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 = [ '
Change your password, reset the default settings, upgrade software
', '
Frequently asked questions and links to further information
', '
Set up your IP phones
', - '
I think you can work this one out....
', '
Connect the phone system to your network and the Internet
', - '
Set up your VOIP phone line
' + '
Set up your VOIP phone line
', + '
I think you can work this one out....
' ]; function mainMenu() { diff --git a/mini-asterisk-gui2/voiplines.html b/mini-asterisk-gui2/voiplines.html new file mode 100644 index 00000000..d111e871 --- /dev/null +++ b/mini-asterisk-gui2/voiplines.html @@ -0,0 +1,29 @@ + + + + +About + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/mini-asterisk-gui2/voiplines.js b/mini-asterisk-gui2/voiplines.js new file mode 100644 index 00000000..bdac0042 --- /dev/null +++ b/mini-asterisk-gui2/voiplines.js @@ -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 = 'Analog Phone OK'; + var html = ''; + + html += ''; + + // print out info + + html += ''; + html += ''; + html += ''; + // this image will only come up if internet connection is present + html += ''; + html += ''; + + html += '

About

Mini Asterisk GUI2 Revision XXX
Brought to you by the Free Telephony Project
 
'; + + document.getElementById("about").innerHTML += html; + +} + + + -- 2.25.1