Sha256: 3c4978311de41f3dfb237ba654b1fc9352f1aad5f193bc0d0e4d26c28e1427a5

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

<% content_for :title do %>
<h1 class="project-banner space-below">
  <%= link_to "Actions", actions_path %>
  <small><%= @action_name %></small>
</h1>
<% end %>

<div class="nomargin action-show">
  <table id="actions" class="table table-sortable table-striped">
    <thead>
      <tr>
        <td class="table-margin"></td>
        <th class="action-created">Queued</th>
        <th class="action-name">Action</th>
        <th class="action-started">Started</th>
        <th class="action-finished">Finished</th>
        <th class="action-duration">Duration</th>
        <th class="action-trigger">Trigger</th>
        <th class="action-params">Params</th>
        <th class="action-succeeded">Succeeded</th>
        <th class="action-exception">Exception</th>
        <th class="action-retry">Retry</th>
        <td class="table-margin"></td>
      </tr>
    </thead>
    <tbody class="infinite-scroll">
      <%= render "actions/actions" %>
    </tbody>
  </table>
</div>

<% content_for :javascripts do %>
  <script type="text/javascript">
    $(function() {
      $('#actions')
        .tablesorter()
        .on('click', '.action-params-short', function() {
          $(this).next().modal();
        });
    });
    new InfiniteScroll({
      load: function($tbody) {
        var timestamp = $tbody.find('.action: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.9.1 app/views/actions/show.html.erb
houston-core-0.9.0 app/views/actions/show.html.erb
houston-core-0.9.0.rc1 app/views/actions/show.html.erb