Sha256: d121d20bef411e690c56e7f1b8d15bc59577f31161ef8d6574bed700245bc5e6
Contents?: true
Size: 1.11 KB
Versions: 5
Compression:
Stored size: 1.11 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> <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() { $('#actions') .tablesorter() .on('click', '.action-params-short', function() { $(this).hide().next().show(); }); }); 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
5 entries across 5 versions & 1 rubygems