|
|
@ -21,6 +21,14 @@ |
|
|
|
<%= file_field 'file', required => 1 %> |
|
|
|
<%= file_field 'file', required => 1 %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% end %> |
|
|
|
<% end %> |
|
|
|
|
|
|
|
<br/> |
|
|
|
|
|
|
|
% my $size = sprintf "%.1f", config->{imgbin}->{maxsize} / 1024 ** 2; |
|
|
|
|
|
|
|
<span style="color: lightgray;"> |
|
|
|
|
|
|
|
<table> |
|
|
|
|
|
|
|
<tr><td><%= l('Max') %> <%= l('resolution') %></td><td> : </td><%= tag td => config->{imgbin}->{maxres} %></tr> |
|
|
|
|
|
|
|
<tr><td><%= l('Max') %> <%= l('size (MB)') %></td><td> : </td><%= tag td => $size %></tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
% if (my $error = flash 'error') { |
|
|
|
% if (my $error = flash 'error') { |
|
|
|
<div> |
|
|
|
<div> |
|
|
|