Sha256: 08b1f2894cc024c735284485aab922957326c8bf90c0bce7e740de62ccf29c69
Contents?: true
Size: 1.2 KB
Versions: 3
Compression:
Stored size: 1.2 KB
Contents
<header class="row"> <div class="col-sm-5"> <h3><%= t('web_jobs') %></h3> </div> <% if @presented_jobs.size > 0 && @total_size > @count %> <div class="col-sm-4"> <%= erb :_paging, locals: { url: "#{root_path}run_jobs" } %> </div> <% end %> <%= filtering('run_jobs') %> </header> <% if @presented_jobs.size > 0 %> <div class="table_container"> <table class="table table-striped table-bordered"> <thead> <tr> <th><%= t('job_name') %></th> <th><%= t('job_description') %></th> <th><%= t('actions') %></th> </tr> </thead> <% @presented_jobs.each do |presented_job| %> <tr> <td> <%= presented_job.worker_name %> </td> <td> <%= presented_job.description %> </td> <td> <a href="<%= root_path %>run_jobs/<%=presented_job.escaped_name %>/new" class="btn btn-danger btn-xs" style="color: white;">Run Worker</a> </td> </tr> <% end %> </table> </div> <% else %> <div class="alert alert-success"><%= t('no_web_jobs', config_path: "#{SidekiqWebWorkers.config_path}") %></div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-web-workers-1.3.2 | web/views/web_jobs.erb |
sidekiq-web-workers-1.3.1 | web/views/web_jobs.erb |
sidekiq-web-workers-1.3.0 | web/views/web_jobs.erb |