| author | Vincent Tondellier <tonton+hg@team1664.org> |
| Sat, 20 Feb 2016 18:36:00 +0100 | |
| changeset 107 | 6f411821b12b |
| parent 106 | 97bf7ebb6e44 |
| permissions | -rw-r--r-- |
| 0 | 1 |
% title 'crash report'; |
2 |
% layout 'main'; |
|
3 |
||
|
103
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
4 |
%= t div => (class => 'panel panel-default') => begin |
|
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
5 |
%= t div => (class => 'panel-heading') => begin |
|
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
6 |
%= t h3 => (class => 'panel-title') => "Crash for $processed_data->{client_info}->{ProductName} $processed_data->{client_info}->{Version}"
|
|
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
7 |
% end |
|
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
8 |
%= t div => (class => 'panel-body') => begin |
|
104
b75005d8b002
Display dates in human format
Vincent Tondellier <tonton+hg@team1664.org>
parents:
103
diff
changeset
|
9 |
%= "Crash Time: " . human_date_from_epoch($processed_data->{client_info}->{CrashTime});
|
|
b75005d8b002
Display dates in human format
Vincent Tondellier <tonton+hg@team1664.org>
parents:
103
diff
changeset
|
10 |
<br/> |
|
106
97bf7ebb6e44
Fix error when a crash is not in a group (invalid crashs mostly)
Vincent Tondellier <tonton+hg@team1664.org>
parents:
104
diff
changeset
|
11 |
% if(defined($crash_group)) {
|
|
97bf7ebb6e44
Fix error when a crash is not in a group (invalid crashs mostly)
Vincent Tondellier <tonton+hg@team1664.org>
parents:
104
diff
changeset
|
12 |
%= link_to "In crash group \"" . $crash_group->{title} . "\"" => url_for('group', uuid => $crash_group->{uuid})
|
|
97bf7ebb6e44
Fix error when a crash is not in a group (invalid crashs mostly)
Vincent Tondellier <tonton+hg@team1664.org>
parents:
104
diff
changeset
|
13 |
% } |
|
103
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
14 |
% end |
|
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
15 |
% end |
|
95f4e3c47dd4
Add product, version and group at the top of the crash report page
Vincent Tondellier <tonton+hg@team1664.org>
parents:
78
diff
changeset
|
16 |
|
| 0 | 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' |
|
|
2
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
21 |
% end |
| 0 | 22 |
%= t li => begin |
23 |
%= t a => (href => '#details', 'data-toggle' => 'tab') => 'Details' |
|
|
2
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
24 |
% end |
| 0 | 25 |
%= t li => begin |
26 |
%= t a => (href => '#modules', 'data-toggle' => 'tab') => 'Modules' |
|
|
2
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
27 |
% end |
|
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
28 |
% end |
| 0 | 29 |
|
30 |
%= t div => (class => 'tab-content') => begin |
|
31 |
%= t div => (class => 'tab-pane active', id => 'backtrace') => begin |
|
|
37
013953be0f3b
Add a new backtrace-processing filter stack
Vincent Tondellier <tonton+hg@team1664.org>
parents:
2
diff
changeset
|
32 |
%= include('report/backtrace', crashing_thread => $crashing_thread, threads => $threads);
|
|
2
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
33 |
% end |
| 0 | 34 |
%= t div => (class => 'tab-pane', id => 'details') => begin |
|
37
013953be0f3b
Add a new backtrace-processing filter stack
Vincent Tondellier <tonton+hg@team1664.org>
parents:
2
diff
changeset
|
35 |
%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin |
|
78
0ebef32c34af
Refactor everything
Vincent Tondellier <tonton+hg@team1664.org>
parents:
37
diff
changeset
|
36 |
%= include('report/crash_info', crash_info => $processed_data->{crash_info});
|
|
2
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
37 |
%= include('report/client_info', client_info => $processed_data->{client_info});
|
| 0 | 38 |
%= include('report/system_info', system_info => $processed_data->{system_info});
|
|
2
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
39 |
% end |
|
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
40 |
% end |
| 0 | 41 |
%= t div => (class => 'tab-pane', id => 'modules') => begin |
42 |
%= include('report/modules', modules => $processed_data->{modules});
|
|
|
2
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
43 |
% end |
|
873ceb7769a8
Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
44 |
% end |
| 0 | 45 |
% end |