templates/report/crash.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Sun, 14 Feb 2016 20:24:11 +0100
changeset 97 f68abe1d7358
parent 78 0ebef32c34af
child 103 95f4e3c47dd4
permissions -rw-r--r--
Fix race condition in CrashGroup::find_or_create by using constraint and upsert (for pg > 9.5) or table lock

% 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/crash_info', crash_info => $processed_data->{crash_info});
      %= 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