-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ronin_vulns_views_and_worker
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<h1>Currently running jobs</h1> | ||
|
||
<% @workers.each do |worker| %> | ||
<div class="box"> | ||
<div> | ||
<div> | ||
<h2 class="my-0"><%= worker[:class] %></h2> | ||
<p class="mb-0"><strong>QUEUE:</strong> <%= worker[:queue] %></p> | ||
|
||
<p> | ||
<strong>ARGUMENTS:</strong> | ||
<% worker[:args].each do |arg| %> | ||
<% arg.each do |key, value| %> | ||
<strong><%= key %></strong>: <kbd><%= value %></kbd> | ||
<% end %> | ||
<% end %> | ||
</p> | ||
|
||
<hr> | ||
<div class="columns"> | ||
<div class="column is-one-third py-0"><strong>Created at:</strong> <%= worker[:created_at] %></div> | ||
<div class="column is-one-third py-0"><strong>Enqueued at:</strong> <%= worker[:enqueued_at] %></div> | ||
<div class="column is-one-third py-0"><strong>Run at:</strong> <%= worker[:run_at] %></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<% end %> |