stackdriver: more renaming

This commit is contained in:
Erik Sundell 2018-10-26 11:06:43 +02:00
parent 33c9217cc9
commit 149c649132
3 changed files with 8 additions and 11 deletions

View File

@ -14,7 +14,7 @@ async function loadComponent(module) {
}
/** @ngInject */
function pluginTemplateQueryComponentLoader() {
function templateQueryComponentLoader() {
return {
restrict: 'E',
link: async (scope, elem) => {
@ -32,4 +32,4 @@ function pluginTemplateQueryComponentLoader() {
};
}
coreModule.directive('pluginTemplateQueryComponent', pluginTemplateQueryComponentLoader);
coreModule.directive('templateQueryComponentLoader', templateQueryComponentLoader);

View File

@ -4,4 +4,4 @@ import './import_list/import_list';
import './ds_edit_ctrl';
import './datasource_srv';
import './plugin_component';
import './pluginTemplateQueryComponentLoader';
import './TemplateQueryComponentLoader';

View File

@ -120,7 +120,8 @@
<div class="gf-form">
<span class="gf-form-label width-9">Values</span>
<input type="text" class="gf-form-input" ng-model='current.query' placeholder="1m,10m,1h,6h,1d,7d" ng-model-onblur ng-change="runQuery()" required></input>
<input type="text" class="gf-form-input" ng-model='current.query' placeholder="1m,10m,1h,6h,1d,7d" ng-model-onblur
ng-change="runQuery()" required></input>
</div>
<div class="gf-form-inline">
@ -199,14 +200,10 @@
</div>
<rebuild-on-change property="currentDatasource">
<plugin-template-query-component>
</plugin-template-query-component>
<template-query-component-loader>
</template-query-component-loader>
</rebuild-on-change>
<!-- <div class="gf-form">
<span class="gf-form-label width-7">Query</span>
<input type="text" class="gf-form-input" ng-model='current.query' placeholder="metric name or tags query" ng-model-onblur ng-change="runQuery()" required></input>
</div> -->
<div class="gf-form">
<span class="gf-form-label width-7">
Regex
@ -325,4 +322,4 @@
</div>
</form>
</div>
</div>