--- /dev/null
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
+<title>Mini Asterisk - Login</title>
+
+<link rel="stylesheet" type="text/css" href="ministyle.css" />
+<link rel="stylesheet" href="tooltip.css" type="text/css" />
+<script type="text/javascript" src="minicommon.js"></script>
+<script type="text/javascript" src="tooltip.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+// <input name="update_recept" type="button" style="width:100%" value="update reception" onClick="onClickUpdateReception()" />
+
+</script>
+
+</head>
+
+<body>
+
+ <table align="center" width=600>
+ <tr><td colspan="2" align="left"><h2>Login</h2></td>
+ <tr>
+ <tr><td>Password:</td><td><input type="password" name="pass" ></td></tr>
+ <tr><td><input name="submit_password" type="button" style="width:50%" value="Login" onClick="onClickLogin()"></td></tr>
+
+ </tr>
+ <tr><td></td><td>Default password is uClinux</td>
+ </table>
+
+</body>
+</html>
Common functions used by Mini Asterisk GUI.
*/
+var logged_in = 0;
+
// index Zaptel port number (1,2,...), value extension (6001,6002...)
var analog_ext = [];
}
+function onClickLogin() {
+
+ // load password from file
+
+ // Test submit against pw
+
+ // If ok then
+ logged_in = 1;
+ // else
+
+ // fail
+}