diff --git a/tests/multi_playground.html b/tests/multi_playground.html
index 56975b265..c25d7a543 100644
--- a/tests/multi_playground.html
+++ b/tests/multi_playground.html
@@ -15,23 +15,19 @@
@@ -102,86 +79,69 @@ h1 {
font-weight: normal;
font-size: 140%;
}
-#blocklyDiv {
- float: right;
- height: 95%;
- width: 70%;
+
+#octaweb {
+ width: 100%;
}
-#collaborators {
- float: right;
- width: 30px;
- margin-left: 10px;
+#octaweb th {
+ padding-top: 1em;
+ width: 50%;
}
-#collaborators > img {
- margin-right: 5px;
- height: 30px;
- padding-bottom: 5px;
- width: 30px;
- border-radius: 3px;
+#octaweb td {
+ width: 50%;
}
-#importExport {
- font-family: monospace;
-}
-#swap {
- background-color: #4CAF50; /* Green */
- color: white;
- text-decoration: none;
- font-size: 12px;
+#octaweb td div {
+ height: 480px;
+ width: 100%;
}
-
-
-
+
+ Blockly Multi Playground
+
+
+
+
- |
-
- |
+ LTR, Vertical, Start |
+ RTL, Vertical, Start |
- |
- LTR |
- RTL |
+ |
+ |
- | Vertical layout; toolbox at start |
-
-
- |
-
-
- |
+ LTR, Vertical, End |
+ RTL, Vertical, End |
- | Vertical layout; toolbox at end |
-
-
- |
-
-
- |
+ |
+ |
- | Horizontal layout; toolbox at start |
-
-
- |
-
-
- |
+ LTR, Horizontal, Start |
+ RTL, Horizontal, Start |
- | Horizontal layout; toolbox at end |
-
-
- |
-
-
- |
+ |
+ |
+
+
+ | LTR, Horizontal, End |
+ RTL, Horizontal, End |
+
+
+ |
+ |
-
+
@@ -200,7 +160,7 @@ h1 {
-
+
@@ -460,6 +420,7 @@ h1 {
+
diff --git a/tests/playground.html b/tests/playground.html
index 1cc9c86d1..d43d32ed4 100644
--- a/tests/playground.html
+++ b/tests/playground.html
@@ -70,12 +70,11 @@ function start() {
document.forms.options.elements.dir.selectedIndex = Number(rtl);
var match = location.search.match(/toolbox=([^&]+)/);
var toolbox =
- document.getElementById('toolbox-' + (match ? match[1] : 'simple'));
+ document.getElementById('toolbox-' + (match ? match[1] : 'categories'));
document.forms.options.elements.toolbox.selectedIndex =
Number(toolbox.getElementsByTagName('category').length == 0);
match = location.search.match(/side=([^&]+)/);
var side = match ? match[1] : 'start';
- console.log(side)
document.forms.options.elements.side.value = side;
// Create main workspace.
workspace = Blockly.inject('blocklyDiv',
@@ -323,6 +322,77 @@ h1 {
+ Blockly Playground
+
+ Show
+ - Hide
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Stress test:
+
+
+
+
+
+ Log events:
+
+
+
+
+
+
+
+
+
+
+
+ 10
+
+
+
+
+
+
+
+
+
+
@@ -627,68 +697,5 @@ h1 {
-
-
-
-
-
-
-
-
-
-
-
- Blockly Playground
-
- Show
- - Hide
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Stress test:
-
-
-
-
-
- Log events:
-
-
-