93 lines
4.2 KiB
HTML
Executable File
93 lines
4.2 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Sumorobot</title>
|
|
<link rel="stylesheet" href="styles.css">
|
|
<link rel="stylesheet" href="bootstrap.min.css">
|
|
<link rel="shortcut icon" type="image/png" href="logo.png"/>
|
|
<script src="jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="blockly_compressed.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="blocks_compressed.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="python_compressed.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="msg/js/en.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="sumorobot.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.9/ace.js" type="text/javascript" charset="utf-8"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.2.9/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
|
|
</head>
|
|
<body>
|
|
<div id="battery">Disconnected</div>
|
|
|
|
<div id="panel">
|
|
<object class="logo" type="image/svg+xml" data="logo.svg">
|
|
RoboKoding logo
|
|
</object>
|
|
<div class="input-group">
|
|
<span class="input-group-addon robot-nr">1</span>
|
|
<input type="text" class="form-control robot-id" placeholder="ID" />
|
|
<span class="input-group-addon addon-no-border robot-nr">2</span>
|
|
<input type="text" class="form-control robot-id" placeholder="ID" />
|
|
<span class="input-group-addon addon-no-border robot-nr">3</span>
|
|
<input type="text" class="form-control robot-id" placeholder="ID" />
|
|
<span class="input-group-addon addon-no-border robot-nr">4</span>
|
|
<input type="text" class="form-control robot-id" placeholder="ID" />
|
|
<span class="input-group-addon addon-no-border robot-nr">5</span>
|
|
<input type="text" class="form-control robot-id" placeholder="ID" />
|
|
</div>
|
|
<div class="btn-group btn-group-justified btn-group-robot" role="group" aria-label="robots">
|
|
<a href="#" class="btn btn-lg btn-robot-nr">1</a>
|
|
<a href="#" class="btn btn-lg btn-robot-nr">2</a>
|
|
<a href="#" class="btn btn-lg btn-robot-nr">3</a>
|
|
<a href="#" class="btn btn-lg btn-robot-nr">4</a>
|
|
<a href="#" class="btn btn-lg btn-robot-nr">5</a>
|
|
<a href="#" class="btn btn-lg btn-robot-add">+</a>
|
|
</div>
|
|
<div class="remote-label">
|
|
<div class="btn-group form-check-label" data-toggle="buttons">
|
|
<label class="btn btn-primary active" id="remote-disabled">
|
|
<input type="radio" name="remote" autocomplete="off" checked> Disabled
|
|
</label>
|
|
<label class="btn btn-primary" id="remote-enabled">
|
|
<input type="radio" name="remote" autocomplete="off"> Enabled
|
|
</label>
|
|
</div>
|
|
Remote control
|
|
</div>
|
|
</div>
|
|
|
|
<table class="blockly-table">
|
|
<tr>
|
|
<td id="blocklyArea"></td>
|
|
<td id="blocklyCodeArea">
|
|
<div id="stream"></div>
|
|
<div id="blocklyCode"></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div id="blocklyDiv" style="position: absolute"></div>
|
|
|
|
<xml id="toolbox" style="display: none">
|
|
<block type="controls_if"></block>
|
|
<block type="sumorobot_move"></block>
|
|
<block type="sumorobot_delay"></block>
|
|
<block type="sumorobot_opponent"></block>
|
|
<block type="sumorobot_line"></block>
|
|
</xml>
|
|
|
|
<xml id="toolbox_no_if" style="display: none">
|
|
<block type="controls_if" disabled="true"></block>
|
|
<block type="sumorobot_move"></block>
|
|
<block type="sumorobot_delay"></block>
|
|
<block type="sumorobot_opponent"></block>
|
|
<block type="sumorobot_line"></block>
|
|
</xml>
|
|
|
|
<div class="btn-group btn-group-justified btn-group-control">
|
|
<a href="#" class="btn btn-lg btn-success btn-start">Start</a>
|
|
<a href="#" class="btn btn-lg btn-danger btn-stop">Stop</a>
|
|
</div>
|
|
</body>
|
|
</html>
|