diff options
author | Robert Zorko <robertz@gurucue.com> | 2015-09-18 18:51:15 +0200 |
---|---|---|
committer | Robert Zorko <robertz@gurucue.com> | 2015-09-18 18:51:15 +0200 |
commit | 9113815d16d38373b378c6d34000a75f019b219f (patch) | |
tree | 65450babaf75fbde53ffcedc96a489e0bec50ae2 /index.html | |
parent | b9ff4650857cc34a795613281d576196345359ee (diff) |
split the selection of the language and the selection of the problem into two seperate screens (this update also required some changes at the codeq-server, so that one needs to be up to date as well for this to work)
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 29 |
1 files changed, 22 insertions, 7 deletions
@@ -62,25 +62,39 @@ <td style="text-align: right;">Password:</td> <td><input type="password" name="password" id="password"></td> </tr> - <!--<tr> + <tr> + <td colspan="2" style="text-align: center;"> + <button type="button" id="submit">Login</button> + </td> + </tr> + </tbody> + </table> + </div> + + <div id="screen_language" style="text-align: center; display: none;"> + <h1>CodeQ Select Language</h1> + <hr> + <table style="margin: 0 auto;"> + <tbody> + <tr> <td style="text-align: right;">Problem:</td> <td> - <select name="problem_group" id="problem_group" style="min-width: 10em;"> - </select> - <select name="problem" id="problems" style="min-width: 10em;"> + <select name="language" id="language" style="min-width: 10em;"> + <option value="prolog">prolog</option> + <option value="python">python</option> </select> </td> - </tr>--> + </tr> <tr> <td colspan="2" style="text-align: center;"> - <button type="button" id="submit">Login</button> + <button type="button" id="submit_language">Select</button> </td> </tr> </tbody> </table> </div> - <div id="screen_language" style="text-align: center; display: none;"> + <div id="screen_problem" style="text-align: center; display: none;"> <h1>CodeQ Select Problem</h1> <hr> <table style="margin: 0 auto;"> @@ -160,6 +174,7 @@ <script src="js/codeq/python.js"></script> <script src="js/codeq/login.js"></script> <script src="js/codeq/language.js"></script> + <script src="js/codeq/problem.js"></script> <script src="js/codeq/startup.js"></script> </body> </html> |