| 123456789101112131415161718192021222324252627282930 |
- <div class="submenu-controls">
- <div class="tight-form borderless">
- <ul class="tight-form-list" ng-if="ctrl.dashboard.templating.list.length > 0">
- <li ng-repeat="variable in ctrl.variables" class="submenu-item">
- <span class="template-variable tight-form-item" ng-show="!variable.hideLabel" style="padding-right: 5px">
- {{variable.label || variable.name}}:
- </span>
- <value-select-dropdown variable="variable" on-updated="ctrl.variableUpdated(variable)" get-values-for-tag="ctrl.getValuesForTag(variable, tagKey)"></value-select-dropdown>
- </li>
- </ul>
- <ul class="tight-form-list" ng-if="ctrl.dashboard.annotations.list.length > 0">
- <li ng-repeat="annotation in ctrl.dashboard.annotations.list" class="submenu-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
- <a ng-click="ctrl.disableAnnotation(annotation)">
- <i class="fa fa-bolt" style="color:{{annotation.iconColor}}"></i>
- {{annotation.name}}
- <input class="cr1" id="hideYAxis" type="checkbox" ng-model="annotation.enable" ng-checked="annotation.enable">
- <label for="hideYAxis" class="cr1"></label>
- </a>
- </li>
- </ul>
- <ul class="tight-form-list pull-right" ng-if="ctrl.dashboard.links.length > 0">
- <dash-links-container links="ctrl.dashboard.links"></dash-links-container>
- </ul>
- <div class="clearfix"></div>
- </div>
- </div>
|