2014-08-25 06:31:31 -05:00
< div class = "submenu-controls" ng-controller = "SubmenuCtrl" >
< div class = "grafana-target" >
< div class = "grafana-target-inner-wrapper" >
< div class = "grafana-target-inner" >
< ul class = "grafana-target-controls-left" >
< li class = "grafana-target-segment" >
2014-08-25 08:36:44 -05:00
< div class = "dropdown" >
< a class = "pointer" data-toggle = "dropdown" >
< i class = "icon-cog" > < / i >
< / a >
< ul class = "dropdown-menu" >
2014-08-26 02:32:30 -05:00
< li > < a class = "pointer" dash-editor-link = "app/partials/templating_editor.html" > Templating< / a > < / li >
< li > < a class = "pointer" dash-editor-link = "app/partials/annotations_editor.html" > Annotations< / a > < / li >
2014-08-25 08:36:44 -05:00
< / ul >
< / div >
2014-08-25 06:31:31 -05:00
< / li >
< / ul >
< ul class = "grafana-segment-list" >
2014-08-27 10:58:49 -05:00
< li ng-repeat-start = "param in templateParameters" class = "grafana-target-segment template-param-name" >
2014-08-25 08:36:44 -05:00
{{param.name}}:
< / li >
< li ng-repeat-end >
< div class = "dropdown" >
< a class = "dropdown-toggle grafana-target-segment" data-toggle = "dropdown" >
{{param.current.text}}
2014-08-25 06:31:31 -05:00
< / a >
< ul class = "dropdown-menu" >
2014-08-25 08:36:44 -05:00
< li ng-repeat = "option in param.options" >
< a ng-click = "filterOptionSelected(param, option)" > {{option.text}}< / a >
2014-08-25 06:31:31 -05:00
< / li >
< / ul >
2014-08-25 08:36:44 -05:00
< / div >
2014-08-25 06:31:31 -05:00
< / li >
2014-08-25 08:55:42 -05:00
< li ng-repeat = "annotation in dashboard.annotations.list" class = "grafana-target-segment annotation-segment" ng-class = "{'annotation-disabled': !annotation.enable}" >
2014-08-27 03:41:27 -05:00
< a ng-click = "disableAnnotation(annotation)" >
< i class = "annotation-color-icon icon-bolt" > < / i >
{{annotation.name}}
< / a >
2014-08-25 08:36:44 -05:00
< / li >
2014-08-25 06:31:31 -05:00
< / ul >
< div class = "clearfix" > < / div >
< / div >
< / div >
< / div >
< / div >