if.html 981 B

123456789101112131415161718192021
  1. <div class="instr repeat">
  2. <div class="handle"><i class="fa fa-sort"></i></div>
  3. <span><a href="javascript:;" ng-click="childrenVisible(node)"><img src="img/expand_up.png" ng-show="node.isChildrenVisible" /><img src="img/expand_down.png" ng-hide="node.isChildrenVisible" /></a></span>
  4. se (
  5. <span edit-expression-java="node.exp" type="'boolean'" vars="program.functions[currentFunction].vars"></span>
  6. )
  7. <button class="btn btn-danger btn-sm btn-delete" ng-click="removeItem(node.parent, node)"><i class="fa fa-minus"></i></button>
  8. <span ng-show="node.isChildrenVisible">
  9. <span ng-include="'nodes1.html'"></span>
  10. <span buttons="node.nodes1" id-parent="node.id"></span>
  11. senão <br>
  12. <span ng-include="'nodes2.html'"></span>
  13. <span buttons="node.nodes2" id-parent="node.id"></span>
  14. </span>
  15. </div>
  16. </div>