trying to get more functions to work

This commit is contained in:
Torkel Ödegaard 2013-12-22 21:24:09 +01:00
parent 21ef0cdcd2
commit 4f0042bed1
6 changed files with 14 additions and 4 deletions

View File

@ -28,7 +28,9 @@
"grunt-contrib-uglify": "~0.2.4",
"load-grunt-tasks": "~0.2.0",
"glob": "~3.2.7",
"grunt-contrib-connect": "~0.5.0"
"grunt-contrib-connect": "~0.5.0",
"mocha": "~1.16.1",
"expect.js": "~0.2.0"
},
"license": "Apache License"
}

View File

@ -31,7 +31,7 @@
<div class="grafana-target-func-panel">
<span class="grafana-target-func-panel-icon">
<i class="icon-long-arrow-right"></i>
<!-- <i class="icon-long-arrow-right"></i> -->
</span>
<ul>
<li ng-repeat="func in functions">

View File

@ -30,6 +30,13 @@
ng-change="functionParamsChanged(func)" ng-model-onblur
ng-model="func.params[$index]" />
<input ng-if="param.type === 'string'"
type="text"
focus-me="true"
class="input-small"
ng-change="functionParamsChanged(func)" ng-model-onblur
ng-model="func.params[$index]" />
<select ng-if="param.type === 'node'"
class="input-mini"
ng-model="func.params[$index]"

View File

@ -12,6 +12,7 @@ function () {
{
name: "sumSeries",
params: [],
defaultParams: []
},
{
name: "groupByNode",

File diff suppressed because one or more lines are too long

View File

@ -160,7 +160,7 @@
.grafana-target-func-panel-icon {
float: left;
padding: 1px 7px;
padding: 1px 15px;
}
input[type=text].func-param {