% if !jobs.empty? %>
<% end %>
<% if !jobs.empty? %>
ID |
Dispatcher |
Target |
Starts at |
Created by |
Created at |
<% jobs.each do |job| %>
<%=job.id%> |
<%=job.dispatcher%> |
<%=job.url%> |
<%=job.datetime%> |
<%=job.owner_host%> (<%=job.owner_addr%>) |
<%=job.created_at%> |
|
<% stored_opts = YAML::load( job.opts ); opts = stored_opts['settings'] %>
<%=partial :options, :job => job, :opts => opts %>
<% stored_opts['modules'].each do |name| %>
- <%=name%>
<%end%>
<% stored_opts['plugins'].each do |plugin| %>
- <%=plugin[0]%>
<%end%>
<% end %>
<% else %>
There are no scheduled scans at the moment.
<% end %>