attr-romenig-sem-lock.html 2.0 KB

123456789101112131415161718192021222324252627282930313233
  1. <div class="instr attr">
  2. <div class="handle"><i class="fa fa-sort"></i></div>
  3. <button class="btn btn-danger btn-sm btn-delete" ng-click="removeItem(node.parent, node)"><i class="fa fa-minus"></i></button>
  4. <span select-variable="node.variable" select-vars="program.functions[currentFunction].vars" type="''"></span>
  5. <span ng-show="node.variable==''"> « selecione uma variável</span>
  6. <span ng-hide="node.variable==''"> recebe
  7. <span ng-show="!node.isLocked">
  8. <span edit-expression-java="node.exp" type="program.functions[currentFunction].vars[node.variable].type" vars="program.functions[currentFunction].vars"></span>
  9. </span>
  10. <span ng-show="node.isLocked">
  11. <span edit-expression-java-read-only="node.exp" type="program.functions[currentFunction].vars[node.variable].type" vars="program.functions[currentFunction].vars"></span>
  12. </span>
  13. <!--
  14. <span ng-show="node.isLocked">
  15. <a ng-click="node.isLocked=false"><img src="img/locker_closed.png" /></a>
  16. </span>
  17. <span ng-hide="node.isLocked">
  18. <a ng-click="node.isLocked=true"><img src="img/locker_opened.png" /></a>
  19. </span>
  20. -->
  21. <!--span class="dropdown">
  22. <button class="btn btn-mini btn-xs" data-toggle="dropdown"><img src="img/operations.png" /></button>
  23. <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
  24. <li><a role="menuitem" ng-click="addElVar(node.exp)">Variável</a></li>
  25. <li><a role="menuitem" ng-click="addElVal(node.exp)">Valor</a></li>
  26. <li ng-show="program.functions[currentFunction].vars[node.variable].type=='boolean'"><a role="menuitem" ng-click="addElExpB(node.exp)">Expressão Booleana</a></li>
  27. </ul>
  28. </span-->
  29. </span>
  30. </div>