submenu.html 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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 ng-repeat-start="variable in variables" class="tight-form-item template-param-name">
  5. <span class="template-variable ">
  6. ${{variable.name}}:
  7. </span>
  8. </li>
  9. <li ng-repeat-end template-param-selector>
  10. </li>
  11. <li class="tight-form-item" style="width: 15px">
  12. </li>
  13. </ul>
  14. <ul class="tight-form-list" ng-if="dashboard.annotations.list.length > 0">
  15. <li ng-repeat="annotation in dashboard.annotations.list" class="tight-form-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
  16. <a ng-click="disableAnnotation(annotation)">
  17. <i class="fa fa-bolt"></i>
  18. {{annotation.name}}
  19. <input class="cr1" id="hideYAxis" type="checkbox" ng-model="annotation.enable" ng-checked="annotation.enable">
  20. <label for="hideYAxis" class="cr1"></label>
  21. </a>
  22. </li>
  23. </ul>
  24. <div class="clearfix"></div>
  25. </div>
  26. </div>