Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1426873
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
Sat, Jan 17, 12:42 PM
Size
1 KB
Mime Type
text/plain
Expires
Mon, Jan 19, 12:42 PM (1 d, 18 h)
Engine
blob
Format
Raw Data
Handle
326595
Attached To
rARCHIVING archiving
show.html.erb
View Options
<%=
render
partial
:
'header'
,
locals
:
{
actions
:
true
}
%>
<div class="row">
<div class="col-xs-12 col-sm-10 col-md-6 col-lg-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3>Client Details</h3>
</div>
<div class="panel-body">
<%=
render
partial
:
'client_details'
%>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-10 col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3>Bacula Jobs</h3>
</div>
<div class="panel-body">
<%
if
@client
.
host
%>
<%=
render
partial
:
'jobs'
%>
<%
end
%>
</div>
</div>
</div>
</div>
<div class="modal fade js-quota" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
<div class="modal-dialog">
<div class="modal-content">
<div class="panel panel-default">
<div class="panel-heading">Set Quota for "
<%=
@client
.
name
%>
"</div>
<div class="panel-body">
<%=
bootstrap_form_tag
(
url
:
set_quota_admin_host_path
(
@client
.
host
),
method
:
:put
,
layout
:
:inline
)
do
|
f
|
%>
<%=
f
.
number_field
:quota
,
value
:
@client
.
host
.
quota
/
ConfigurationSetting
::
MEGA_BYTES
%>
<%=
f
.
select
(
:unit
,
[
'MB'
,
'GB'
,
'TB'
]
)
%>
<%=
f
.
submit
'Update Quota'
,
class
:
"btn btn-success"
%>
<%
end
%>
</div>
</div>
</div>
</div>
</div>
Event Timeline
Log In to Comment