Current signed in
<%= current_user.current_sign_in_at.strftime("%a, %H:%M") %>
From <%= current_user.current_sign_in_ip %>
Last signed in
<%= current_user.last_sign_in_at.strftime("%a, %H:%M") %>
From <%= current_user.last_sign_in_ip %>
Members
<%= User.all.length %>
<%= User.where(:last_sign_in_at => Date.today..Date.tomorrow).length %> user signed Today
Total Nodes
<%= Node.all.length %>
<%= Node.where(:created_at => Date.today..Date.tomorrow).length %> Node added Today
Total volumes
<% v = volumes %>
<%= v.length %>
<%= v.count{|x| x['Status'].eql? " Started"} %> started /
<%= v.count{|x| x['Mount State'].eql? "mounted"} %> mounted
Total Connections
<%= User.sum("sign_in_count") %>
<%= User.where(:last_sign_in_at => Date.today..Date.tomorrow).sum("sign_in_count") %> connected today
File Manager
Name | auth | Size | Date | |
---|---|---|---|---|
<%= @current_dir %> | ||||
')"> <%=t["name"]%> | <% else %>"><%=t['name']%> | <% end %><%=t["auth"]%> | <%=t["size"]%> | <%=t["date"]%> ')" href="#"> |
Disk usage
Chart |
Name Usage |
||
---|---|---|---|
|