Mercurial > hg > rlgwebd
annotate options.html @ 129:46822bd329da
Make the options page functional.
The options page now uses the /uinfo interface to change e-mail and
password values.
| author | John "Elwin" Edwards <elwin@sdf.org> | 
|---|---|
| date | Tue, 28 Aug 2012 17:38:25 -0700 | 
| parents | bea4e7e703a2 | 
| children | a2e071a95055 | 
| rev | line source | 
|---|---|
| 
128
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
2 <html> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
3 <head> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
4 <title>RLG-Web Options</title> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
5 <script type="text/javascript" src="options.js"></script> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
6 <link rel="stylesheet" type="text/css" href="style-rlg.css"> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
7 </head> | 
| 
129
 
46822bd329da
Make the options page functional.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents: 
128 
diff
changeset
 | 
8 <body onload="setup()"> | 
| 
128
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
9 <h1>RLG-Web Options</h1> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
10 <div id="switch"> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
11 <span class="ibutton">E-mail</span> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
12 <span class="ibutton">Password</span> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
13 </div> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
14 <div class="formtable" id="o_email"> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
15 <div><div>E-mail:</div><div><input type="text" name="email" id="input_email"></div></div> | 
| 
129
 
46822bd329da
Make the options page functional.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents: 
128 
diff
changeset
 | 
16 <div><div><span class="ibutton" onclick="postemail()">Save</span></div><div><span class="ibutton">Cancel</span></div></div> | 
| 
128
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
17 </div> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
18 <div class="formtable" id="o_pw"> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
19 <div><div>Password:</div><div><input type="password" name="pw" id="input_pw"></div></div> | 
| 
129
 
46822bd329da
Make the options page functional.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents: 
128 
diff
changeset
 | 
20 <div><div><span class="ibutton" onclick="postpw()">Save</span></div><div><span class="ibutton">Cancel</span></div></div> | 
| 
128
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
21 </div> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
22 </body> | 
| 
 
bea4e7e703a2
Initial layout of the options page.
 
John "Elwin" Edwards <elwin@sdf.org> 
parents:  
diff
changeset
 | 
23 </html> | 
