templates/index.html.ep
changeset 0 5b78b8c79d9c
child 24 b69b7aa98a1d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/index.html.ep	Tue May 01 23:34:48 2012 +0200
@@ -0,0 +1,16 @@
+% 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