Sha256: dde5d7a7ff9203e89ec95b07a069b3d29bec583389443632b37032f38402e5f0

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

%h3 StackProf Navigator - #{@action} (#{@frames.count} frames)
%hr

%p
  %a{:href => url_for("/overview")} ← Back to overview

- @frames.each do |frame|
  %a{:href => url_for("/file", path: frame[:location])}
    %button.btn
      Browse
      = frame[:location]

  - if frame[:callers].any?
    %table
      %thead
        %th Callers
        %th
        %th
        %th
      %tbody
        - frame[:callers].each do |caller|
          %tr
            %td
            %td= caller[:weight]
            %td= caller[:pct]
            %td
              %a{:href => url_for("/method", name: caller[:method])}
                &= caller[:method]

  - if frame[:callees].any?
    %table
      %thead
        %th Callees
        %th
        %th
        %th
      %tbody
        - frame[:callees].each do |caller|
          %tr
            %td
            %td= caller[:weight]
            %td= caller[:pct]
            %td
              %a{:href => url_for("/method", name: caller[:method])}
                &= caller[:method]

  %h4 Code
  != frame[:source]
  %hr

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stackprof-webnav-1.0.4 lib/stackprof-webnav/views/method.haml
stackprof-webnav-1.0.3 lib/stackprof-webnav/views/method.haml
stackprof-webnav-1.0.2 lib/stackprof-webnav/views/method.haml
stackprof-webnav-1.0.1 lib/stackprof-webnav/views/method.haml