templates/index.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Sun, 03 Aug 2014 16:45:34 +0200
changeset 27 2b158020f0d5
parent 24 b69b7aa98a1d
child 29 006e82a1bcd0
permissions -rw-r--r--
Revert to the non-async gearman client. I'm unable to make the AnyEvent client work with plack-based servers. Use gearman background jobs instead

% title 'Latest crashs';
% layout 'main';
%= t table => (class => 'table table-striped table-bordered table-condensed') => begin
<thead>
  <tr>
    <th>Product</th>
    <th>Version</th>
    <th>UserID</th>
    <th>UUID</th>
    <th>Date</th>
  </tr>
</thead>
% foreach my $crash(@$files) {
<tr>
  %= t td => $crash->{product}
  %= t td => $crash->{version}
  %= t td => $crash->{user}
  %= t td => (style => "font-family:monospace;") => begin
    %= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid})
  % end
  %= t td => $crash->{date}->strftime("%F %T")
</tr>
% }
% end