Sha256: e3a0c9f00e86397d09115671c0892facb488d303ccd6f09feace52386a141499
Contents?: true
Size: 929 Bytes
Versions: 5
Compression:
Stored size: 929 Bytes
Contents
<% @jobs.each do |group, jobs| %> <div class="header-container"> <h1><%= group %></h1> </div> <div class="table_container"> <table class="queues table table-hover table-bordered table-striped"> <thead> <th><%= t('Class') %></th> <th><%= t('Args') %></th> <th><%= t('Run') %></th> </thead> <tbody> <% jobs.each do |job| %> <tr> <td><%= job[:class] %></td> <td><%= job[:args].inspect %></td> <td style='width: 100px'> <form action="<%= root_path %>run_jobs/<%= job[:id] %>/run" method="post"> <%= csrf_tag %> <input class="btn btn-danger" type="submit" name="run" value="<%= t('Run') %>" data-confirm="Run the job <%= job[:klass] %>? <%= t('AreYouSure') %>" /> </form> </td> </tr> <% end %> </tbody> </table> </div> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems