Moved panels to ng-include with controllers, collapsed histo and pies into single modules, added table module
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<div ng-controller='table'>
|
||||
<h4>{{panel.title}}</h4>
|
||||
<div style="height:{{row.height}};overflow-y:auto;overflow-x:hidden">
|
||||
<table class="table table-condensed table-striped">
|
||||
<thead>
|
||||
<th ng-repeat="field in panel.fields">{{field}}</th>
|
||||
</thead>
|
||||
<tr ng-repeat="row in data">
|
||||
<td ng-repeat="field in panel.fields">{{row['_source'][field]}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user