summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-30 16:43:56 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-30 16:43:56 +0200
commitbe66c44e2b882219c44bcf0de3238f6e3d62cfad (patch)
treea61ab9f176ef0f5b7ee672eca0f762c052c7eb65 /index.html
parent20ba9213950544c6a7f1dd04af160bf674561e3b (diff)
Add the robot problem screen
Mostly a copy of the Python screen, a lot of functionality is missing.
Diffstat (limited to 'index.html')
-rw-r--r--index.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/index.html b/index.html
index 24a4836..1464528 100644
--- a/index.html
+++ b/index.html
@@ -40,6 +40,7 @@
<li style="display: none;" id="navigation-problem"><a href="">Problem</a></li>
<li style="display: none;" id="navigation-python"><a href="">Python</a></li>
<li style="display: none;" id="navigation-prolog"><a href="">Prolog</a></li>
+ <li style="display: none;" id="navigation-robot"><a href="">Robot</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<p class="navbar-text" id="signed-in-title"></p>
@@ -215,6 +216,38 @@
</div><!--/row-->
</div><!--container-->
+ <!-- problem screen: robot -->
+ <div class="container-fluid quadrants block1" id="screen_robot" style="display: none;">
+ <div class="row">
+ <div class="col-lg-3 col-md-6 col-sm-12 block block1">
+ <h2 class="title translatable" data-dict="robot" data-tkey="slug"></h2>
+ <div class="description translatable" data-dict="robot" data-tkey="description"></div>
+ <div class="block-label">Instructions</div>
+ </div>
+ <div class="col-lg-3 col-md-6 col-sm-12 block block2">
+ <nav class="navbar navbar-default">
+ <div class="container-fluid">
+ <button type="button" class="btn btn-default navbar-btn btn-plan">Plan</button>
+ <button type="button" class="btn btn-default navbar-btn btn-hint">Hint</button>
+ <button type="button" class="btn btn-default navbar-btn btn-run">Run</button>
+ <input type="text" id="robot_ip" placeholder="Robot's IP"></input>
+ <button type="button" class="btn btn-default navbar-btn btn-stop">Stop</button>
+ </div>
+ </nav>
+ <div class="code_editor"></div>
+ <div class="block-label">Code</div>
+ </div>
+ <div class="col-lg-3 col-md-6 col-sm-12 block block3">
+ <div class="console"></div>
+ <div class="block-label">Console</div>
+ </div>
+ <div class="col-lg-3 col-md-6 col-sm-12 block block4">
+ <div class="hints"></div>
+ <div class="block-label">Hints</div>
+ </div>
+ </div><!--/row-->
+ </div><!--container-->
+
<!-- problem screen: profile -->
<div class="container-fluid" id="screen_profile" style="display: none;">
<h2>
@@ -436,6 +469,7 @@
<script src="js/codeq/hint.js"></script>
<script src="js/codeq/prolog.js"></script>
<script src="js/codeq/python.js"></script>
+ <script src="js/codeq/robot.js"></script>
<script src="js/codeq/login.js"></script>
<script src="js/codeq/profile.js"></script>
<script src="js/codeq/language.js"></script>