templates/report/backtrace/frames.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Mon, 15 Feb 2016 00:04:51 +0100
changeset 105 d7258a3a926c
parent 78 0ebef32c34af
permissions -rw-r--r--
Invert list and stats to avoid bug with pagination

%= 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
      %= module_warnings($frame)
      %= $frame->module_name
    % end
    %= t td => (class => 'col-md-5') => begin
      %= frame_warnings($frame)
      %= $frame->function_name
    % end
    %= t td => (class => 'col-md-4') => begin
      %= $frame->file_link
    % end
  % end
  % });
% end