forked from ryuichiueda/RobotDesign3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
send_prog.html
101 lines (91 loc) · 3.9 KB
/
send_prog.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Robot Console</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<script src="three.min.js"></script>
<script src="simulator.js"></script>
<!--<script src="main.js"></script> -->
<script src="send_prog.js"></script>
<link rel="stylesheet" type="text/css" href="main.css"></link>
<!-- Le styles -->
<link href="./css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="./css/bootstrap-responsive.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="../assets/ico/favicon.png">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#">RobotDesign3 ロボットコントロールパネル</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="./index.html">ウェブコントロールパネル</a></li>
<li><a href="./send_prog.html">プログラムの送信</a></li>
<li><a href="https://ryuichiueda.github.io/RobotDesign3/index.html" target="_blank">オンラインマニュアル</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="./js/jquery.js"></script>
<script src="./js/bootstrap-transition.js"></script>
<script src="./js/bootstrap-alert.js"></script>
<script src="./js/bootstrap-modal.js"></script>
<script src="./js/bootstrap-dropdown.js"></script>
<script src="./js/bootstrap-scrollspy.js"></script>
<script src="./js/bootstrap-tab.js"></script>
<script src="./js/bootstrap-tooltip.js"></script>
<script src="./js/bootstrap-popover.js"></script>
<script src="./js/bootstrap-button.js"></script>
<script src="./js/bootstrap-collapse.js"></script>
<script src="./js/bootstrap-carousel.js"></script>
<script src="./js/bootstrap-typeahead.js"></script>
<div class="container">
<div class="raw">
<div class="span12">
<h2>プログラムのアップロード</h2>
<form action="/upload.bash" method="post" enctype="multipart/form-data" target="upload_frame">
<input type="file" name="code" />
<input class="btn btn-warning" type="submit" />
</form>
<h3>アップロードステータス</h3>
<iframe name="upload_frame"></iframe>
<h3>実行・停止</h3>
<button type="button" class="btn btn-danger" id="run_code" onclick="runCode()">RUN</button>
<button type="button" class="btn btn-primary" onclick="stopCode()">STOP</button>
<h3>ログ</h3>
<div style="padding-left:30px;width:200px">
<pre id="angles_log"></pre>
</div>
</div>
</div>
</div>
</body>