From daca99ea49886e41e11445fd2312cd484fb35ad0 Mon Sep 17 00:00:00 2001 From: horse69 Date: Sun, 6 May 2012 22:28:24 +0000 Subject: [PATCH] about screen first pass git-svn-id: https://svn.code.sf.net/p/freetel/code@396 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/about.html | 29 +++++++++++++++++ mini-asterisk-gui2/about.js | 59 +++++++++++++++++++++++++++++++++++ mini-asterisk-gui2/menu.js | 2 +- 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 mini-asterisk-gui2/about.html create mode 100644 mini-asterisk-gui2/about.js diff --git a/mini-asterisk-gui2/about.html b/mini-asterisk-gui2/about.html new file mode 100644 index 00000000..d111e871 --- /dev/null +++ b/mini-asterisk-gui2/about.html @@ -0,0 +1,29 @@ + + + + +About + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/mini-asterisk-gui2/about.js b/mini-asterisk-gui2/about.js new file mode 100644 index 00000000..c62093c4 --- /dev/null +++ b/mini-asterisk-gui2/about.js @@ -0,0 +1,59 @@ +/* + about.js + Ian Roberts + May 7 2010 + + About screen for Mini Asterisk GUI. +*/ + +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 += ''; + html += ''; + html += ''; + + // print out analog phones + +/* html += ''; + for(var i=0; i" + ""; + html += ""; + html += ""; + html += ""; + } + } +*/ + + + html += '

About

Mini Asterisk Revision XXX
Brought to you by the Free Telephony Project
Image goes here Pic
 

Phones

" + "Analog Phone" + "Port" + i + "" + '' + "
'; + + document.getElementById("about").innerHTML += html; + +} + + + diff --git a/mini-asterisk-gui2/menu.js b/mini-asterisk-gui2/menu.js index 109113dd..259c6ed9 100644 --- a/mini-asterisk-gui2/menu.js +++ b/mini-asterisk-gui2/menu.js @@ -8,7 +8,7 @@ var menuItems = [ 'Phone System', - 'About', + 'About', 'Admin', 'FAQ', 'IP Phones', -- 2.25.1