From: horse69 Date: Sun, 6 May 2012 23:24:03 +0000 (+0000) Subject: Added system info page X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=7564540343ad0f40c3eedd04b704c92b0c64e56c;p=freetel-svn-tracking.git Added system info page git-svn-id: https://svn.code.sf.net/p/freetel/code@400 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/system.html b/mini-asterisk-gui2/system.html new file mode 100644 index 00000000..56fb537a --- /dev/null +++ b/mini-asterisk-gui2/system.html @@ -0,0 +1,29 @@ + + + + +About + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/mini-asterisk-gui2/system.js b/mini-asterisk-gui2/system.js new file mode 100644 index 00000000..be203bde --- /dev/null +++ b/mini-asterisk-gui2/system.js @@ -0,0 +1,49 @@ +/* + about.js + Ian Roberts + May 7 2012 + + System 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 += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + html += ''; + + html += '

System

Display results of the following shell commands
cat /proc/version
ipkg list_installed
cat /proc/loadavg
uptime
cat /proc/cpuinfo
cat /proc/mtd
cat /proc/yaffs
 
'; + + document.getElementById("system").innerHTML += html; + +} + + +