Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F886234
_client_details.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
Fri, Aug 8, 11:36 PM
Size
2 KB
Mime Type
text/html
Expires
Sun, Aug 10, 11:36 PM (1 d, 12 h)
Engine
blob
Format
Raw Data
Handle
245548
Attached To
rARCHIVING archiving
_client_details.html.erb
View Options
<div class="col-xs-4">
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed ">
<tr>
<td>Name</td>
<td>
<%=
@client
.
name
%>
</td>
</tr>
<tr>
<td>Uname</td>
<td>
<%=
@client
.
uname
%>
</td>
</tr>
<tr>
<td>Active Jobs</td>
<td>
<%=
@client
.
running_jobs
%>
</td>
</tr>
<tr>
<td>Last Backup</td>
<td>
<%=
@client
.
last_job_date_formatted
%>
</td>
</tr>
<tr>
<td data-toggle="tooltip" title="Defines the length of time that the File records will be available">
File Retention <label class="glyphicon glyphicon-question-sign"></label>
</td>
<td>
<%=
@client
.
file_retention_days
%>
days</td>
</tr>
<tr>
<td data-toggle="tooltip" title="Defines the length of time that the Job records will be available">
Job Retention <label class="glyphicon glyphicon-question-sign"></label>
</td>
<td>
<%=
@client
.
job_retention_days
%>
days</td>
</tr>
<tr>
<td data-toggle="tooltip" title="The total disk size that this client's backups use">
Total Space Used <label class="glyphicon glyphicon-question-sign"></label>
</td>
<td>
<%=
number_to_human_size
@client
.
backup_jobs_size
%>
</td>
</tr>
<tr>
<td data-toggle="tooltip" title="The maximum disk size that this client's backups are allowed to use">
Client Quota <label class="glyphicon glyphicon-question-sign"></label>
</td>
<td>
<%=
number_to_human_size
@client
.
quota
%>
</td>
</tr>
<tr>
<td>Space Used %</td>
<td>
<%
if
@client
.
quota
.
to_f
>
0
%>
<%=
pretty_percentage
(
@client
.
backup_jobs_size
.
to_f
/
@client
.
quota
,
@client
.
quota
)
%>
<%
end
%>
</td>
</tr>
<tr>
<td>Files count</td>
<td>
<%=
number_by_magnitude
(
@client
.
files_count
)
%>
</td>
</tr>
</table>
</div>
</div>
Event Timeline
Log In to Comment