Mercurial > hg > rlgwebd
comparison index-rlg.html @ 0:bd412f63ce0d
Put this project under version control, finally.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Sun, 06 May 2012 08:45:40 -0700 |
parents | |
children | 21738794755e |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bd412f63ce0d |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
2 <html> | |
3 <head> | |
4 <title>WebTTY</title> | |
5 <script type="text/javascript" src="termemu.js"></script> | |
6 <script type="text/javascript" src="rlgterm.js"></script> | |
7 <link rel="stylesheet" type="text/css" href="tty.css"> | |
8 </head> | |
9 <body onload="setup()" onkeydown="sendkey(event)"> | |
10 <h1>WebTTY</h1> | |
11 <div id ="top"> | |
12 <span id="ttitle"></span> | |
13 <img src="/bell.png" alt="bell" id="bell"> | |
14 </div> | |
15 <div id="termwrap">TERM</div> | |
16 <div class="keyrow"> | |
17 <div class="key" onclick="vkey('`')">`</div> | |
18 <div class="key" onclick="vkey('1')">1</div> | |
19 <div class="key" onclick="vkey('2')">2</div> | |
20 <div class="key" onclick="vkey('3')">3</div> | |
21 <div class="key" onclick="vkey('4')">4</div> | |
22 <div class="key" onclick="vkey('5')">5</div> | |
23 <div class="key" onclick="vkey('6')">6</div> | |
24 <div class="key" onclick="vkey('7')">7</div> | |
25 <div class="key" onclick="vkey('8')">8</div> | |
26 <div class="key" onclick="vkey('9')">9</div> | |
27 <div class="key" onclick="vkey('0')">0</div> | |
28 <div class="key" onclick="vkey('-')">-</div> | |
29 <div class="key" onclick="vkey('=')">=</div> | |
30 <div class="key" onclick="vkey('\b')" style="width: 2.5em">Bksp</div> | |
31 </div> | |
32 <div class="keyrow"> | |
33 <div class="key" onclick="vkey('\t')" style="width: 2.5em">Tab</div> | |
34 <div class="key" onclick="vkey('q')">Q</div> | |
35 <div class="key" onclick="vkey('w')">W</div> | |
36 <div class="key" onclick="vkey('e')">E</div> | |
37 <div class="key" onclick="vkey('r')">R</div> | |
38 <div class="key" onclick="vkey('t')">T</div> | |
39 <div class="key" onclick="vkey('y')">Y</div> | |
40 <div class="key" onclick="vkey('u')">U</div> | |
41 <div class="key" onclick="vkey('i')">I</div> | |
42 <div class="key" onclick="vkey('o')">O</div> | |
43 <div class="key" onclick="vkey('p')">P</div> | |
44 <div class="key" onclick="vkey('[')">[</div> | |
45 <div class="key" onclick="vkey(']')">]</div> | |
46 <div class="key" onclick="vkey('\\')">\</div> | |
47 </div> | |
48 <div class="keyrow"> | |
49 <div class="key" onclick="togglectrl()" id="ctrlkey">Ctrl</div> | |
50 <div class="key" onclick="vkey('a')">A</div> | |
51 <div class="key" onclick="vkey('s')">S</div> | |
52 <div class="key" onclick="vkey('d')">D</div> | |
53 <div class="key" onclick="vkey('f')">F</div> | |
54 <div class="key" onclick="vkey('g')">G</div> | |
55 <div class="key" onclick="vkey('h')">H</div> | |
56 <div class="key" onclick="vkey('j')">J</div> | |
57 <div class="key" onclick="vkey('k')">K</div> | |
58 <div class="key" onclick="vkey('l')">L</div> | |
59 <div class="key" onclick="vkey(';')">;</div> | |
60 <div class="key" onclick="vkey('\'')">'</div> | |
61 <div class="key" onclick="vkey('\n')" style="width: 4em">Ret</div> | |
62 </div> | |
63 <div class="keyrow"> | |
64 <div class="key" onclick="toggleshift()" id="shiftkey">Shift</div> | |
65 <div class="key" onclick="vkey('z')">Z</div> | |
66 <div class="key" onclick="vkey('x')">X</div> | |
67 <div class="key" onclick="vkey('c')">C</div> | |
68 <div class="key" onclick="vkey('v')">V</div> | |
69 <div class="key" onclick="vkey('b')">B</div> | |
70 <div class="key" onclick="vkey('n')">N</div> | |
71 <div class="key" onclick="vkey('m')">M</div> | |
72 <div class="key" onclick="vkey(',')">,</div> | |
73 <div class="key" onclick="vkey('.')">.</div> | |
74 <div class="key" onclick="vkey('/')">/</div> | |
75 </div> | |
76 <div class="keyrow"> | |
77 <div class="key" onclick="vkey(' ')" id="spacebar"></div> | |
78 </div> | |
79 <div class="rbutton" onclick="stop()">Stop</div> | |
80 <div class="rbutton">Font: | |
81 <span onclick="textsize(false)">Smaller</span> | |
82 <span onclick="textsize(true)">Larger</span> | |
83 </div> | |
84 <div> | |
85 <form id="loginform" action="/login" method="post"> | |
86 <div> | |
87 Name: <input type="text" name="name" id="input_name"> | |
88 Password: <input type="password" name="pw" id="input_pw"> | |
89 Choose game: <select name="game" id="input_game"> | |
90 <option label="Rogue V3" value="rogue3">Rogue V3</option> | |
91 <option label="Rogue V4" value="rogue4">Rogue V4</option> | |
92 <option label="Rogue V5" value="rogue5">Rogue V5</option> | |
93 <option label="Super-Rogue" value="srogue">Super-Rogue</option> | |
94 </select> | |
95 <input type="submit" value="Play" onclick="formlogin(event)"> | |
96 </div> | |
97 </form> | |
98 </div> | |
99 <div id="debug"> | |
100 <p>Debugging Output</p> | |
101 </div> | |
102 </body> | |
103 </html> |