submenu.html 938 B

123456789101112131415161718192021222324252627282930
  1. <div class="submenu-controls" ng-controller="SubmenuCtrl">
  2. <div class="tight-form borderless">
  3. <ul class="tight-form-list" ng-if="dashboard.templating.enable">
  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. </ul>
  15. <ul class="tight-form-list" ng-if="dashboard.annotations.enable">
  16. <strong>ANNOTATIONS</strong>
  17. <li ng-repeat="annotation in dashboard.annotations.list" class="tight-form-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
  18. <a ng-click="disableAnnotation(annotation)">
  19. <i class="annotation-color-icon fa fa-bolt"></i>
  20. {{annotation.name}}
  21. </a>
  22. </li>
  23. </ul>
  24. <div class="clearfix"></div>
  25. </div>
  26. </div>