You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
568 B
24 lines
568 B
% layout 'default'; |
|
% title 'Filebin -- Latest'; |
|
<h1><%= l('Latest files') %></h1> |
|
<div> |
|
<div> |
|
<%= link_to l('Upload') => "/filebin", class => 'filebin upload' %> |
|
</div> |
|
<hr/> |
|
<table class="filebin files"> |
|
<tr> |
|
<th>T</th> |
|
<th><%= l('Filename') %></th> |
|
<th><%= l('Info') %></th> |
|
</tr> |
|
<tr> |
|
% my $files = stash('files') || []; |
|
% foreach my $file (@{ $files }) { |
|
<td><%= $file->{ftype} %></td> |
|
<td><%= link_to $file->{fname} => $file->{url} %></td> |
|
<td><%= $file->{info} %></td> |
|
</tr> |
|
% } |
|
</table> |
|
</div>
|
|
|