Display more crashs in the Atom feed than on the webpage
There is a better way to sniff content type, but it's only available in newer mojolicious versions
% 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