-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.html
145 lines (129 loc) · 6.42 KB
/
example.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html>
{{html_head}}
<body>
{{html_header}}
<input type="hidden" id="host_name" value="{{host_name}}" />
<input type="hidden" id="rosbridge_port" value="{{rosbridge_port}}" />
<div style="float: left; width: 50%" class="main">
<div id="main_header">
<div id="example_title"></div>
<div id="description"></div>
</div>
<div id="main_files">
Files: <select name="files" id="file_list" size="1" onchange="onFileListSelect(this);"></select>
</div>
<div id="editor00" style="display: none;" class="editor"></div>
<div id="editor01" style="display: none;" class="editor"></div>
<div id="editor02" style="display: none;" class="editor"></div>
<div id="editor03" style="display: none;" class="editor"></div>
<div id="editor04" style="display: none;" class="editor"></div>
<div id="editor05" style="display: none;" class="editor"></div>
<div id="editor06" style="display: none;" class="editor"></div>
<div id="editor07" style="display: none;" class="editor"></div>
<div id="editor08" style="display: none;" class="editor"></div>
<div id="editor09" style="display: none;" class="editor"></div>
<div id="editor10" style="display: none;" class="editor"></div>
<div id="editor11" style="display: none;" class="editor"></div>
<div id="editor12" style="display: none;" class="editor"></div>
<div id="editor13" style="display: none;" class="editor"></div>
<div id="editor14" style="display: none;" class="editor"></div>
<div id="editor15" style="display: none;" class="editor"></div>
<div id="editor16" style="display: none;" class="editor"></div>
<div id="editor17" style="display: none;" class="editor"></div>
<div id="editor18" style="display: none;" class="editor"></div>
<div id="editor19" style="display: none;" class="editor"></div>
<div id="editor20" style="display: none;" class="editor"></div>
<div id="editor21" style="display: none;" class="editor"></div>
<div id="editor22" style="display: none;" class="editor"></div>
<div id="editor23" style="display: none;" class="editor"></div>
<div id="editor24" style="display: none;" class="editor"></div>
<div id="editor25" style="display: none;" class="editor"></div>
<div id="editor26" style="display: none;" class="editor"></div>
<div id="editor27" style="display: none;" class="editor"></div>
<div id="editor28" style="display: none;" class="editor"></div>
<div id="editor29" style="display: none;" class="editor"></div>
<div id="main_footer">
<div style="float: left; padding-right: 10px;">
<select name="languages" id="language_list" size="4" style="overflow-y: hidden;" onchange="onLanguageSelect(this);"></select>
</div>
<div>
<input type="button" value="Compile & Run" id="compile"> <span id="run_timer"></div>
<span style="display: inline-block; padding-top: 2px;">Cmd: <b id="run_cmd"></b></span>
<span style="display: block; padding-top: 4px;">Share link: <input id="share_link" onClick="this.setSelectionRange(0, this.value.length)" rows="1" readonly="readonly" style="padding-top: resize: none; white-space: nowrap; height:15px; overflow:hidden; width: 65%; font-size: 12px" /></span>
</div>
</div>
</div>
<div id="feedback" class="feedback">
<div class="tab-frame0" id="feedback0">
<input type="radio" checked name="tab0" id="tab_terminal0"><label for="tab_terminal0">Terminal</label>
<input type="radio" name="tab0" id="tab_topics0"><label for="tab_topics0">Topics</label>
<input type="radio" name="tab0" id="tab_services0"><label for="tab_services0">Services</label>
<input type="radio" name="tab0" id="tab_nodes0"><label for="tab_nodes0">Nodes</label>
<input type="radio" name="tab0" id="tab_params0"><label for="tab_params0">Params</label>
<input type="radio" name="tab0" id="tab_viz0"><label for="tab_viz0">Viewer</label>
<div class="tab0">
<textarea id="show_terminal0" readonly="readonly"></textarea>
</div>
<div class="tab0">
<select name="topics" id="topic_list0" size="1" onchange="onTopicListSelect(this);"></select>
</br>
<textarea id="show_topic0" readonly="readonly"></textarea>
</div>
<div class="tab0">
<select name="services" id="service_list0" size="1" onchange="onServiceListSelect(this);"></select>
</div>
<div class="tab0">
<select name="nodes" id="node_list0" size="10" onchange="onNodeListSelect(this);" style="margin-top: 10px;"></select>
</div>
<div class="tab0">
<select name="params" id="param_list0" size="1" onchange="onParamListSelect(this);"></select>
<br>
<textarea id="show_param0"></textarea>
<br>
<br>
<input type="button" value="Set Param" id="set_param0">
</div>
<div class="tab0">
<div id="roslib_viewer0"></div>
</div>
</div>
<div class="tab-frame1" id="feedback1">
<input type="radio" checked name="tab1" id="tab_terminal1"><label for="tab_terminal1">Terminal</label>
<input type="radio" name="tab1" id="tab_topics1"><label for="tab_topics1">Topics</label>
<input type="radio" name="tab1" id="tab_services1"><label for="tab_services1">Services</label>
<input type="radio" name="tab1" id="tab_nodes1"><label for="tab_nodes1">Nodes</label>
<input type="radio" name="tab1" id="tab_params1"><label for="tab_params1">Params</label>
<input type="radio" name="tab1" id="tab_viz1"><label for="tab_viz1">Viewer</label>
<div class="tab1">
<textarea id="show_terminal1" readonly="readonly"></textarea>
</div>
<div class="tab1">
<select name="topics" id="topic_list1" size="1" onchange="onTopicListSelect(this);"></select>
</br>
<textarea id="show_topic1" readonly="readonly"></textarea>
</div>
<div class="tab1">
<select name="services" id="service_list1" size="1" onchange="onServiceListSelect(this);"></select>
</div>
<div class="tab1">
<select name="nodes" id="node_list1" size="10" onchange="onNodeListSelect(this);" style="margin-top: 10px;"></select>
</div>
<div class="tab1">
<select name="params" id="param_list1" size="1" onchange="onParamListSelect(this);"></select>
<br>
<textarea id="show_param1"></textarea>
<br>
<br>
<input type="button" value="Set Param" id="set_param1">
</div>
<div class="tab1">
<div id="roslib_viewer1"></div>
</div>
</div>
</div>
<script src="/bower_components/yjs/y.js"></script>
<script type='text/javascript' src='example.js'></script>
{{html_footer}}
</body>
</html>