
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <script src="{{ url_for('static', filename='blocky/blockly_compressed.js') }}"></script>
    <script src="{{ url_for('static', filename='blocky/blocks_compressed.js') }}"></script>
    <script src="{{ url_for('static', filename='blocky/msg/pt-br.js') }}"></script>
    <style>
      html, body {
        background-color: #fff;
        margin: 0;
        padding: 0;
        overflow: hidden;
        height: 100%;
        z-index: 2060;
      }
      .blocklySvg {
        height: 100%;
        width: 100%;
      }
    </style>
    <script>
      function init() {
        Blockly.inject(document.body,
                {
                  toolbox: document.getElementById('toolbox'),
                  trashcan: true,
                  scrollbars: true
                }
        );
        // Let the top-level application know that Blockly is ready.
        window.parent.blocklyLoaded(Blockly);
      }
    </script>
  </head>
  <body onload="init()">
    <xml id="toolbox" style="display: none">
      <block type="controls_if"></block>
      <block type="controls_repeat_ext"></block>
      <block type="logic_compare"></block>
      <block type="math_number"></block>
      <block type="math_arithmetic"></block>
      <block type="text"></block>
      <block type="text_print"></block>
    </xml>
  </body>
</html>