select-operator.html 533 B

1234567891011
  1. <span class="dropdown select-variable-value" ng-class="{'need-to-set': value==''}">
  2. <a id="drop1" href="#" role="button" class="dropdown-toggle normal" data-toggle="dropdown">
  3. <span ng-show="value==''"><i>selecionar operação</i></span>
  4. <span ng-hide="value==''">{{operators[value].display}}</span>
  5. </a>
  6. <ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
  7. <li ng-repeat="op in operators" ng-show="op.compatible.indexOf(type)>=0">
  8. <a ng-click="setValue(op)">{{op.display}}</a>
  9. </li>
  10. </ul>
  11. </span>