--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/CrashTest/files/templates/report/crash.html.ep Sat Feb 20 18:52:45 2016 +0100
@@ -0,0 +1,45 @@
+% title 'crash report';
+% layout 'main';
+
+%= t div => (class => 'panel panel-default') => begin
+ %= t div => (class => 'panel-heading') => begin
+ %= t h3 => (class => 'panel-title') => "Crash for $processed_data->{client_info}->{ProductName} $processed_data->{client_info}->{Version}"
+ % end
+ %= t div => (class => 'panel-body') => begin
+ %= "Crash Time: " . human_date_from_epoch($processed_data->{client_info}->{CrashTime});
+ <br/>
+ % if(defined($crash_group)) {
+ %= link_to "In crash group \"" . $crash_group->{title} . "\"" => url_for('group', uuid => $crash_group->{uuid})
+ % }
+ % end
+% end
+
+%= 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