Sha256: 46bd576ac07ecdf599fc08889439499a7252d2a65de713c0e3b5904230a778b8

Contents?: true

Size: 1.04 KB

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
stackprof-webnav-1.0.0 lib/stackprof-webnav/views/method.haml