2017-04-18 16:58:34 +02:00
< div class = "submenu-controls" >
2016-10-25 16:36:40 +02:00
2016-09-21 13:45:26 +02:00
< div ng-repeat = "variable in ctrl.variables" ng-hide = "variable.hide === 2" class = "submenu-item gf-form-inline" >
< div class = "gf-form" >
< label class = "gf-form-label template-variable" ng-hide = "variable.hide === 1" >
2016-09-21 20:04:09 +02:00
{{variable.label || variable.name}}
2016-09-21 13:45:26 +02:00
< / label >
2017-01-02 13:32:00 +01:00
< value-select-dropdown ng-if = "variable.type !== 'adhoc'" variable = "variable" on-updated = "ctrl.variableUpdated(variable)" > < / value-select-dropdown >
2016-09-21 13:45:26 +02:00
< / div >
< ad-hoc-filters ng-if = "variable.type === 'adhoc'" variable = "variable" > < / ad-hoc-filters >
< / div >
2016-01-18 12:19:46 +01:00
2016-09-21 13:45:26 +02:00
< div ng-if = "ctrl.dashboard.annotations.list.length > 0" >
2017-04-12 15:01:17 +02:00
< div ng-repeat = "annotation in ctrl.dashboard.annotations.list" ng-hide = "annotation.hide" class = "submenu-item" ng-class = "{'annotation-disabled': !annotation.enable}" >
2017-10-07 10:31:39 +02:00
< gf-form-switch class = "gf-form" label = "{{annotation.name}}" checked = "annotation.enable" on-change = "ctrl.annotationStateChanged()" > < / gf-form-switch >
2016-09-21 13:45:26 +02:00
< / div >
2016-09-21 14:20:59 +02:00
< / div >
< div class = "gf-form gf-form--grow" >
< / div >
2016-01-18 12:19:46 +01:00
2016-09-21 14:20:59 +02:00
< div ng-if = "ctrl.dashboard.links.length > 0" >
< dash-links-container links = "ctrl.dashboard.links" class = "gf-form-inline" > < / dash-links-container >
< / div >
2016-01-18 12:19:46 +01:00
2016-09-21 13:45:26 +02:00
< div class = "clearfix" > < / div >
2016-01-18 12:19:46 +01:00
< / div >