grafana/public/app/partials/submenu.html

28 lines
1.1 KiB
HTML
Raw Normal View History

<div class="submenu-controls" ng-controller="SubmenuCtrl">
<div class="tight-form borderless">
<ul class="tight-form-list" ng-if="dashboard.templating.list.length > 0">
<li ng-repeat="variable in variables" class="submenu-item">
2015-03-19 22:09:50 -05:00
<variable-value-select variable="variable" on-updated="variableUpdated(variable)"></variable-value-select>
</li>
</ul>
<ul class="tight-form-list" ng-if="dashboard.annotations.list.length > 0">
<li ng-repeat="annotation in dashboard.annotations.list" class="submenu-item annotation-segment" ng-class="{'annotation-disabled': !annotation.enable}">
<a ng-click="disableAnnotation(annotation)">
<i class="fa fa-bolt"></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="dashboard.links.length > 0">
2015-05-06 09:40:43 -05:00
<dash-links-container links="dashboard.links"></dash-links-container>
</ul>
<div class="clearfix"></div>
</div>
</div>