Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. <div class="cg">
  2. <label class="cl">Keywords</label>
  3. <div class="controls">
  4. <input id="id_search"
  5. ui-select2 = "{multiple: true, simple_tags: true, tags: []}"
  6. />
  7. <div class="qs"
  8. popover-placement="left"
  9. popover-trigger="mouseenter"
  10. popover="Type your search"></i></div>
  11. <a ng-click="changeStatus()">Advanced</a>
  12. </div>
  13. </div>
  14.  
  15. <div class="cg" ng-show="form_element.status">
  16. <label class="cl">Must not include</label>
  17. <div class="controls">
  18. <input id="id_must_not_include"
  19. class="input-block-level"
  20. ng-disabled="tagItem.perm == 'r'"
  21. ui-select2 = "{multiple: true, simple_tags: true, tags: []}"
  22. ng-model="not_include"/>
  23. <div class="qs"
  24. ng-show="is_modal"
  25. tooltip="Must not include words."
  26. tooltip-placement="left"><i class="icon-question-sign"></i></div>
  27. <span class="help-block" ng-hide="is_modal"></span>
  28. </div>
  29. </div>
  30.  
  31. <div class="cg" ng-show="form_element.status">
  32. <label class="cl">Must include</label>
  33. <div class="controls">
  34. <input id="id_must_include"
  35. class="input-block-level"
  36. ng-disabled="tagItem.perm == 'r'"
  37. ui-select2 = "{multiple: true, simple_tags: true, tags: []}"
  38. ng-model="must_include"/>
  39. <div class="qs"
  40. ng-show="is_modal"
  41. tooltip="Must include words."
  42. tooltip-placement="left"><i class="icon-question-sign"></i></div>
  43. <span class="help-block" ng-hide="is_modal"></span>
  44. </div>
  45. </div>
  46.  
  47. App.controller('Ctrl1', function Ctrl1 ($scope, TestService) {
  48. $scope.isAdvancedState = false;
  49.  
  50. $scope.changeStatus = function() {
  51. $scope.isAdvancedState = true;
  52. }
  53. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement