summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorRobert Zorko <robertz@gurucue.com>2015-09-18 18:51:15 +0200
committerRobert Zorko <robertz@gurucue.com>2015-09-18 18:51:15 +0200
commit9113815d16d38373b378c6d34000a75f019b219f (patch)
tree65450babaf75fbde53ffcedc96a489e0bec50ae2 /index.html
parentb9ff4650857cc34a795613281d576196345359ee (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.html29
1 files changed, 22 insertions, 7 deletions
diff --git a/index.html b/index.html
index 5c5d7b9..8f4e933 100644
--- a/index.html
+++ b/index.html
@@ -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>