2019-12-11 14:09:57 +01:00
< div class = "submenu-controls" ng-hide = "ctrl.submenuEnabled === false" >
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" >
2019-11-25 07:29:01 +01:00
< label
class="gf-form-label template-variable"
ng-hide="variable.hide === 1"
aria-label="Dashboard template variables submenu LabelName label"
>{{variable.label || variable.name}}< / label >
2019-02-23 08:59:00 +01:00
< value-select-dropdown ng-if = "variable.type !== 'adhoc' && variable.type !== 'textbox'" dashboard = "ctrl.dashboard" variable = "variable" on-updated = "ctrl.variableUpdated(variable)" > < / value-select-dropdown >
2018-09-27 14:50:14 +02:00
< input type = "text" ng-if = "variable.type === 'textbox'" ng-model = "variable.query" class = "gf-form-input width-12" ng-blur = "variable.current.value != variable.query && variable.updateOptions() && ctrl.variableUpdated(variable);" ng-keydown = "$event.keyCode === 13 && variable.current.value != variable.query && variable.updateOptions() && ctrl.variableUpdated(variable);" > < / input >
2016-09-21 13:45:26 +02:00
< / div >
2019-02-04 14:45:13 +01:00
< ad-hoc-filters ng-if = "variable.type === 'adhoc'" variable = "variable" dashboard = "ctrl.dashboard" > < / ad-hoc-filters >
2016-09-21 13:45:26 +02:00
< / 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" >
2018-12-23 07:11:24 +01:00
< dash-links-container links = "ctrl.dashboard.links" dashboard = "ctrl.dashboard" class = "gf-form-inline" > < / dash-links-container >
2016-09-21 14:20:59 +02:00
< / 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 >