client-app/app/templates/index.hbs in logster-1.3.4 vs client-app/app/templates/index.hbs in logster-1.4.0.pre
- old
+ new
@@ -1,26 +1,19 @@
<div id='top-panel'>
- <table id='log-table'>
- <thead>
- <tr>
- <th class="count"></th>
- <th class="severity"></th>
- <th class="info"></th>
- <th class="protected"></th>
- <th class="time"></th>
- </tr>
- </thead>
- <tbody>
+ <div id="log-table">
{{#if model.moreBefore}}
- <tr {{action "showMoreBefore"}} class="show-more">
- <td colspan=5>select to see {{model.totalBefore}} more</td>
- </tr>
+ <div {{action "showMoreBefore"}} class="show-more">
+ {{#if model.hideCountInLoadMore}}
+ Load more
+ {{else}}
+ Select to see {{model.totalBefore}} more
+ {{/if}}
+ </div>
{{/if}}
{{#each model.messages as |message|}}
{{message-row model=message selectedMessage=(action "selectMessage")}}
{{/each}}
- </tbody>
- </table>
+ </div>
</div>
<div id="bottom-panel">
{{message-info
currentMessage=currentMessage
removeMessage=(action "removeMessage")