Sha256: 59674e13cf91e9803d9ae83ba999ccdd01a694670f46f34451c03603d25b6c6b

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 KB

Contents

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

<div class="nomargin">
  <table id="actions" class="table table-sortable table-striped">
    <thead>
      <tr>
        <td class="table-margin"></td>
        <th class="action-time">Started</th>
        <th class="action-duration">Duration</th>
        <th class="action-name">Action</th>
        <th class="action-trigger">Trigger</th>
        <th class="action-params">Params</th>
        <td class="table-margin"></td>
      </tr>
    </thead>
    <tbody>
      <% @actions.each do |action| %>
        <tr class="action">
          <td class="table-margin"></td>
          <td class="action-time"><%= format_time action.started_at %></td>
          <td class="action-duration"><%= format_time_ago action.started_at %></td>
          <td class="action-name"><%= link_to action[:name], action_path(slug: action[:name]) %></td>
          <td class="action-trigger"><%= action.trigger %></td>
          <td class="action-params"><%= format_action_params action.params %></td>
          <td class="table-margin"></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>


<% content_for :javascripts do %>
  <script type="text/javascript">
    $(function() {
      $('#actions')
        .tablesorter()
        .on('click', '.action-params-short', function() {
          $(this).hide().next().show();
        });
    });
  </script>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
houston-core-0.8.1 app/views/actions/running.html.erb
houston-core-0.8.0 app/views/actions/running.html.erb
houston-core-0.8.0.pre2 app/views/actions/running.html.erb
houston-core-0.8.0.pre app/views/actions/running.html.erb
houston-core-0.7.0 app/views/actions/running.html.erb