|
|
|
|
@ -37,14 +37,22 @@ |
|
|
|
|
<em>No template variables defined</em> |
|
|
|
|
<br /> <br /> |
|
|
|
|
</div> |
|
|
|
|
<table class="grafana-options-table"> |
|
|
|
|
<table class="filter-table filter-table--hover"> |
|
|
|
|
<thead> |
|
|
|
|
<tr> |
|
|
|
|
<th>Variable</th> |
|
|
|
|
<th>Definition</th> |
|
|
|
|
<th colspan="5"></th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
|
<tr ng-repeat="variable in variables"> |
|
|
|
|
<td style="width: 1%"> |
|
|
|
|
<span class="template-variable"> |
|
|
|
|
<span ng-click="edit(variable)" class="pointer template-variable"> |
|
|
|
|
${{variable.name}} |
|
|
|
|
</span> |
|
|
|
|
</td> |
|
|
|
|
<td class="max-width" style="max-width: 200px;"> |
|
|
|
|
<td style="max-width: 200px;" ng-click="edit(variable)" class="pointer max-width"> |
|
|
|
|
{{variable.query}} |
|
|
|
|
</td> |
|
|
|
|
|
|
|
|
|
@ -55,18 +63,13 @@ |
|
|
|
|
Duplicate |
|
|
|
|
</a> |
|
|
|
|
</td> |
|
|
|
|
<td style="width: 1%"> |
|
|
|
|
<a ng-click="edit(variable)" class="btn btn-inverse btn-mini"> |
|
|
|
|
<i class="fa fa-edit"></i> |
|
|
|
|
Edit |
|
|
|
|
</a> |
|
|
|
|
</td> |
|
|
|
|
<td style="width: 1%"> |
|
|
|
|
<a ng-click="removeVariable(variable)" class="btn btn-danger btn-mini"> |
|
|
|
|
<i class="fa fa-remove"></i> |
|
|
|
|
</a> |
|
|
|
|
</td> |
|
|
|
|
</tr> |
|
|
|
|
</tbody> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|