Sha256: 3c113ff355f4fd29adc6b460633ee118558e7f92b4b99c6238f879a881b4724c
Contents?: true
Size: 988 Bytes
Versions: 1
Compression:
Stored size: 988 Bytes
Contents
- profile_name = @profile.options[:profile_name] - page_title(profile_name) %div#profile %h2#profile_name= profile_name - @profile.graphs.each do |graph| %div{:id => graph.id, :class => 'graph'} %img{:src => "/images/loader.gif"} :javascript window.addEvent('domready', function() { var graph = new visageGraph('#{graph.id}', '#{graph.host}', '#{graph.plugin}', { pluginInstance: '#{graph.instances.join(',')}', name: '#{graph.plugin} on #{graph.host}', start: '#{@start}', finish: '#{@finish}' }); }); - if @profile.graphs.size == 0 %div.graph %h4.error Oops! Looks like there aren't any graphs matching the specified patterns. %p These are the patterns: %pre :preserve Host: #{@profile.options[:hosts]} Metrics: #{@profile.options[:metrics]} %div#bottom_nav %a{:href => link_to("/profiles")} ← Back to profiles
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
visage-app-0.9.0.pre1 | lib/visage-app/views/profile.haml |