| author | Vincent Tondellier <tonton+hg@team1664.org> |
| Mon, 26 Jan 2015 00:48:15 +0100 | |
| changeset 57 | cebbfcd7deff |
| parent 47 | b8a7a5ec6461 |
| child 67 | 9e95be0b1b8c |
| permissions | -rw-r--r-- |
| 0 | 1 |
% title 'Latest crashs'; |
2 |
% layout 'main'; |
|
|
36
703f1af889d1
Add highlight on mouse hover to tables
Vincent Tondellier <tonton+hg@team1664.org>
parents:
29
diff
changeset
|
3 |
%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin |
| 0 | 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) {
|
| 29 | 14 |
%= t tr => begin |
15 |
%= t td => $crash->{product}
|
|
16 |
%= t td => $crash->{version}
|
|
17 |
%= t td => $crash->{user}
|
|
18 |
%= t td => (style => "font-family:monospace;") => begin |
|
19 |
%= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid})
|
|
20 |
% end |
|
21 |
%= t td => $crash->{date}->strftime("%F %T")
|
|
|
24
b69b7aa98a1d
Add basic SQL Storage
Vincent Tondellier <tonton+hg@team1664.org>
parents:
0
diff
changeset
|
22 |
% end |
| 0 | 23 |
% } |
24 |
% end |
|
| 29 | 25 |
% if($pager->first_page != $pager->last_page) {
|
|
47
b8a7a5ec6461
Replace the modified pagination plugin with a cleaner one that supports bootstrap natively
Vincent Tondellier <tonton+hg@team1664.org>
parents:
36
diff
changeset
|
26 |
%= bootstrap_pagination($pager->current_page, $pager->last_page); |
| 29 | 27 |
% } |