Sha256: 51c242f50771a712914fb1de070f9fafe3b8469a1fbd4373f7f37b2966d72bd5

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

<%#
  # WebROaR - Ruby Application Server - http://webroar.in/
  # Copyright (C) 2009  Goonj LLC
  #
  # This file is part of WebROaR.
  #
  # WebROaR is free software: you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation, either version 3 of the License, or
  # (at your option) any later version.
  #
  # WebROaR is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with WebROaR.  If not, see <http://www.gnu.org/licenses/>.
  #%>

<%= render :partial => 'query_date', :locals => {:graph_id => 3, :update_div => 'throughput_graph', :submit_action => 'throughput_graph'} %>
<% if flash[:notice] %>
  <%= flash[:notice] %>
<% else%>
<%app_id = @app_id || 0 %>
<%=render :partial => 'javascript_partial', :locals => {:count => 'first', :start_hour => @start_hour, :end_hour => @end_hour,:app_id => app_id, :type => "avg_res_time_graph"}%>
<%=render :partial => 'javascript_partial', :locals => {:count => 'second', :start_hour => @start_hour, :end_hour => @end_hour, :app_id => app_id, :type => "app_throughput_graph"}%>
<%# this section is for Ploting average response time Graph for an application%>
<div id = 'avg_res_time_graph' >
	<%=raw(@avg_res_time_graph)%>
</div>
<br/><br/><br>
<%=render :partial => 'slider_partial', :locals => {:count => 'first'}%>
<hr>	
<br/>
<%# this section is for Ploting throughput Graph for an application%>
<div id='app_throughput_graph' >
	<%=raw(@app_throughput_graph)%>
</div>
<br/><br/><br>
<%=render :partial => 'slider_partial', :locals => {:count => 'second'}%>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webroar-0.7.0 src/admin_panel/app/views/graph/_get_throughput_data.html.erb