1 % title 'crash report'; |
|
2 % layout 'main'; |
|
3 |
|
4 %= t div => (class => 'panel panel-default') => begin |
|
5 %= t div => (class => 'panel-heading') => begin |
|
6 %= t h3 => (class => 'panel-title') => "Crash for $processed_data->{client_info}->{ProductName} $processed_data->{client_info}->{Version}" |
|
7 % end |
|
8 %= t div => (class => 'panel-body') => begin |
|
9 %= "Crash Time: " . human_date_from_epoch($processed_data->{client_info}->{CrashTime}); |
|
10 <br/> |
|
11 % if(defined($crash_group)) { |
|
12 %= link_to "In crash group \"" . $crash_group->{title} . "\"" => url_for('group', uuid => $crash_group->{uuid}) |
|
13 % } |
|
14 % end |
|
15 % end |
|
16 |
|
17 %= t div => (class => 'tabbable') => begin |
|
18 %= t ul => (class => 'nav nav-tabs', id => 'report-tabs') => begin |
|
19 %= t li => (class => 'active') => begin |
|
20 %= t a => (href => '#backtrace', 'data-toggle' => 'tab') => 'Backtrace' |
|
21 % end |
|
22 %= t li => begin |
|
23 %= t a => (href => '#details', 'data-toggle' => 'tab') => 'Details' |
|
24 % end |
|
25 %= t li => begin |
|
26 %= t a => (href => '#modules', 'data-toggle' => 'tab') => 'Modules' |
|
27 % end |
|
28 % end |
|
29 |
|
30 %= t div => (class => 'tab-content') => begin |
|
31 %= t div => (class => 'tab-pane active', id => 'backtrace') => begin |
|
32 %= include('report/backtrace', crashing_thread => $crashing_thread, threads => $threads); |
|
33 % end |
|
34 %= t div => (class => 'tab-pane', id => 'details') => begin |
|
35 %= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin |
|
36 %= include('report/crash_info', crash_info => $processed_data->{crash_info}); |
|
37 %= include('report/client_info', client_info => $processed_data->{client_info}); |
|
38 %= include('report/system_info', system_info => $processed_data->{system_info}); |
|
39 % end |
|
40 % end |
|
41 %= t div => (class => 'tab-pane', id => 'modules') => begin |
|
42 %= include('report/modules', modules => $processed_data->{modules}); |
|
43 % end |
|
44 % end |
|
45 % end |
|