Sha256: 2d5cceb3a39c0ad750897b289370161a2c8ec4c18829e8bc19661b77a83e07aa

Contents?: true

Size: 468 Bytes

Versions: 14

Compression:

Stored size: 468 Bytes

Contents

<% if params[:poll] %>
  <script>
    setInterval("window.location.reload(true)", 2000);
  </script>
<% end %>
<% unless current_path == '' %>
  <% if params[:poll] %>
    <a id="live-poll" class="btn btn-primary active" href="<%= root_path %><%= current_path %>"><%= t('StopPolling') %></a>
  <% else %>
    <a id="live-poll" class="btn btn-primary" href="<%= root_path %><%= current_path %>?<%= qparams(poll: true) %>"><%= t('LivePoll') %></a>
  <% end %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sidekiq-2.17.8 web/views/_poll.erb
sidekiq-3.0.2 web/views/_poll.erb
sidekiq-3.0.1 web/views/_poll.erb
sidekiq-3.0.0 web/views/_poll.erb
sidekiq-2.17.7 web/views/_poll.erb
sidekiq-2.17.6 web/views/_poll.erb
sidekiq-2.17.5 web/views/_poll.erb
sidekiq-2.17.4 web/views/_poll.erb
sidekiq-2.17.3 web/views/_poll.erb
sidekiq-2.17.2 web/views/_poll.erb
sidekiq-2.17.1 web/views/_poll.erb
sidekiq-2.17.0 web/views/_poll.erb
sidekiq-2.16.1 web/views/_poll.erb
sidekiq-2.16.0 web/views/_poll.erb