btns.html~ 1.8 KB

1234567891011121314151617
  1. <!-- BOTOES DE INSERIR INSTRUCAO DENTRO DE ESTRUTURAS COMO FOR, WHILE, ETC -->
  2. <div class="addButtons">
  3. <div class="dropdown">
  4. <button class="btn dropdown-toggle btn-info btn-sm" type="button" id="dropdownMenu1" data-toggle="dropdown"
  5. title="{{'alt_button_create_cmd' | i18n}}"><!-- click here to insert new command/instruction -->
  6. <i class="fa fa-plus fa-fw"></i>{{'button_create_cmd' | i18n}} <!-- Command/Instruction -->
  7. </button>
  8. <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
  9. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(node.nodes, node.id, 'attr', 'attr')" href="javascript:;"><img src="img/att.png" width="20" height="20" /> Atribuição</a></li>
  10. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(node.nodes, node.id, 'if', 'se')" href="javascript:;"><img src="img/if.png" width="20" height="20" /> Se verdadeiro então</a></li>
  11. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(node.nodes, node.id, 'for', 'repetir')" href="javascript:;"><img src="img/loop-n.png" width="20" height="20" /> Repita N vezes</a></li>
  12. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(node.nodes, node.id, 'while', 'enquanto')" href="javascript:;"><img src="img/loop-n.png" width="20" height="20" /> Enquanto verdadeiro</a></li>
  13. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(node.nodes, node.id, 'read', 'ler')" href="javascript:;"><img src="img/download.png" /> Leitura de dados</a></li>
  14. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(node.nodes, node.id, 'write', 'escrever')" href="javascript:;"><img src="img/upload.png" /> Escrita de dados</a></li>
  15. </ul>
  16. </div>
  17. </div>