<%if flash[:notice]%>
Application Name: <%=@application_name%>
<%=flash[:notice]%>
<%else%>
<%if @application_name != SERVER_NAME%>
Select Graph: <%=select :graph,:name,%w{URL-Breakup URL-Calls Database-Usage Throughput Resource-Usage},:selected=>session[:graph_type]%>
Application Name : <%=@application_name%>
<%=render :partial => get_partial(session[:graph_type])%>
<%=observe_field 'graph_name',:update => 'graphs',:url => {:action => 'get_next_graph', :id => @app_id, :time_slot => ""}, :with => 'graph_name' %>
<%else%>
Application Name : <%=@application_name%>
<%=render :partial => 'resource_usage_graph_server'%>
<%end%>
<%end%>