|
|
|
@ -237,64 +237,6 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Select Additional Blocks menu -->
|
|
|
|
|
<div id="blocks_menu" class="modal modal-fixed-footer hidden">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div>
|
|
|
|
|
<h4><span class="translatable_addBlocksTitle">Additional Blocks</span></h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="blocks_menu_body"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<a href="#" class="waves-effect btn-flat modal-close"><span class="translatable_return">Return</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- General Alert: Content is loaded using JavaScript to display alerts -->
|
|
|
|
|
<div id="gen_alert" class="modal modal_small modal-fixed-footer hidden">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<h5 id="gen_alert_title">Empty Alert</h4>
|
|
|
|
|
<p><span id="gen_alert_body">Empty alert text</span></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<a id="gen_alert_ok_link" href="#" class="waves-effect btn-flat modal-close"><span class="translatable_okay">Okay</span></a>
|
|
|
|
|
<a id="gen_alert_cancel_link" href="#" class="waves-effect btn-flat modal-close"><span class="translatable_cancel">Cancel</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Prompt: Content is loaded using JavaScript to display input prompt -->
|
|
|
|
|
<div id="gen_prompt" class="modal modal_small modal-fixed-footer hidden">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<p><span id="gen_prompt_message">Prompt message</span></p>
|
|
|
|
|
<p><input id="gen_prompt_input" value="test" /></p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<a id="gen_prompt_ok_link" href="#" class="waves-effect btn-flat modal-close"><span class="translatable_okay">Okay</span></a>
|
|
|
|
|
<a id="gen_prompt_cancel_link" href="#" class="waves-effect btn-flat modal-close"><span class="translatable_cancel">Cancel</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- Local Modal to be shown if Ardublockly Server is not running. -->
|
|
|
|
|
<div id="not_running_dialog" class="modal">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div>
|
|
|
|
|
<h4 id="gen_alert_title"><span class="translatable_noServerTitle">Ardublockly app not running</span></h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="translatable_noServerBody">
|
|
|
|
|
<p>For all the Ardublockly features to be enabled, the Ardublockly desktop application must be running locally on your computer.</p>
|
|
|
|
|
<p>If you are using an online version you will not be able to configure the settings nor load the blocks code into an Arduino.</p>
|
|
|
|
|
<p>Installation instruction can be found in the <a href="https://github.com/sensebox/ardublockly">Ardublockly repository</a>.</p>
|
|
|
|
|
<p>If you have Ardublockly already installed, make sure the application is running correctly.</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<a id="gen_alert_ok_link" href="#" class="waves-effect btn-flat modal-close"><span class="translatable_okay">Okay</span></a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Desktop version of Ardublockly JS, needs to be loaded first. -->
|
|
|
|
|
<script src="blockly/ardublockly/ardublockly_desktop.js"></script>
|
|
|
|
|
<!-- jQuery and Materialize JS -->
|
|
|
|
|
<script src="blockly/ardublockly/js_libs/jquery-2.1.3.min.js"></script>
|
|
|
|
|
<script src="blockly/ardublockly/materialize/materialize.js"></script>
|
|
|
|
|