comparison index.html @ 177:5372f1f97cf5

Move index.html files. The RLGWebD index.html no longer needs to be renamed when installing.
author John "Elwin" Edwards
date Wed, 14 Jan 2015 15:16:31 -0500
parents index-rlg.html@bf518a00190b
children b5df69715001
comparison
equal deleted inserted replaced
176:bf518a00190b 177:5372f1f97cf5
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>RLG-Web β7</title>
5 <script type="text/javascript" src="termemu.js"></script>
6 <script type="text/javascript" src="termemu-keys.js"></script>
7 <script type="text/javascript" src="rlgterm.js"></script>
8 <link rel="stylesheet" type="text/css" href="tty.css">
9 <link rel="stylesheet" type="text/css" href="style-rlg.css">
10 </head>
11 <body onload="setup()" onkeydown="sendkey(event)">
12 <h1>RLG-Web β7</h1>
13 <div id ="top">
14 <img src="/bell.svg" alt="bell" id="bell">
15 </div>
16 <div id="termwrap">RLG-Web won't work without JavaScript. It's not as bad as Flash, I promise.</div>
17 <div class="modal" id="keyboard">
18 <div id="keys">
19 <div class="keyrow">
20 <div class="key" onclick="vkey('`')">`</div>
21 <div class="key" onclick="vkey('1')">1</div>
22 <div class="key" onclick="vkey('2')">2</div>
23 <div class="key" onclick="vkey('3')">3</div>
24 <div class="key" onclick="vkey('4')">4</div>
25 <div class="key" onclick="vkey('5')">5</div>
26 <div class="key" onclick="vkey('6')">6</div>
27 <div class="key" onclick="vkey('7')">7</div>
28 <div class="key" onclick="vkey('8')">8</div>
29 <div class="key" onclick="vkey('9')">9</div>
30 <div class="key" onclick="vkey('0')">0</div>
31 <div class="key" onclick="vkey('-')">-</div>
32 <div class="key" onclick="vkey('=')">=</div>
33 <div class="key" onclick="vkey('\b')" style="width: 2.5em">Bksp</div>
34 <div class="rkey" onclick="vkey('KP9')">↗</div>
35 <div class="rkey" onclick="vkey('KP8')">↑</div>
36 <div class="rkey" onclick="vkey('KP7')">↖</div>
37 </div>
38 <div class="keyrow">
39 <div class="key" onclick="vkey('\t')" style="width: 2.5em">Tab</div>
40 <div class="key" onclick="vkey('q')">Q</div>
41 <div class="key" onclick="vkey('w')">W</div>
42 <div class="key" onclick="vkey('e')">E</div>
43 <div class="key" onclick="vkey('r')">R</div>
44 <div class="key" onclick="vkey('t')">T</div>
45 <div class="key" onclick="vkey('y')">Y</div>
46 <div class="key" onclick="vkey('u')">U</div>
47 <div class="key" onclick="vkey('i')">I</div>
48 <div class="key" onclick="vkey('o')">O</div>
49 <div class="key" onclick="vkey('p')">P</div>
50 <div class="key" onclick="vkey('[')">[</div>
51 <div class="key" onclick="vkey(']')">]</div>
52 <div class="key" onclick="vkey('\\')">\</div>
53 <div class="rkey" onclick="vkey('KP6')">→</div>
54 <div class="rkey" onclick="vkey('KP5')">·</div>
55 <div class="rkey" onclick="vkey('KP4')">←</div>
56 </div>
57 <div class="keyrow">
58 <div class="key" onclick="togglectrl()" id="ctrlkey">Ctrl</div>
59 <div class="key" onclick="vkey('a')">A</div>
60 <div class="key" onclick="vkey('s')">S</div>
61 <div class="key" onclick="vkey('d')">D</div>
62 <div class="key" onclick="vkey('f')">F</div>
63 <div class="key" onclick="vkey('g')">G</div>
64 <div class="key" onclick="vkey('h')">H</div>
65 <div class="key" onclick="vkey('j')">J</div>
66 <div class="key" onclick="vkey('k')">K</div>
67 <div class="key" onclick="vkey('l')">L</div>
68 <div class="key" onclick="vkey(';')">;</div>
69 <div class="key" onclick="vkey('\'')">'</div>
70 <div class="key" onclick="vkey('\n')" style="width: 4em">Ret</div>
71 <div class="rkey" onclick="vkey('KP3')">↘</div>
72 <div class="rkey" onclick="vkey('KP2')">↓</div>
73 <div class="rkey" onclick="vkey('KP1')">↙</div>
74 </div>
75 <div class="keyrow">
76 <div class="key" onclick="toggleshift()" id="shiftkey">Shift</div>
77 <div class="key" onclick="vkey('z')">Z</div>
78 <div class="key" onclick="vkey('x')">X</div>
79 <div class="key" onclick="vkey('c')">C</div>
80 <div class="key" onclick="vkey('v')">V</div>
81 <div class="key" onclick="vkey('b')">B</div>
82 <div class="key" onclick="vkey('n')">N</div>
83 <div class="key" onclick="vkey('m')">M</div>
84 <div class="key" onclick="vkey(',')">,</div>
85 <div class="key" onclick="vkey('.')">.</div>
86 <div class="key" onclick="vkey('/')">/</div>
87 </div>
88 <div class="keyrow">
89 <div class="key" onclick="vkey(' ')" id="spacebar"></div>
90 </div>
91 </div>
92 <div class="centerb"><span class="ibutton" onclick="toggleBlock('keys')">Keyboard</span></div>
93 </div>
94 <div class="modal" id="playctl">
95 <div class="rfloat"><span class="ibutton" onclick="stop()">Stop</span></div>
96 <div class="rfloat">Font:
97 <span onclick="textsize(false)" class="ibutton">Smaller</span>
98 <span onclick="textsize(true)" class="ibutton">Larger</span>
99 </div>
100 </div>
101 <div class="modal" id="current">
102 <div id="gametable" class="formtable">
103 <div class="tcapt">Games in Progress</div>
104 <div><div>Player</div><div>Game</div><div>Source</div><div>Idle time</div><div>Actions</div></div>
105 </div>
106 <div id="nogames">No one is playing right now.</div>
107 </div>
108 <div class="modal" id="startgame">
109 <div id="opttable" class="formtable"><div><div>Game</div><div>Actions</div></div></div>
110 </div>
111 <div class="modal" id="login">
112 <div class="formtable">
113 <div><div>Name:</div><div><input type="text" name="name" id="input_name"></div></div>
114 <div><div>Password:</div><div><input type="password" name="pw" id="input_pw"></div></div>
115 <div><div><span class="ibutton" onclick="formlogin(event)">Log in</span></div></div>
116 </div>
117 <div class="rfloat"><span class="ibutton" onclick="setmode('register')">New name</span></div>
118 </div>
119 <div class="modal" id="register">
120 <div class="formtable">
121 <div><div>Name:</div><div><input type="text" name="name" id="regin_name" maxlength="20"></div></div>
122 <div><div>Password:</div><div><input type="password" name="pw" id="regin_pw"></div></div>
123 <div><div>E-mail (optional):</div><div><input type="text" name="email" id="regin_email"></div></div>
124 <div>
125 <div><span class="ibutton" onclick="formreg(event)">Sign up</span></div>
126 <div><span class="ibutton" onclick="setmode('login')">Cancel</span></div>
127 </div>
128 </div>
129 </div>
130 <div class="modal" id="messages">
131 </div>
132 <div class="modal" id="misc">
133 <div class="centerb"><a href="/options.html">Options</a></div>
134 <div class="centerb"><a href="/about.html">Information</a></div>
135 </div>
136 <div id="debug">
137 </div>
138 </body>
139 </html>