templates/report/backtrace/frames.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Wed, 20 Aug 2014 00:07:32 +0200
changeset 46 278e9e00e3fd
parent 40 373c7f784bc2
child 78 0ebef32c34af
permissions -rw-r--r--
Add changelog

%= 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