diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-30 16:43:56 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-30 16:43:56 +0200 |
commit | be66c44e2b882219c44bcf0de3238f6e3d62cfad (patch) | |
tree | a61ab9f176ef0f5b7ee672eca0f762c052c7eb65 /js/codeq/navigation.js | |
parent | 20ba9213950544c6a7f1dd04af160bf674561e3b (diff) |
Add the robot problem screen
Mostly a copy of the Python screen, a lot of functionality is missing.
Diffstat (limited to 'js/codeq/navigation.js')
-rw-r--r-- | js/codeq/navigation.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/codeq/navigation.js b/js/codeq/navigation.js index 80fd321..4eff834 100644 --- a/js/codeq/navigation.js +++ b/js/codeq/navigation.js @@ -97,6 +97,10 @@ codeq.globalStateMachine.transition('prolog'); e.preventDefault(); }); + $('#navigation-robot').on('click', function(e){ + codeq.globalStateMachine.transition('robot'); + e.preventDefault(); + }); $('#navigation-logout').on('click', function(e){ codeq.globalStateMachine.transition('login'); e.preventDefault();//prevent this since we'll trigger a page reload otherwise @@ -106,4 +110,4 @@ e.preventDefault();//prevent this since we'll trigger a page reload otherwise }); -})();
\ No newline at end of file +})(); |