buttons.html 1.7 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}}">
  6. <i class="fa fa-plus fa-fw"></i> {{'button_create_cmd' | i18n}} <!-- Command -->
  7. </button>
  8. <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
  9. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(nodes, idParent, 'attr', 'attr')" href="javascript:;"><img src="img/att.png" width="20" height="20" /> {{'button_create_cmd' | i18n}} </a></li>
  10. <li role="presentation"><a role="menuitem" tabindex="-1" ng-click="add(nodes, idParent, '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(nodes, idParent, '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(nodes, idParent, '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(nodes, idParent, '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(nodes, idParent, 'write', 'escrever')" href="javascript:;"><img src="img/upload.png" /> Escrita de dados</a></li>
  15. </ul>
  16. </div>
  17. </div>