summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-09-26 15:23:26 +0200
committerAleš Smodiš <aless@guru.si>2015-09-26 15:23:26 +0200
commitea0c8e8a9fdc1cbcd33ab344c02df490f13f840e (patch)
treebc7f0346da0dabd3b40b717afbd97ae23ff356c6 /index.html
parent2d2efca92351293ab179956efee78ef8f697afd6 (diff)
Reimplemented translation support: leave the DOM structure intact, upon display language switch only replace language-dependent content.
Diffstat (limited to 'index.html')
-rw-r--r--index.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/index.html b/index.html
index 3613ad9..8b12721 100644
--- a/index.html
+++ b/index.html
@@ -101,12 +101,7 @@
</div>
<!-- problem selection screen for a specific language: groups of problems, with descriptions -->
- <div class="container" id="screen_problem" style="display: none;">
- <h1 class="language-title"></h1>
- <hr>
- <h3 class="language-description"></h3>
- <ul class="language-problems"></ul>
- </div>
+ <div class="container" id="screen_problem" style="display: none;"></div>
<!-- problem screen: prolog -->
<div class="container-fluid quadrants block1" id="screen_prolog" style="display: none;">
@@ -194,6 +189,7 @@
<script src="js/codemirror/show-hint.js"></script>
<!-- codeq app -->
<script src="js/codeq/core.js"></script>
+ <script src="js/codeq/translation.js"></script>
<script src="js/codeq/statusbar.js"></script>
<script src="js/codeq/navigation.js"></script>
<script src="js/codeq/comms.js"></script>