From 06f21f85e461d657d1b24cdfbb7c13ebf50f6167 Mon Sep 17 00:00:00 2001 From: Emma Dauterman Date: Mon, 15 Aug 2016 13:21:50 -0700 Subject: [PATCH] Blockly Factory: Add Pre-loaded blocks tab with import/export to workspace factory (#546) * Added pre-loaded blocks with import and export, squashed commit. * Configure Options object Allows user to configure the options object, see changes in the preview workspace, and export the options object (squashed commit). * Nit changes to style.css --- .../workspacefactory/index.html | 193 ++++++- .../blocklyfactory/workspacefactory/style.css | 70 +-- .../workspacefactory/wfactory_controller.js | 531 +++++++++++++++--- .../workspacefactory/wfactory_generator.js | 34 +- .../workspacefactory/wfactory_model.js | 83 ++- .../workspacefactory/wfactory_view.js | 80 +++ 6 files changed, 827 insertions(+), 164 deletions(-) diff --git a/demos/blocklyfactory/workspacefactory/index.html b/demos/blocklyfactory/workspacefactory/index.html index 061749f59..0f3a0be24 100644 --- a/demos/blocklyfactory/workspacefactory/index.html +++ b/demos/blocklyfactory/workspacefactory/index.html @@ -30,23 +30,45 @@ goog.require('goog.ui.ColorPicker');

- - +

+ + + + +

-

Drag blocks into your toolbox:

+

Drag blocks into your toolbox:

+ + + +
ToolboxWorkspace
-