Sha256: 27af46ab64a8f93ffa182ee57382cde24afa838fb6194cec27e1fda144e85c79

Contents?: true

Size: 897 Bytes

Versions: 10

Compression:

Stored size: 897 Bytes

Contents

<h1>Apple Push Notification Applications</h1>

<p class='intro'>
  The list below contains the APN application queues.
</p>

<p class='sub'>
  Showing <%= start = params[:start].to_i %> to <%= start + 20 %> of <b><%=size = resque.aps_applications_count %></b> applications.
</p>

<table>
  <tr>
    <th>Application</th>
    <th>Notification Count</th>
    <th></th>
  </tr>
  <% resque.aps_application_names(start, start+20).each do |application_name| %>
    <tr>
      <td><a href="<%= url "aps/#{application_name}" %>"><%= application_name %></a></td>
      <td><%= resque.aps_notification_count_for_application(application_name) %></td>
      <td>
        <form action="<%= url "/aps/#{application_name}" %>" method="post">
          <input type="submit" value="Queue worker">
        </form>
      </td>
    </tr>
  <% end %>
</table>

<%= partial :next_more, :start => start, :size => size %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
resque-aps-0.9.14 lib/resque/plugins/aps/server/views/aps_applications.erb
resque-aps-0.9.13 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.12 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.11 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.10 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.9 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.8 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.7 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.6 lib/resque_aps/server/views/aps_applications.erb
resque-aps-0.9.5 lib/resque_aps/server/views/aps_applications.erb