templates/report/backtrace/frames.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Fri, 08 May 2015 20:46:42 +0200
changeset 64 f66d935647bc
parent 40 373c7f784bc2
child 78 0ebef32c34af
permissions -rw-r--r--
Prettyprint function names using prettify.js

%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
  %= t thead => begin
    %= t tr => begin
      %= t th => "Frame"
      %= t th => "Module"
      %= t th => (class => "signature-column") => "Signature"
      %= t th => "Source"
    %= end
  %= end
  % $thread->each_frame(sub { my $frame = shift;
  %= t tr => begin
    %= t td => (class => 'col-md-1') => begin
      %= $frame->frame_number
    %  end
    %= t td => (class => 'col-md-2') => begin
      %= $frame->module_name
    % end
    %= t td => (class => 'col-md-5') => begin
      %= $frame->function_name
    % end
    %= t td => (class => 'col-md-4') => begin
      %= $frame->file_link
    % end
  % end
  % });
% end