Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5131143
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, 4 h)
Engine
blob
Format
Raw Data
Handle
426197
Attached To
rWEBDNS WebDNS (edet4)
index.html.erb
View Options
<ul class="nav nav-tabs">
<%
@job_categories
.
each_with_index
do
|
pair
,
idx
|
%>
<%
title
,
jobs
=
pair
%>
<li role="presentation" class="
<%=
'active'
if
idx
.
zero?
%>
"><a data-toggle="tab" href="#
<%=
title
.
downcase
%>
">
<%=
title
%>
</a></li>
<%
end
%>
</ul>
<div class="tab-content">
<%
@job_categories
.
each_with_index
do
|
pair
,
idx
|
%>
<%
title
,
jobs
=
pair
%>
<div role="tabpanel" class="tab-pane
<%=
'active'
if
idx
.
zero?
%>
" id="
<%=
title
.
downcase
%>
">
<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>
</div>
<%
end
%>
</div>
Event Timeline
Log In to Comment