changeset 128:bea4e7e703a2

Initial layout of the options page. Now that login keys persist, the options can be put on a separate page. An as-yet nonfunctional layout for options.html has been added.
author John "Elwin" Edwards <elwin@sdf.org>
date Mon, 27 Aug 2012 21:28:10 -0700
parents e54018b26ed8
children 46822bd329da
files options.html options.js style-rlg.css
diffstat 3 files changed, 31 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/options.html	Mon Aug 27 21:28:10 2012 -0700
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<title>RLG-Web Options</title>
+<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)">
+<h1>RLG-Web Options</h1>
+<div id="switch">
+  <span class="ibutton">E-mail</span>
+  <span class="ibutton">Password</span>
+</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 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>
+</body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/options.js	Mon Aug 27 21:28:10 2012 -0700
@@ -0,0 +1,1 @@
+/* Nothing here yet. */
--- a/style-rlg.css	Mon Aug 27 13:43:12 2012 -0700
+++ b/style-rlg.css	Mon Aug 27 21:28:10 2012 -0700
@@ -104,3 +104,10 @@
 div#debug {
 	display: none;
 }
+
+/* For options.html */
+div#switch {
+	margin-bottom: 1em;
+	padding: 0.4em 0.4em;
+	text-align: center;
+}