sumorobot-web/index.html

88 lines
3.9 KiB
HTML
Raw Normal View History

2017-09-25 09:37:41 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Sumorobot</title>
2018-01-28 09:36:50 +00:00
<!-- css -->
<link rel="stylesheet" type="text/css" href="assets/css/styles.css">
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
2018-01-28 09:36:50 +00:00
<link rel="stylesheet" type="text/css" href="assets/css/cookieconsent.min.css">
<!-- favicon -->
2018-08-24 15:15:51 +00:00
<link rel="icon" type="image/png" sizes="32x32" href="assets/img/favicon_32x32.png">
2018-11-02 12:40:16 +00:00
2018-01-28 09:36:50 +00:00
<script src="assets/js/cookie.js" type="text/javascript" charset="utf-8"></script>
2018-08-29 09:06:06 +00:00
<!-- jquery, bootstrap -->
2018-08-05 08:53:42 +00:00
<script src="assets/js/min/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/js/min/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
2018-08-18 16:48:27 +00:00
<!-- ace editor -->
<script src="assets/js/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/js/ace/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
2018-01-28 09:36:50 +00:00
<!-- Google Blockly -->
<script src="assets/blockly/blockly_compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/blockly/blocks_compressed.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/blockly/python_compressed.js" type="text/javascript" charset="utf-8"></script>
2018-11-12 20:33:26 +00:00
<script src="assets/blockly/msg/js/et.js" type="text/javascript" charset="utf-8"></script>
2018-01-28 09:36:50 +00:00
<script src="assets/js/sumorobot.js" type="text/javascript" charset="utf-8"></script>
<script src="assets/js/utils.js" type="text/javascript" charset="utf-8"></script>
2018-08-05 08:53:42 +00:00
<script src="assets/js/ace.js" type="text/javascript" charset="utf-8"></script>
2018-07-08 18:53:34 +00:00
<script src="assets/js/blockly.js" type="text/javascript" charset="utf-8"></script>
2018-08-18 16:48:27 +00:00
<script src="assets/js/main.js" type="text/javascript" charset="utf-8"></script>
2017-09-25 09:37:41 +00:00
</head>
<body>
2018-08-18 16:48:27 +00:00
<div id="battery"><img src="assets/img/battery_disconnected.png"></div>
2017-09-25 09:37:41 +00:00
<div id="panel">
2018-11-02 10:50:15 +00:00
<div id="central">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text" id="robot-label">SumoID</span>
</div>
<input type="text" class="form-control" id="robot-id" placeholder="xxxxxxxx" />
</div>
<div class="btn-group btn-group-robot" role="group" aria-label="robots">
<a href="#" class="btn btn-lg btn-robot-go">GO!</a>
</div>
2017-09-25 09:37:41 +00:00
</div>
</div>
2018-01-04 23:09:08 +00:00
<table class="blockly-table">
2017-09-25 09:37:41 +00:00
<tr>
<td id="leftCell">
<div id="blocklyArea"></div>
<div id="blocklyCode" style="display: none;"></div>
</td>
<td id="rightCell">
<div id="stream"></div>
<div id="readOnlyBlocklyCode"></div>
</td>
2017-09-25 09:37:41 +00:00
</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_sleep"></block>
2018-01-16 21:13:23 +00:00
<block type="sumorobot_opponent"></block>
2017-09-25 09:37:41 +00:00
<block type="sumorobot_line"></block>
2018-11-12 20:33:26 +00:00
<block type="logic_operation"></block>
2017-09-25 09:37:41 +00:00
</xml>
2018-01-15 09:53:51 +00:00
<xml id="toolbox_no_if" style="display: none">
2018-01-15 14:09:54 +00:00
<block type="controls_if" disabled="true"></block>
2018-01-15 09:53:51 +00:00
<block type="sumorobot_move"></block>
<block type="sumorobot_sleep"></block>
2018-01-16 21:13:23 +00:00
<block type="sumorobot_opponent"></block>
2018-01-15 09:53:51 +00:00
<block type="sumorobot_line"></block>
2018-11-12 20:33:26 +00:00
<block type="logic_operation"></block>
2018-01-15 09:53:51 +00:00
</xml>
<div class="btn-group d-flex btn-group-control" role="group">
<a href="#" class="btn btn-lg btn-success btn-start w-100">Start</a>
<a href="#" class="btn btn-lg btn-danger btn-stop w-100">Stop</a>
2018-11-12 20:33:26 +00:00
<a href="#" class="btn btn-lg btn-success btn-upload w-100">Upload</a>
2017-09-25 09:37:41 +00:00
</div>
</body>
</html>