-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
634 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
# trial | ||
Big thanks to previous projects that made this possible: | ||
- [Blockly@rduino](https://github.com/technologiescollege/Blockly-at-rduino) | ||
- [BlocklyDuino](https://github.com/BlocklyDuino/BlocklyDuino) | ||
- [Blocklino] (https://github.com/fontainejp/blocklino/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="icon" type="image/png" href="media/icon.png" /> | ||
<meta charset="utf-8"> | ||
<title> The Block factory </title> | ||
<script src="js/factory_generator.js"></script> | ||
<script src="js/blockly.min.js"></script> | ||
<script src="js/prettify.min.js"></script> | ||
<script src="js/factory_block.js"></script> | ||
<link rel="stylesheet" href="css/bootstrap.min.3.3.6.css"> | ||
<link rel="stylesheet" href="css/blocklino.css"> | ||
<link rel="stylesheet" href="css/prettify.min.css"> | ||
</head> | ||
<body> | ||
<div id="title-bar"> | ||
<div id="title"> | ||
<span class="fa fa-industry fa-1_75x fa-fw"></span> The Block Factory | ||
</div> | ||
<div id="title-bar-btns"> | ||
<button id="btn_min" type="button" class="btn btn-minmaxBlue"><span class="fa fa-minimize fa-lg"></span></button> | ||
<button id="btn_max" type="button" class="btn btn-minmaxBlue"><span class="fa fa-maximize fa-lg"></span></button> | ||
<button id="btn_quit" type="button" class="btn btn-quitBlue"><span class="fa fa-times fa-1_75x"></span></button> | ||
</div> | ||
</div> | ||
<div id="divfenetre"> | ||
<div id="blockly_l" > | ||
<div id="blockly" ></div> | ||
</div> | ||
<div id="blockly_r"> | ||
<div style="height:3%"> | ||
Preview : | ||
<select id="direction" style="display: none;"> | ||
<option value="ltr">LTR</option> | ||
<option value="rtl">RTL</option> | ||
</select> | ||
</div> | ||
<div style="height:30%"> | ||
<div id="preview" style="position:absolute"></div> | ||
</div> | ||
<div style="height:3%"> Visual Aspect :</div> | ||
<div style="height:30%"> | ||
<pre id="languagePre" style="border:#ddd 1px solid; overflow:auto"></pre> | ||
</div> | ||
<div style="height:4%"> | ||
<select id="language_generator"> | ||
<option value="Arduino">Codes generator : Arduino</option> | ||
<option value="Python">Codes generator : Python</option> | ||
</select> | ||
</div> | ||
<div style="height:30%"> | ||
<pre id="generatorPre" style="border:#ddd 1px solid; overflow:auto"></pre> | ||
</div> | ||
</div> | ||
</div> | ||
<xml id="toolbox_factory" style="display:none"> | ||
<category name="Connexion" colour="#696969"> | ||
<block type="input_dummy"></block> | ||
<block type="input_value"></block> | ||
<block type="input_statement"></block> | ||
</category> | ||
<category name="Champ" colour="#00cc00"> | ||
<block type="field_static"></block> | ||
<block type="field_input"></block> | ||
<block type="field_math"></block> | ||
<block type="field_image"></block> | ||
<block type="field_dropdown"></block> | ||
<block type="field_variable"></block> | ||
<block type="field_checkbox"></block> | ||
<block type="field_angle"></block> | ||
<block type="field_colour"></block> | ||
</category> | ||
<category name="Type" colour="#ff0000"> | ||
<block type="type_boolean"></block> | ||
<block type="type_number"></block> | ||
<block type="type_string"></block> | ||
<block type="type_other"></block> | ||
</category> | ||
<category name="Couleur" id="colourCategory" colour="#FD6C9E"> | ||
<block type="colour_hue"><mutation colour="360"></mutation><field name="HUE">0</field></block> | ||
<block type="colour_hue"><mutation colour="60"></mutation><field name="HUE">60</field></block> | ||
<block type="colour_hue"><mutation colour="120"></mutation><field name="HUE">120</field></block> | ||
<block type="colour_hue"><mutation colour="180"></mutation><field name="HUE">180</field></block> | ||
<block type="colour_hue"><mutation colour="240"></mutation><field name="HUE">240</field></block> | ||
<block type="colour_hue"><mutation colour="300"></mutation><field name="HUE">300</field></block> | ||
</category> | ||
</xml> | ||
</body> | ||
<script>require('../resources/app/factory.js')</script> | ||
</html> |
Oops, something went wrong.