| author | Vincent Tondellier <tonton+hg@team1664.org> |
| Sat, 02 Aug 2014 23:46:30 +0200 | |
| changeset 24 | b69b7aa98a1d |
| parent 0 | 5b78b8c79d9c |
| child 29 | 006e82a1bcd0 |
| permissions | -rw-r--r-- |
| 0 | 1 |
% title 'Latest crashs'; |
2 |
% layout 'main'; |
|
3 |
%= t table => (class => 'table table-striped table-bordered table-condensed') => begin |
|
4 |
<thead> |
|
5 |
<tr> |
|
|
24
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
6 |
<th>Product</th> |
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
7 |
<th>Version</th> |
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
8 |
<th>UserID</th> |
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
9 |
<th>UUID</th> |
| 0 | 10 |
<th>Date</th> |
11 |
</tr> |
|
12 |
</thead> |
|
|
24
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
13 |
% foreach my $crash(@$files) {
|
| 0 | 14 |
<tr> |
|
24
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
15 |
%= t td => $crash->{product}
|
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
16 |
%= t td => $crash->{version}
|
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
17 |
%= t td => $crash->{user}
|
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
18 |
%= t td => (style => "font-family:monospace;") => begin |
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
19 |
%= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid})
|
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
20 |
% end |
|
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
21 |
%= t td => $crash->{date}->strftime("%F %T")
|
| 0 | 22 |
</tr> |
23 |
% } |
|
24 |
% end |