submenu.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <div class="submenu-controls" ng-controller="SubmenuCtrl">
  2. <div class="tight-form borderless">
  3. <ul class="tight-form-list" ng-if="dashboard.templating.list.length > 0">
  4. <li class="tight-form-item">
  5. <strong>VARIABLES:</strong>
  6. </li>
  7. <li ng-repeat-start="variable in variables" class="tight-form-item template-param-name">
  8. <span class="template-variable ">
  9. ${{variable.name}}:
  10. </span>
  11. </li>
  12. <li ng-repeat-end template-param-selector>
  13. </li>
  14. <li class="tight-form-item" style="width: 15px">
  15. </li>
  16. </ul>
  17. <ul class="tight-form-list" ng-if="dashboard.annotations.list.length > 0">
  18. <li class="tight-form-item">
  19. <strong>ANNOTATIONS:</strong>
  20. </li>
  21. <li ng-repeat="annotation in dashboard.annotations.list" class="tight-form-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
  22. <a ng-click="disableAnnotation(annotation)">
  23. {{annotation.name}}
  24. <input class="cr1" id="hideYAxis" type="checkbox" ng-model="annotation.enable" ng-checked="annotation.enable">
  25. <label for="hideYAxis" class="cr1"></label>
  26. </a>
  27. </li>
  28. </ul>
  29. <div class="clearfix"></div>
  30. </div>
  31. </div>