mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(templating): polished variable template edit forms, added new template variable type: datasource
This commit is contained in:
@@ -11,12 +11,6 @@ export function infoPopover() {
|
||||
template: '<i class="fa fa-info-circle"></i>',
|
||||
transclude: true,
|
||||
link: function(scope, elem, attrs, ctrl, transclude) {
|
||||
// var inputElem = elem.prev();
|
||||
// if (inputElem.length === 0) {
|
||||
// console.log('Failed to find input element for popover');
|
||||
// return;
|
||||
// }
|
||||
|
||||
var offset = attrs.offset || '0 -10px';
|
||||
var position = attrs.position || 'right middle';
|
||||
var classes = 'drop-help drop-hide-out-of-bounds';
|
||||
@@ -44,6 +38,7 @@ export function infoPopover() {
|
||||
position: position,
|
||||
classes: classes,
|
||||
openOn: openOn,
|
||||
hoverOpenDelay: 400,
|
||||
tetherOptions: {
|
||||
offset: offset
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user