Sha256: 65494bdbd3ce14ae1c0f7281e825fa5c6b40dfdadc9b591726b0fbdc992840f5

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

<% content_for :title do %>
<h1 class="project-banner space-below">
  Errors
</h1>
<% end %>

<div class="nomargin">
  <table id="errors" class="table table-sortable table-striped">
    <thead>
      <tr>
        <td class="table-margin"></td>
        <th class="action-time">Time</th>
        <th class="action-name">Action</th>
        <th class="action-trigger">Trigger</th>
        <th class="action-params">Params</th>
        <th class="action-error-message">Message</th>
        <th class="action-retry">Retry</th>
        <td class="table-margin"></td>
      </tr>
    </thead>
    <tbody class="infinite-scroll">
      <%= render "errors/actions" %>
    </tbody>
  </table>
</div>


<% content_for :javascripts do %>
  <script type="text/javascript">
    $(function() {
      $('#errors')
        .tablesorter()
        .on('click', '.action-params-short', function() {
          $(this).next().modal();
        });
    });
    new InfiniteScroll({
      load: function($tbody) {
        var timestamp = $tbody.find('.action-error:last').attr('data-timestamp');
        return $.get(window.location.pathname, {before: timestamp});
      }
    });
  </script>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
houston-core-0.8.4 app/views/errors/index.html.erb
houston-core-0.8.3 app/views/errors/index.html.erb
houston-core-0.8.2 app/views/errors/index.html.erb