Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5131172
index.html.erb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 17, 1:48 PM
Size
1 KB
Mime Type
text/html
Expires
Wed, Aug 19, 1:48 PM (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
432823
Attached To
rWEBDNS WebDNS (edet4)
index.html.erb
View Options
<%
@job_categories
.
each
do
|
title
,
jobs
|
%>
<h2>
<%=
title
%>
Jobs</h2>
<table class="table table-striped">
<thead>
<tr>
<th>Id</th>
<th>Created at</th>
<th>Domain</th>
<th>Type</th>
<th>Args</th>
<th>Retries</th>
<th>Controls</th>
</tr>
</thead>
<tbody>
<%
jobs
.
each
do
|
job
|
%>
<tr>
<td>
<%=
job
.
id
%>
</td>
<td>
<%=
job
.
created_at
%>
</td>
<%
if
job
.
domain
%>
<td>
<%=
link_to
job
.
domain
.
name
,
domain_path
(
job
.
domain
)
%>
</td>
<%
else
%>
<td>
<%=
job
.
arguments
[
'zone'
]
%>
</td>
<%
end
%>
<td>
<%=
job
.
job_type
%>
</td>
<%
if
job
.
args
.
size
>
70
%>
<td data-toggle="tooltip" data-placement="right" title="
<%=
job
.
args
%>
">
<%=
truncate
(
job
.
args
,
length
:
70
)
%>
</td>
<%
else
%>
<td>
<%=
job
.
args
%>
</td>
<%
end
%>
<td>
<%=
job
.
retries
%>
</td>
<td>
<%=
link_to_destroy
admin_job_path
(
job
),
method
:
:delete
,
data
:
{
confirm
:
'Are you sure?'
}
%>
</td>
</tr>
<%
end
%>
</tbody>
</table>
<%
end
%>
Event Timeline
Log In to Comment