From 563a678b1db651ada1a52106a4c946d31203721c Mon Sep 17 00:00:00 2001 From: horse69 Date: Thu, 31 May 2012 23:44:21 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@528 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/system.html | 42 +++++++++++++++++++++++++++++++++- mini-asterisk-gui2/system.js | 42 ++-------------------------------- 2 files changed, 43 insertions(+), 41 deletions(-) diff --git a/mini-asterisk-gui2/system.html b/mini-asterisk-gui2/system.html index 19fb279a..d57db73f 100644 --- a/mini-asterisk-gui2/system.html +++ b/mini-asterisk-gui2/system.html @@ -21,7 +21,47 @@ - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

System

cat /proc/version
 
cat /proc/loadavg
 
cat /proc/cpuinfo
 
cat /proc/mtd
 
cat /proc/meminfo
 
cat /proc/yaffs
 
uptime
 
ipkg list_installed
 
+ + +
diff --git a/mini-asterisk-gui2/system.js b/mini-asterisk-gui2/system.js index db29ef40..f8b01bb0 100644 --- a/mini-asterisk-gui2/system.js +++ b/mini-asterisk-gui2/system.js @@ -21,47 +21,9 @@ function initialise() { function initialisePage() { - // - - var icon = 'Analog Phone OK'; - var html = ''; - html += ''; - // print out info - - html += ''; - html += ''; - - html += '' ; - html += ''; - - html += ''; - html += ''; - - html += ''; - html += ''; - - html += ''; - html += ''; - - html += ''; - html += ''; - - html += ''; - html += ''; - - html += ''; - html += ''; - - html += ''; - html += ''; - - html += ''; - - html += '

System

Display results of the following shell commands
cat /proc/version
cat /proc/loadavg
cat /proc/cpuinfo
cat /proc/mtd
cat /proc/meminfo
cat /proc/yaffs
uptime
ipkg list_installed
 
'; - - document.getElementById("system").innerHTML += html; +// document.getElementById("system").innerHTML += html; } @@ -134,7 +96,7 @@ function loadinstalled(doc, status) { document.getElementById('installed').innerHTML = doc.substr(0, doc.length); -// downloadUrl("/cgi-bin/catproc.cgi?arg=cpuinfo", loadCPUinfo); +// end of script cascade } -- 2.25.1