comparison index-rlg.html @ 21:82be54381964

RLG-Web client: some cleanup Separate RLG-specific CSS into its own file, fix some typos.
author John "Elwin" Edwards <elwin@sdf.org>
date Wed, 23 May 2012 07:46:08 -0700
parents 188bbd857124
children 23a495e81725
comparison
equal deleted inserted replaced
20:5f785e1d5cca 21:82be54381964
4 <title>RLG-Web</title> 4 <title>RLG-Web</title>
5 <script type="text/javascript" src="termemu.js"></script> 5 <script type="text/javascript" src="termemu.js"></script>
6 <script type="text/javascript" src="termemu-keys.js"></script> 6 <script type="text/javascript" src="termemu-keys.js"></script>
7 <script type="text/javascript" src="rlgterm.js"></script> 7 <script type="text/javascript" src="rlgterm.js"></script>
8 <link rel="stylesheet" type="text/css" href="tty.css"> 8 <link rel="stylesheet" type="text/css" href="tty.css">
9 <link rel="stylesheet" type="text/css" href="style-rlg.css">
9 </head> 10 </head>
10 <body onload="setup()" onkeydown="sendkey(event)"> 11 <body onload="setup()" onkeydown="sendkey(event)">
11 <h1>RLG-Web</h1> 12 <h1>RLG-Web</h1>
12 <div id ="top"> 13 <div id ="top">
13 <span id="ttitle"></span> 14 <span id="ttitle"></span>
103 <div> 104 <div>
104 <input type="submit" value="Play" onclick="formlogin(event)"> 105 <input type="submit" value="Play" onclick="formlogin(event)">
105 </div> 106 </div>
106 </form> 107 </form>
107 </div> 108 </div>
108 <div class="rbutton" onclick="setmode(&quot;register&quot;)">Register</div> 109 <div class="rbutton" onclick="setmode('register')">Register</div>
109 <div class="modal" id="register"> 110 <div class="modal" id="register">
110 <form id="regform" action="/addacct" method="post"> 111 <form id="regform" action="/addacct" method="post">
111 <div> 112 <div>
112 Name: <input type="text" name="name" id="regin_name"> 113 Name: <input type="text" name="name" id="regin_name">
113 </div> 114 </div>
117 <div> 118 <div>
118 E-mail (optional): <input type="text" name="email" id="regin_email"> 119 E-mail (optional): <input type="text" name="email" id="regin_email">
119 </div> 120 </div>
120 <div> 121 <div>
121 <input type="submit" value="Sign up" onclick="formreg(event)"> 122 <input type="submit" value="Sign up" onclick="formreg(event)">
122 <input type="reset" value="Cancel" onclick="setmode(&quot;login&quot, event)"> 123 <input type="reset" value="Cancel" onclick="setmode('login', event)">
123 </div> 124 </div>
124 </form> 125 </form>
125 </div> 126 </div>
126 <div id="debug"> 127 <div id="debug">
127 <p>Debugging Output</p> 128 <p>Debugging Output</p>