templates/report/crash.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Thu, 24 Sep 2015 01:49:55 +0200
changeset 75 e3912669678c
parent 37 013953be0f3b
child 78 0ebef32c34af
permissions -rw-r--r--
Overhaul the repository link functionality - Fix regex (repositories with number or other characters were not accepted) - Url escape template arguments by default (the "do not escape" <%== $var %> markers can be used if needed) - Also support a generic repository type instead of only repotype:repopath in the configuration ($repotype:$repopath has priority over $repotype if both are defined) - Cache compiled templates
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     1
% title 'crash report';
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     2
% layout 'main';
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     3
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     4
%= t div => (class => 'tabbable') => begin
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     5
  %= t ul => (class => 'nav nav-tabs', id => 'report-tabs') => begin
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     6
    %= t li => (class => 'active') => begin
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     7
      %= t a => (href => '#backtrace', 'data-toggle' => 'tab') => 'Backtrace'
2
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
     8
    % end
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
     9
    %= t li => begin
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    10
      %= t a => (href => '#details', 'data-toggle' => 'tab') => 'Details'
2
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    11
    % end
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    12
    %= t li => begin
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    13
      %= t a => (href => '#modules', 'data-toggle' => 'tab') => 'Modules'
2
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    14
    % end
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    15
  % end
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    16
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    17
  %= t div => (class => 'tab-content') => begin
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    18
    %= 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
    19
    %= include('report/backtrace', crashing_thread => $crashing_thread, threads => $threads);
2
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    20
    % end
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    21
    %= 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
    22
     %= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
2
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    23
      %= include('report/client_info', client_info => $processed_data->{client_info});
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    24
      %= 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
    25
     % end
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    26
    % end
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    27
    %= t div => (class => 'tab-pane', id => 'modules') => begin
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    28
      %= include('report/modules', modules => $processed_data->{modules});
2
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    29
    % end
873ceb7769a8 Display client info
Vincent Tondellier <tonton+hg@team1664.org>
parents: 0
diff changeset
    30
  % end
0
5b78b8c79d9c Initial commit
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff changeset
    31
% end