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

% title 'crash report';
% layout 'main';

%= t div => (class => 'tabbable') => begin
  %= t ul => (class => 'nav nav-tabs', id => 'report-tabs') => begin
    %= t li => (class => 'active') => begin
      %= t a => (href => '#backtrace', 'data-toggle' => 'tab') => 'Backtrace'
    % end
    %= t li => begin
      %= t a => (href => '#details', 'data-toggle' => 'tab') => 'Details'
    % end
    %= t li => begin
      %= t a => (href => '#modules', 'data-toggle' => 'tab') => 'Modules'
    % end
  % end

  %= t div => (class => 'tab-content') => begin
    %= t div => (class => 'tab-pane active', id => 'backtrace') => begin
    %= include('report/backtrace', crashing_thread => $crashing_thread, threads => $threads);
    % end
    %= t div => (class => 'tab-pane', id => 'details') => begin
     %= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
      %= include('report/client_info', client_info => $processed_data->{client_info});
      %= include('report/system_info', system_info => $processed_data->{system_info});
     % end
    % end
    %= t div => (class => 'tab-pane', id => 'modules') => begin
      %= include('report/modules', modules => $processed_data->{modules});
    % end
  % end
% end