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

<% (files @current_dir).each do |t| %> <% if t["auth"][0]=='d'%> <% else %> <% end %> <% end %>
Name auth Size Date
<%= @current_dir %>
')"> <%=t["name"]%> "><%=t['name']%> <%=t["auth"]%> <%=t["size"]%> <%=t["date"]%> ')" href="#">

Disk usage

Chart

Name

Usage

<% (get_du(@current_dir)).each_with_index do |t, index| %> <% end %>

"> <%= t['file_name'] %>

<%= format("%.2f", t['usage']*100) %>%

App Usage across versions

0.1.5.2
60% Complete
123k
0.1.5.3
60% Complete
53k
0.1.5.4
60% Complete
23k
0.1.5.5
60% Complete
3k
0.1.5.6
60% Complete
1k