Project

General

Profile

« Previous | Next » 

Revision be39f2e6

Added by Ohad Levy over 14 years ago

  • ID be39f2e63b43d4d8de7760032b8624e97c9e1a5d

shorter time output in dashboard view

View differences:

app/views/dashboard/index.html.erb
<center>
<h2>Overview</h2>
<p>Generated at <%= Time.now %></p>
<p>Generated at <%= Time.now.to_s(:short) %></p>
<p>Good Host Reports in the last 30 minutes <%= "#{@good_hosts} / #{@total_hosts}" %> hosts (<%=@percentage%>%) </p>
<%= graph("pie_3d" ,{:title => "Overview", :data => [@out_of_sync_hosts, @bad_hosts, @good_hosts, @active_hosts],

Also available in: Unified diff