templates/index.html.ep
changeset 0 5b78b8c79d9c
child 24 b69b7aa98a1d
equal deleted inserted replaced
-1:000000000000 0:5b78b8c79d9c
       
     1 % title 'Latest crashs';
       
     2 % layout 'main';
       
     3 %= t table => (class => 'table table-striped table-bordered table-condensed') => begin
       
     4 <thead>
       
     5   <tr>
       
     6     <th>Signature</th>
       
     7     <th>Date</th>
       
     8   </tr>
       
     9 </thead>
       
    10 % foreach my $file(@$files) {
       
    11 <tr>
       
    12   <td><%= link_to $file->{uuid} => url_for('report', uuid => $file->{uuid}) =%></td>
       
    13   %= t td => POSIX::strftime("%F %T", localtime($file->{date}))
       
    14 </tr>
       
    15 % }
       
    16 % end