summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-24 10:19:52 +0200
committerAleš Smodiš <aless@guru.si>2015-09-24 10:19:52 +0200
commit652164680ac0d1b4ace0ae9ec55f69b28740d11a (patch)
tree2cc3e36aada8302e4f6e1480c22bbff1747b5183 /index.html
parent9f8373a5559da4d0368958f87f495e95d0099cb0 (diff)
Reimplemented language selection with simple links. Removed unused startup.js, moved the boot sequence to core.js.
Diffstat (limited to 'index.html')
-rw-r--r--index.html23
1 files changed, 3 insertions, 20 deletions
diff --git a/index.html b/index.html
index bea88df..31e383b 100644
--- a/index.html
+++ b/index.html
@@ -85,24 +85,9 @@
<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="language" id="language" style="min-width: 10em;">
- <option value="prolog">prolog</option>
- <option value="python">python</option>
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="2" style="text-align: center;">
- <button type="button" id="submit_language">Select</button>
- </td>
- </tr>
- </tbody>
- </table>
+ <br>
+ <a id="choose-prolog">Prolog</a><br>
+ <a id="choose-python">Python</a>
</div>
<!-- problem selection screen for a specific language: groups of problems, with descriptions -->
@@ -217,12 +202,10 @@
<script src="js/codeq/comms.js"></script>
<script src="js/codeq/console.js"></script>
<script src="js/codeq/hint.js"></script>
- <script src="js/def_parser.js"></script>
<script src="js/codeq/prolog.js"></script>
<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>