Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F887744
show.html.erb
No One
Temporary
Actions
View 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
Sun, Aug 10, 4:48 AM
Size
1 KB
Mime Type
text/plain
Expires
Tue, Aug 12, 4:48 AM (12 h, 11 m)
Engine
blob
Format
Raw Data
Handle
234717
Attached To
rARCHIVING archiving
show.html.erb
View Options
<%=
render
partial
:
'header'
%>
<div class="row right">
<%
if
@client
.
host
.
can_set_inactive?
%>
<%=
link_to
'Disable client'
,
disable_admin_client_path
(
@client
),
method
:
:post
,
data
:
{
confirm
:
'This will disable the client. Are you sure?'
},
class
:
"btn btn-warning"
,
role
:
"button"
%>
<%
end
%>
<%
if
@client
.
host
.
can_block?
%>
<%=
link_to
'Lock client'
,
block_admin_client_path
(
@client
),
method
:
:post
,
data
:
{
confirm
:
'This will disable and lock the client. Are you sure?'
},
class
:
"btn btn-warning"
,
role
:
"button"
%>
<%
end
%>
<%
if
@client
.
host
.
blocked?
%>
<%=
link_to
'Unlock client'
,
unblock_admin_client_path
(
@client
),
method
:
:post
,
data
:
{
confirm
:
'This will unlock the client. Are you sure?'
},
class
:
"btn btn-warning"
,
role
:
"button"
%>
<%
end
%>
<%=
link_to
'Remove client'
,
revoke_admin_client_path
(
@client
),
method
:
:delete
,
data
:
{
confirm
:
'This will REMOVE the client from Bacula. Are you sure?'
},
class
:
"btn btn-danger"
,
role
:
"button"
%>
</div>
<div class="row">
<div class="col-xs-4">
<h3>Client Details</h3>
</div>
<div class="col-xs-6">
<h3>Bacula Jobs</h3>
</div>
</div>
<div class="row">
<%=
render
partial
:
'client_details'
%>
<div class="col-xs-8">
<div class="row">
<%
if
@client
.
host
%>
<%=
render
partial
:
'jobs'
%>
<%
end
%>
</div>
</div>
</div>
Event Timeline
Log In to Comment