diff --git a/public/app/plugins/datasource/influxdb/directives.js b/public/app/plugins/datasource/influxdb/directives.js index ed9570b7ffa..a4c66137751 100644 --- a/public/app/plugins/datasource/influxdb/directives.js +++ b/public/app/plugins/datasource/influxdb/directives.js @@ -7,7 +7,7 @@ function (angular) { var module = angular.module('grafana.directives'); module.directive('metricQueryEditorInfluxdb', function() { - return {controller: 'InfluxQueryCtrl', templateUrl: 'app/plugins/datasource/influxdb/partials/query.editor2.html'}; + return {controller: 'InfluxQueryCtrl', templateUrl: 'app/plugins/datasource/influxdb/partials/query.editor.html'}; }); module.directive('metricQueryOptionsInfluxdb', function() { diff --git a/public/app/plugins/datasource/influxdb/partials/query.editor.html b/public/app/plugins/datasource/influxdb/partials/query.editor.html index ffc827cbfa8..259cebb0c41 100644 --- a/public/app/plugins/datasource/influxdb/partials/query.editor.html +++ b/public/app/plugins/datasource/influxdb/partials/query.editor.html @@ -11,7 +11,7 @@
  • +
  • @@ -40,43 +41,27 @@
  • - + +
    - - -
    +
    +
    + -
    - - -
    -
    - -
    +
    +
    • WHERE
    • -
    • @@ -84,45 +69,72 @@
    -
    - -
      -
    • - Alias pattern +
      +
        +
      • + SELECT
      • - + +
      • +
      • + +
      • +
      • + +
      • +
      • + AS +
      • +
      • + +
      • +
      + +
        +
      • + +
      • +
      • + +
      • +
      +
      +
      + +
      +
        +
      • + GROUP BY +
      • +
      • + time + + +
      • +
      • + +
      • +
      + +
        +
      • + +
      • +
      • + +
      • +
      +
      +
      + +
      +
        +
      • + ALIAS BY +
      • +
      • +
      @@ -130,4 +142,3 @@
    - diff --git a/public/app/plugins/datasource/influxdb/partials/query.editor2.html b/public/app/plugins/datasource/influxdb/partials/query.editor2.html deleted file mode 100644 index 259cebb0c41..00000000000 --- a/public/app/plugins/datasource/influxdb/partials/query.editor2.html +++ /dev/null @@ -1,144 +0,0 @@ -
    -
    - - -
      -
    • - {{target.refId}} -
    • -
    • - - - -
    • -
    - -
      -
    • - FROM -
    • -
    • - -
    • -
    -
    - -
    - -
    -
    - -
    -
    -
      -
    • - WHERE -
    • -
    • - -
    • -
    -
    -
    - -
    -
      -
    • - SELECT -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - AS -
    • -
    • - -
    • -
    - -
      -
    • - -
    • -
    • - -
    • -
    -
    -
    - -
    -
      -
    • - GROUP BY -
    • -
    • - time - - -
    • -
    • - -
    • -
    - -
      -
    • - -
    • -
    • - -
    • -
    -
    -
    - -
    -
      -
    • - ALIAS BY -
    • -
    • - -
    • -
    -
    -
    - -
    -