select-variable.html 584 B

123456789
  1. <span class="dropdown select-variable-value normal" ng-class="{'need-to-set': value==''}">
  2. <a id="drop1" href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
  3. <span ng-show="value==''"><i>selecionar variável</i></span>
  4. <span ng-hide="value==''">{{vars[value].name}}</span>
  5. </a>
  6. <ul class="dropdown-menu" role="menu" aria-labelledby="drop1">
  7. <li ng-repeat="var in vars" ng-show="var.type==type || type=='' || (type=='int' && var.type=='float') || (type=='float' && var.type=='int')"><a ng-click="setValue(var.id)">{{var.name}}</a></li>
  8. </ul>
  9. </span>