From 691b763cecec6c7800dec796fab20060c34f746a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 24 Dec 2013 18:26:51 +0100 Subject: [PATCH] added text edit mode to targets --- src/app/controllers/graphiteTarget.js | 1 + src/app/panels/graphite/editor.html | 9 ++++++--- src/css/bootstrap.dark.min.css | 2 +- src/vendor/bootstrap/less/grafana.less | 9 +++++++++ 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/app/controllers/graphiteTarget.js b/src/app/controllers/graphiteTarget.js index b025c564cf7..60221f555b3 100644 --- a/src/app/controllers/graphiteTarget.js +++ b/src/app/controllers/graphiteTarget.js @@ -16,6 +16,7 @@ function (angular, _, config, graphiteFunctions, Parser) { $scope.functions = []; $scope.segments = []; $scope.funcDefs = graphiteFunctions; + $scope.showTextEditor = false; var parser = new Parser($scope.target.target); var astNode = parser.getAst(); diff --git a/src/app/panels/graphite/editor.html b/src/app/panels/graphite/editor.html index cb3a9b71b76..82f131095b2 100644 --- a/src/app/panels/graphite/editor.html +++ b/src/app/panels/graphite/editor.html @@ -6,7 +6,10 @@ -