Sha256: 72b393ee023ad93fa012e37bd4d80802a6f1e5e6952b566cd22993261a9eb0af
Contents?: true
Size: 1.27 KB
Versions: 11
Compression:
Stored size: 1.27 KB
Contents
<div class="my-3 flex"> <h2>Processes</h2> </div> <div data-live-poll-region="processes"> <% if !GoodJob::Process.migrated? %> <div class="card my-3"> <div class="card-body"> <p class="card-text"> <em>Feature unavailable because of pending database migration.</em> </p> </div> </div> <% elsif @processes.present? %> <div class="card my-3"> <div class="table-responsive"> <table class="table card-table table-bordered table-hover table-sm mb-0"> <thead> <tr> <th>Process UUID</th> <th>Created At</th></th> <th>State</th> </tr> </thead> <tbody> <% @processes.each do |process| %> <tr class="<%= dom_class(process) %>" id="<%= dom_id(process) %>"> <td><%= process.id %></td> <td><%= relative_time(process.created_at) %></td> <td><%= tag.pre JSON.pretty_generate(process.state) %></td> </tr> <% end %> </tbody> </table> </div> </div> <% else %> <div class="card my-3"> <div class="card-body"> <p class="card-text"> <em>No GoodJob processes found.</em> </p> </div> </div> <% end %> </div>
Version data entries
11 entries across 11 versions & 1 rubygems