Skip to content

Commit

Permalink
Change rendered fields #5 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
sankerust authored and rozetko committed Sep 21, 2018
1 parent 1b0e60c commit 377ba42
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions src/partials/module.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,12 @@
</th>
<th>
<div class="table-panel-table-header-inner">
Datasource
RefId
</div>
</th>
<th>
<div class="table-panel-table-header-inner">
Measurement
</div>
</th>
<th>
<div class="table-panel-table-header-inner">
Query
Datasource
</div>
</th>
<th></th>
Expand All @@ -36,11 +31,10 @@
<td>
{{ panel.title }}
</td>
<td>-</td>
<td>
{{ panel.datasource }}
</td>
<td>-</td>
<td>-</td>
<td>
<button class="btn gf-form-btn btn-primary" type="button" ng-click="ctrl.toggleTargetRows(panel.id)">
<i class="fa fa-chevron-down" ng-if="!ctrl.showRows[panel.id]"></i>
Expand All @@ -55,20 +49,14 @@
ng-repeat="target in panel.targets"
ng-if="ctrl.showRows[panel.id]"
>
<td></td>
<td></td>
<td>
<span class="template-variable">
{{ target.refId }}
</span>
: {{ target.measurement }}
</td>
<td ng-if="target.query !== undefined">
{{ target.query }}
</td>
<td ng-if="target.query === undefined">
-
</td>
<td></td>
<td>
<button class="btn gf-form-btn btn-primary" type="button" ng-click="ctrl.showExportModal(panel.id, target)">
Export
Expand Down

0 comments on commit 377ba42

Please sign in to comment.