From: horse69 Date: Thu, 20 Dec 2012 20:51:38 +0000 (+0000) Subject: git-svn-id: https://svn.code.sf.net/p/freetel/code@1146 01035d8c-6547-0410-b346-abe4f... X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=ddc3ea2f33aa9ec4bc864592deb0ac2422fe637f;p=freetel-svn-tracking.git git-svn-id: https://svn.code.sf.net/p/freetel/code@1146 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/mini-asterisk-gui2/login.html b/mini-asterisk-gui2/login.html new file mode 100644 index 00000000..24b6bb1e --- /dev/null +++ b/mini-asterisk-gui2/login.html @@ -0,0 +1,32 @@ + + + + +Mini Asterisk - Login + + + + + + + + + + + + + + + + + + + + +

Login

Password:
Default password is uClinux
+ + + diff --git a/mini-asterisk-gui2/minicommon.js b/mini-asterisk-gui2/minicommon.js index e89c843e..295d0734 100644 --- a/mini-asterisk-gui2/minicommon.js +++ b/mini-asterisk-gui2/minicommon.js @@ -6,6 +6,8 @@ Common functions used by Mini Asterisk GUI. */ +var logged_in = 0; + // index Zaptel port number (1,2,...), value extension (6001,6002...) var analog_ext = []; @@ -411,5 +413,17 @@ function downloadUrl2(url, callback) { } +function onClickLogin() { + + // load password from file + + // Test submit against pw + + // If ok then + logged_in = 1; + // else + + // fail +}