|
|
@@ -76,9 +76,19 @@
|
|
|
</ul>
|
|
|
</li>
|
|
|
<li ng-repeat="func in functions">
|
|
|
- <a class="grafana-target-segment grafana-target-function dropdown-toggle" bs-popover="'app/partials/graphite/funcEditor.html'" data-placement="bottom">
|
|
|
- {{func.text}}
|
|
|
- </a>
|
|
|
+ <!-- <a class="grafana-target-segment grafana-target-function dropdown-toggle"
|
|
|
+ bs-popover="'app/partials/graphite/funcEditor.html'"
|
|
|
+ data-placement="bottom">
|
|
|
+ {{func.def.name}}
|
|
|
+ </a> -->
|
|
|
+ <span class="grafana-target-segment grafana-target-function">
|
|
|
+ <span>{{func.def.name}}(</span><span ng-repeat="param in func.def.params">
|
|
|
+ <input type="text"
|
|
|
+ class="input-mini grafana-function-param-input"
|
|
|
+ dynamic-width
|
|
|
+ ng-model="func.params[$index]"></input>
|
|
|
+ </span><span>)</span>
|
|
|
+ </span>
|
|
|
</li>
|
|
|
<li class="dropdown" graphite-add-func>
|
|
|
|