|
@@ -211,10 +211,11 @@
|
|
|
<li id="button_load">
|
|
|
<span class="translatable_import_local_file">导入本地文件</span>
|
|
|
</li>
|
|
|
- <li id="button_import_cloud" class='modal-trigger' onclick='openUrl("//demo-lecode.smartedu.lenovo.com/zhangyu/store#/_st=blockpy")'>
|
|
|
+ <li id="button_import_cloud" class='modal-trigger'
|
|
|
+ onclick='openUrl("//demo-lecode.smartedu.lenovo.com/zhangyu/store#/_st=blockpy")'>
|
|
|
<span class="translatable_import_cloud_file">导入云端文件</span>
|
|
|
</li>
|
|
|
- <li id="button_save">
|
|
|
+ <li id="button_save" class='modal-trigger' href="#donload_file_cocorobo">
|
|
|
<span class="translatable_export_local_file">保存到本地</span>
|
|
|
</li>
|
|
|
<li id="button_save_cloud" class='modal-trigger' href="#cloud_storage_name_modal">
|
|
@@ -249,7 +250,7 @@
|
|
|
</li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
- <li id="button_upgrade_firmware" class="modal-trigger" href = "#firmware_upgrade_modal">
|
|
|
+ <li id="button_upgrade_firmware" class="modal-trigger" href="#firmware_upgrade_modal">
|
|
|
<span class="translatable_upgrade_firmware">固件升级</span>
|
|
|
</li>
|
|
|
<li id="button_connection_type" style="display: none;">
|
|
@@ -323,10 +324,10 @@
|
|
|
<i id="down" class="down"
|
|
|
style="position: relative;top: -20px;float: right;right: 9px;"></i>
|
|
|
<div class="downbox MouduleBox" id="downboxModule" style="top: 64px;">
|
|
|
- <div style="border: none;"><a href="javaScript:(0)"
|
|
|
- class="translatable_ai_module">A.I. Module</a></div>
|
|
|
- <div style="border: none;"><a href="javaScript:(0)"
|
|
|
- class="translatable_iot_module">IoT Module
|
|
|
+ <div style="border: none;"><a href="javaScript:(0)" class="translatable_ai_module">A.I.
|
|
|
+ Module</a></div>
|
|
|
+ <div style="border: none;"><a href="javaScript:(0)" class="translatable_iot_module">IoT
|
|
|
+ Module
|
|
|
Mode</a></div>
|
|
|
|
|
|
<div style="border: none;"><a id="python_full_screen"
|
|
@@ -692,7 +693,7 @@
|
|
|
|
|
|
<li id="sketch_name-li" style="position: absolute;right: 135px;">
|
|
|
<input id="sketch_name" placeholder="请输入作品名称" class="sketch_name"
|
|
|
- style="background: #fff;padding: 4px 10px 4px 7px;color:#222222;width:200px;font-style: initial;line-height: 30px; font-size: 15px;"
|
|
|
+ style="background: #fff;padding: 4px 10px 4px 7px;color:#222222;width:200px;font-style: initial;line-height: 30px; font-size: 14px;"
|
|
|
type="text">
|
|
|
</li>
|
|
|
|
|
@@ -907,12 +908,14 @@
|
|
|
data-clipboard-action="copy">
|
|
|
<img id="copy_code_view" src="./images/icon-view.svg" style="margin-top:7px;">
|
|
|
</a>
|
|
|
- <a class="blockpy-toolbar-download" style="position:absolute;top: 5px;right:
|
|
|
+ <a class="blockpy-toolbar-download" class='modal-trigger'
|
|
|
+ href="#donload_file_cocorobo" style="position:absolute;top: 5px;right:
|
|
|
59px;"> <img id="blockpy-toolbar-download" src="./images/icon-download.svg"
|
|
|
style="margin-top: 7px;">
|
|
|
</a>
|
|
|
- <a class="blockpy-toolbar-upload modal-trigger" style="position:absolute;top: 5px;right: 25px;" href="#cloud_storage_name_modal">
|
|
|
- <img id="blockpy-toolbar-upload" src="./images/icon-upload.svg"
|
|
|
+ <a class="blockpy-toolbar-upload" style="position:absolute;top: 5px;right: 25px;">
|
|
|
+ <img id="blockpy-toolbar-upload" class="modal-trigger"
|
|
|
+ href="#cloud_storage_name_modal" src="./images/icon-upload.svg"
|
|
|
style="margin-top: 7px;"> </a>
|
|
|
<img class="fullscreenIcon hidden" src="./images/icon-fullscreen.svg">
|
|
|
<img class="fullscreenIcon hidden" src="./images/icon-fullscreen-exit.svg">
|
|
@@ -2823,16 +2826,53 @@
|
|
|
<h4 class="cloudStorage translatable_cloudStorageTitle">Cloud Storage</h4>
|
|
|
<!-- <div id="cloud_askLogin"></div> -->
|
|
|
<div class="cloud_fileName">
|
|
|
- <div class="translatable_project_name" style="font-size: 16px;color: #3D3D3D;letter-spacing: 0;margin-top: 15px;margin-left: 25px;">作品名称</div>
|
|
|
+ <div class="translatable_project_name"
|
|
|
+ style="font-size: 16px;color: #3D3D3D;letter-spacing: 0;margin-top: 15px;margin-left: 25px;">作品名称
|
|
|
+ </div>
|
|
|
<div style="text-align: center;margin-top: 15px;">
|
|
|
- <input id="cloud_input" type="text" placeholder="名称"/>
|
|
|
+ <input id="cloud_input" type="text" placeholder="名称" />
|
|
|
</div>
|
|
|
<div style="margin-top: 20px;text-align: center;">
|
|
|
- <button id="confirm_btn" type="button" style="cursor: pointer;background: #4A6AFF;border-radius: 3px;width: 90px;line-height: 36px;border: none;margin-right: 30px;">
|
|
|
- <span class="translatable_cofirm_btn" style="font-size: 14px;color: #FFFFFF;letter-spacing: 0;">确 定</span>
|
|
|
+ <button id="confirm_btn" type="button"
|
|
|
+ style="cursor: pointer;background: #4A6AFF;border-radius: 3px;width: 90px;line-height: 36px;border: none;margin-right: 30px;">
|
|
|
+ <span class="translatable_cofirm_btn"
|
|
|
+ style="font-size: 14px;color: #FFFFFF;letter-spacing: 0;">确 定</span>
|
|
|
</button>
|
|
|
- <button id="cancel_btn" class="cancelBtn" type="button" style="cursor: pointer;border-radius: 3px;width: 90px;line-height: 36px;border: 1px solid #CCCCCC;">
|
|
|
- <span class="translatable_cancel_btn" style="font-size: 14px;color:#888888;letter-spacing: 0;">取 消</span>
|
|
|
+ <button id="cancel_btn" class="cancelBtn" type="button"
|
|
|
+ style="cursor: pointer;border-radius: 3px;width: 90px;line-height: 36px;border: 1px solid #CCCCCC;">
|
|
|
+ <span class="translatable_cancel_btn" style="font-size: 14px;color:#888888;letter-spacing: 0;">取
|
|
|
+ 消</span>
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div id="donload_file_cocorobo" class="modal modal_closes donload_file_cocorobo">
|
|
|
+ <div class="modal-content" style="padding: 0;">
|
|
|
+ <span class="modal_close" style="padding: 15px;">
|
|
|
+ <i class="small material-icons" style="font-size: 1.5rem;">close</i>
|
|
|
+ </span>
|
|
|
+ <h4 class="cloudStorage translatable_cloudStorageTitle">Cloud Storage</h4>
|
|
|
+ <!-- <div id="cloud_askLogin"></div> -->
|
|
|
+ <div class="cloud_fileName">
|
|
|
+ <div class="translatable_project_name"
|
|
|
+ style="font-size: 16px;color: #3D3D3D;letter-spacing: 0;margin-top: 15px;margin-left: 25px;">作品名称
|
|
|
+ </div>
|
|
|
+ <div style="text-align: center;margin-top: 15px;">
|
|
|
+ <input id="donload_file_cloud_input" type="text" placeholder="名称" />
|
|
|
+ </div>
|
|
|
+ <div style="margin-top: 20px;text-align: center;">
|
|
|
+ <button id="donload_file_confirm_btn" type="button"
|
|
|
+ style="cursor: pointer;background: #4A6AFF;border-radius: 3px;width: 90px;line-height: 36px;border: none;margin-right: 30px;">
|
|
|
+ <span class="translatable_cofirm_btn"
|
|
|
+ style="font-size: 14px;color: #FFFFFF;letter-spacing: 0;">确 定</span>
|
|
|
+ </button>
|
|
|
+ <button id="donload_file_cancel_btn" class="cancelBtn" type="button"
|
|
|
+ style="cursor: pointer;border-radius: 3px;width: 90px;line-height: 36px;border: 1px solid #CCCCCC;">
|
|
|
+ <span class="translatable_cancel_btn" style="font-size: 14px;color:#888888;letter-spacing: 0;">取
|
|
|
+ 消</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -2848,26 +2888,34 @@
|
|
|
<div style="text-align: center;">
|
|
|
<div class="firmware_module" style="margin-right: 20%;">
|
|
|
<div style="display: table;width: 126px;height: 126px;">
|
|
|
- <div class="firmware_module_ai"><div class="translatable_ai_module_a">AI 模块</div>V1.0</div>
|
|
|
+ <div class="firmware_module_ai">
|
|
|
+ <div class="translatable_ai_module_a">AI 模块</div>V1.0
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="firmware_module">
|
|
|
<div style="display: table;width: 126px;height: 126px;">
|
|
|
- <div class="firmware_module_iot"><div class="translatable_iot_module_a">IOT 模块</div>V0.2</div>
|
|
|
+ <div class="firmware_module_iot">
|
|
|
+ <div class="translatable_iot_module_a">IOT 模块</div>V0.2
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="text-align: center;">
|
|
|
<div class="firmware_module_download" style="margin-right: 20%;">
|
|
|
<div style="display: table;">
|
|
|
- <button style="cursor: pointer;background: #4A6AFF;border-radius: 3px;width: 130px;line-height: 36px;border: none;" onclick='openUrl("./firmware/ai-module_firmware_2020-10-14.rar")'>
|
|
|
+ <button
|
|
|
+ style="cursor: pointer;background: #4A6AFF;border-radius: 3px;width: 130px;line-height: 36px;border: none;"
|
|
|
+ onclick='openUrl("./firmware/ai-module_firmware_2020-10-14.rar")'>
|
|
|
<span class="button_text translatable_button_text">下载固件升级包</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="firmware_module_download">
|
|
|
<div style="display: table;">
|
|
|
- <button style="cursor: pointer;background: #4A6AFF;border-radius: 3px;width: 130px;line-height: 36px;border: none;" onclick='openUrl("./firmware/mcu-module_firmware_2020-9-21_STABLE.bin")'>
|
|
|
+ <button
|
|
|
+ style="cursor: pointer;background: #4A6AFF;border-radius: 3px;width: 130px;line-height: 36px;border: none;"
|
|
|
+ onclick='openUrl("./firmware/mcu-module_firmware_2020-9-21_STABLE.bin")'>
|
|
|
<span class="button_text translatable_button_text">下载固件升级包</span>
|
|
|
</button>
|
|
|
</div>
|