Skip to content

Commit

Permalink
Merge pull request #429 from rashidkpc/newlines
Browse files Browse the repository at this point in the history
Closes #173
  • Loading branch information
Rashid Khan committed Aug 27, 2013
2 parents f922658 + 471b7ee commit 77e1e00
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions panels/table/module.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ <h5>Fields <i class=" icon-chevron-sign-left pointer " ng-click="panel.field_lis
<div class="small" ng-show="panel.fields.length == 0"><center>No columns configured. You may want to select some from the list on the left.</center></div>
<table class="table-hover table table-condensed" ng-style="panel.style">
<thead ng-show="panel.header">

<th style="white-space:nowrap" ng-repeat="field in panel.fields">
<i ng-show="!$first" class="pointer link icon-caret-left" ng-click="_.move(panel.fields,$index,$index-1)"></i>

<span class="pointer" ng-click="set_sort(field)" ng-show='panel.sortable'>
{{field}}
{{field}}
<i ng-show='field == panel.sort[0]' class="pointer link" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i>
</span>
<span ng-show='!panel.sortable'>{{field}}</span>
</span>
<span ng-show='!panel.sortable'>{{field}}</span>
<i ng-show="!$last" class="pointer link icon-caret-right" ng-click="_.move(panel.fields,$index,$index+1)"></i>
</th>

</thead>
<tbody ng-repeat="event in data | slice:panel.offset:panel.offset+panel.size" ng-class-odd="'odd'">
<tr ng-click="toggle_details(event)" class="pointer">
Expand All @@ -71,11 +71,11 @@ <h5>Fields <i class=" icon-chevron-sign-left pointer " ng-click="panel.field_lis
<tr ng-repeat="(key,value) in event.kibana.details._source" ng-class-odd="'odd'">
<td>{{key}}</td>
<td>
<i class='icon-search pointer' ng-click="build_search(key,value)"></i>
<i class='icon-search pointer' ng-click="build_search(key,value)"></i>
<i class='icon-ban-circle pointer' ng-click="build_search(key,value,true)"></i>
</td>
<td>{{value}}</td>
</tr>
<td style="white-space:pre-wrap">{{value}}</td>
</tr>
</table>
</td>
</tr>
Expand Down

0 comments on commit 77e1e00

Please sign in to comment.