templates/index.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Wed, 30 Jul 2014 23:49:59 +0200
changeset 23 e621317229f7
parent 0 5b78b8c79d9c
child 24 b69b7aa98a1d
permissions -rw-r--r--
Async submit. Requires AnyEvent::Gearman

% title 'Latest crashs';
% layout 'main';
%= t table => (class => 'table table-striped table-bordered table-condensed') => begin
<thead>
  <tr>
    <th>Signature</th>
    <th>Date</th>
  </tr>
</thead>
% foreach my $file(@$files) {
<tr>
  <td><%= link_to $file->{uuid} => url_for('report', uuid => $file->{uuid}) =%></td>
  %= t td => POSIX::strftime("%F %T", localtime($file->{date}))
</tr>
% }
% end