Make the options page functional.

The options page now uses the /uinfo interface to change e-mail and
password values.
This commit is contained in:
John "Elwin" Edwards 2012-08-28 17:38:25 -07:00
parent 0f71a90f8b
commit eb2e44e13e
2 changed files with 39 additions and 4 deletions

View file

@ -5,7 +5,7 @@
<script type="text/javascript" src="options.js"></script>
<link rel="stylesheet" type="text/css" href="style-rlg.css">
</head>
<body onload="setup()" onkeydown="sendkey(event)">
<body onload="setup()">
<h1>RLG-Web Options</h1>
<div id="switch">
<span class="ibutton">E-mail</span>
@ -13,11 +13,11 @@
</div>
<div class="formtable" id="o_email">
<div><div>E-mail:</div><div><input type="text" name="email" id="input_email"></div></div>
<div><div><span class="ibutton">Save</span></div><div><span class="ibutton">Cancel</span></div></div>
<div><div><span class="ibutton" onclick="postemail()">Save</span></div><div><span class="ibutton">Cancel</span></div></div>
</div>
<div class="formtable" id="o_pw">
<div><div>Password:</div><div><input type="password" name="pw" id="input_pw"></div></div>
<div><div><span class="ibutton">Save</span></div><div><span class="ibutton">Cancel</span></div></div>
<div><div><span class="ibutton" onclick="postpw()">Save</span></div><div><span class="ibutton">Cancel</span></div></div>
</div>
</body>
</html>