Sha256: a1caf25eee8eb308cfd654dcd091d2244dbd0ab16da000f6195ce4d127e86638

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

<header class="row">
  <div class="span5">
    <h3>Recurring Job: <%= @worker.name %></h3>
  </div>
</header>

<% if (recurrences = @schedule.recurrence_rules).length > 0 %>
  <table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;">
    <thead>
      <th>Recurrences</th>
    </thead>
    <% recurrences.each do |rule| %>
      <tr>
        <td><%= rule.to_s %></td>
      </tr>
    <% end %>
  </table>
<% end %>

<br />

<% if (exceptions = @schedule.exception_rules).length > 0 %>
  <table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;">
    <thead>
      <th>Exceptions</th>
    </thead>
    <% exceptions.each do |rule| %>
      <tr>
        <td><%= rule.to_s %></td>
      </tr>
    <% end %>
  </table>
<% end %>

<br />

<table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;">
  <thead>
    <th style="width: 25%">Next 10 runs</th>
    <th style="width: 75%" />
  <% @schedule.next_occurrences(10, @time).each do |time| %>
    <tr>
      <td><time><%= time.getutc %></time></td>
      <td><%= relative_time(time) %></td>
    </tr>
  <% end %>
</table>

<br />

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidetiq-0.3.7 lib/sidetiq/views/sidetiq_details.erb