rlgterm.js: make the options table functional.

Enable launching games from the options table, and replace the old
select dialog.
This commit is contained in:
John "Elwin" Edwards 2012-06-09 17:00:25 -07:00
parent d3abfbcea9
commit aba0a4b7da
2 changed files with 20 additions and 19 deletions

View file

@ -86,22 +86,7 @@
</div>
</div>
<div class="modal" id="startgame">
<form id="startform" action="/play" method="post">
<div>
Choose game: <select name="game" id="input_game">
<option label="Rogue V3" value="rogue3">Rogue V3</option>
<option label="Rogue V4" value="rogue4">Rogue V4</option>
<option label="Rogue V5" value="rogue5">Rogue V5</option>
<option label="Super-Rogue" value="srogue">Super-Rogue</option>
</select>
</div>
<div>
<input type="submit" value="Play" onclick="startgame(event)">
</div>
</form>
<div id="opttable">
<div><div>Game</div><div>Actions</div></div>
</div>
<div id="opttable"><div><div>Game</div><div>Actions</div></div></div>
</div>
<div class="modal" id="login">
<form id="loginform" action="/login" method="post">