|
@@ -863,7 +863,8 @@
|
|
|
<img class="fullscreenIcon hidden" src="./images/icon-fullscreen.svg">
|
|
|
<img class="fullscreenIcon hidden" src="./images/icon-fullscreen-exit.svg">
|
|
|
</div>
|
|
|
- <div class="card-content hidden" style="position:relative;overflow:auto;" id="python_box">
|
|
|
+ <div class="card-content hidden" style="position:relative;overflow:auto;"
|
|
|
+ id="python_box">
|
|
|
<div class="blockpy-toolbar" style="position: relative;">
|
|
|
<div class='blockpy-text blockpy-editor-menu'>
|
|
|
<div class='blockpy-text-sidebar'></div>
|
|
@@ -878,7 +879,7 @@
|
|
|
id="repl_box">
|
|
|
<div class="blockpy-toolbar" id="terminal"
|
|
|
style="display:block;height: 99%;padding: 0 10px;background: #000;min-width:570px;">
|
|
|
- <iframe id="webadb_iframe" src="/ya-webadb/apps/demo/out/shell.html"
|
|
|
+ <iframe id="webadb_iframe" src="ya-webadb/apps/demo/out/shell.html"
|
|
|
frameborder="0" style="width: 100%;height: 100%;" scrolling="no"
|
|
|
allow="camera *; fullscreen *;fullscreen 'src'">
|
|
|
|
|
@@ -887,8 +888,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="blockpy-toolbar" id="serial_plotter_content"
|
|
|
- style="overflow-y: auto;">
|
|
|
+ <div class="blockpy-toolbar" id="serial_plotter_content" style="overflow-y: auto;">
|
|
|
<div class="editDiv" id="editDiv"
|
|
|
style="width: 100%;position: sticky;top: 0px;height: 100%;">
|
|
|
<span style="display:none" class="translatable_serial_plotter"
|
|
@@ -897,8 +897,8 @@
|
|
|
onclick="switchSerial('1')">图传</span>
|
|
|
<span class="translatable_screenshot serial-active blue" style="color: #ffffff;"
|
|
|
onclick="getTrainImg()">截图</span>
|
|
|
- <span class="translatable_uploadFiles serial-active blue" style="color: #ffffff;"
|
|
|
- onclick="uploadImg()">上传</span>
|
|
|
+ <span class="translatable_uploadFiles serial-active blue"
|
|
|
+ style="color: #ffffff;" onclick="uploadImg()">上传</span>
|
|
|
<div id="repl_box_content"
|
|
|
style="height: calc(100% - 30px);background: rgb(255, 255, 255);overflow-y: auto;display: none;">
|
|
|
</div>
|
|
@@ -932,7 +932,8 @@
|
|
|
<a href="#iframe" class="modal-trigger header-link" id="showIframe">
|
|
|
<img src="./icons/firmware.png">
|
|
|
</a>
|
|
|
- <a href="#qrCode" class="modal-trigger header-link" id="" style="display: none;">
|
|
|
+ <a href="#qrCode" class="modal-trigger header-link" id=""
|
|
|
+ style="display: none;">
|
|
|
<i id="QRCodeIcon" style="margin-top: 11px;"
|
|
|
class="material-icons sketch_name_icon hidden">wifi</i>
|
|
|
</a>
|
|
@@ -953,8 +954,7 @@
|
|
|
style="position: relative;top: 5px;display: none;">
|
|
|
<i class="material-icons sketch_name_icon">create_new_folder</i>
|
|
|
</a>
|
|
|
- <div style="display: none;"><select
|
|
|
- class="select-connected " id="select-connected">
|
|
|
+ <div style="display: none;"><select class="select-connected " id="select-connected">
|
|
|
<option class="select-connected translatable_select_connecteds"
|
|
|
style="color: #000;">The
|
|
|
cable to upload</option>
|
|
@@ -995,7 +995,8 @@
|
|
|
<input id="IP" type="text" placeholder="请输入ip地址" style="display: none;">
|
|
|
</div>
|
|
|
<div class="col s4">
|
|
|
- <button id="webadb_add" style="width:100%" class="translatable_addDevice btn blue"
|
|
|
+ <button id="webadb_add" style="width:100%"
|
|
|
+ class="translatable_addDevice btn blue"
|
|
|
onclick="addWebadb()">添加</button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1047,8 +1048,9 @@
|
|
|
<span class="translatable_uploadFiles"></span>
|
|
|
</a>
|
|
|
<a id="backHome" onclick="backHome()" class="waves-effect
|
|
|
- waves-light btn blue disabled" style="margin-left:0.5rem;width: 100%;">
|
|
|
- <img src="./icons/stop.png" style="top:6px">
|
|
|
+ waves-light btn blue disabled"
|
|
|
+ style="margin-left:0.5rem;width: 100%;">
|
|
|
+ <img src="./icons/stop.png" style="top:6px">
|
|
|
<span class="translatable_resetMainUI">返回菜单</span>
|
|
|
</a>
|
|
|
<li id="changeRunCuploadFilesode"
|
|
@@ -1078,14 +1080,14 @@
|
|
|
<div class="col s4">
|
|
|
<div class="systemBtn" style="display:flex;">
|
|
|
<a id="resetDevice" onclick="systemCommand('reboot')" class="waves-effect
|
|
|
- waves-light btn blue disabled" style="width:100%;margin-right:0.5rem;"><span
|
|
|
- class="translatable_resetDevice">Reset
|
|
|
- Device</span></a>
|
|
|
+ waves-light btn blue disabled"
|
|
|
+ style="width:100%;margin-right:0.5rem;"><span
|
|
|
+ class="translatable_resetDevice">Reset
|
|
|
+ Device</span></a>
|
|
|
<a id="poweroff" onclick="systemCommand('poweroff')" class="waves-effect
|
|
|
- waves-light btn blue disabled"
|
|
|
- style="width:100%;"><span
|
|
|
+ waves-light btn blue disabled" style="width:100%;"><span
|
|
|
class="translatable_shutDown">关机</span></a>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<a onclick="getmcnty()" class="waves-effect waves-light btn blue"
|
|
@@ -3348,7 +3350,7 @@
|
|
|
<li class="container-top-noactive" onclick="clickLoadingExample('图像处理/循线-单.xml')">
|
|
|
<div class="translatable_ai_tpl2">循线(单线)</div>
|
|
|
</li>
|
|
|
- </ul>
|
|
|
+ </ul>
|
|
|
</div>
|
|
|
<div class="con" style="display: none;position: relative;">
|
|
|
<ul style="display: flex;flex-direction: column;">
|
|
@@ -3482,8 +3484,7 @@
|
|
|
<div id="webadbIframeFile" class="modal modal_closes">
|
|
|
<span class="modal_close" style="padding: 5px;position: absolute;right: 0;cursor: pointer;"><i
|
|
|
class="small material-icons" style="font-size: 1.5rem;">close</i></span>
|
|
|
- <div id="file_manager_back"
|
|
|
- onclick="document.getElementById('file_manager').contentWindow.history.back()"
|
|
|
+ <div id="file_manager_back" onclick="document.getElementById('file_manager').contentWindow.history.back()"
|
|
|
style="padding: 5px;position: absolute;left: -2px;top: 7px;cursor: pointer;width: 35px;"><i
|
|
|
class="small material-icons" style="font-size: 1.5rem;">arrow_back</i></div>
|
|
|
<iframe id="file_manager" frameborder="0" style="width: 100%;height: 100%;" scrolling="no"
|