diff --git a/templates/index.html.ep b/templates/index.html.ep index 77a91dd..d68ba0b 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -38,48 +38,48 @@ - - - % for my $delay (qw/0 1 7 30 365/) { - % my $text = ($delay == 7 || $delay == 30) ? l('delay_days', $delay) : l("delay_$delay"); - % if (config('max_delay')) { - % if ($delay) { - % if ($delay < config('max_delay')) { - ><%= $text %> - % } elsif ($delay == config('max_delay')) { - ><%= $text %> - % last; - % } else { - % my $text = ($delay == 1) ? l('delay_1') : l('delay_days', $delay); - ><%=l('delay_days', config('max_delay')) %> - % last; - % } - % } - % } else { - ><%= $text %> - % } - % } - - - - <%=l 'delete-first' %> - - > - <%=l 'crypt_image' %> - + + + % for my $delay (qw/0 1 7 30 365/) { + % my $text = ($delay == 7 || $delay == 30) ? l('delay_days', $delay) : l("delay_$delay"); + % if (config('max_delay')) { + % if ($delay) { + % if ($delay < config('max_delay')) { + ><%= $text %> + % } elsif ($delay == config('max_delay')) { + ><%= $text %> + % last; + % } else { + % my $text = ($delay == 1) ? l('delay_1') : l('delay_days', $delay); + ><%=l('delay_days', config('max_delay')) %> + % last; + % } + % } + % } else { + ><%= $text %> + % } + % } + + + + <%=l 'delete-first' %> + + > + <%=l 'crypt_image' %> + + + + + <%=l 'upload_image' %> + + + + <%=l 'upload_image_url' %> + - - - <%=l 'upload_image' %> - - - - <%=l 'upload_image_url' %> - <%=l 'image-only' %> - - <%= submit_button l('go'), class => 'btn btn-default btn-primary', id => 'submitbutton' %> - + <%= submit_button l('go'), class => 'btn btn-default btn-primary', id => 'submitbutton' %> + @@ -128,8 +128,8 @@ <%=l 'image-only' %> - <%=l 'upload_image_url' %> - + <%=l 'upload_image_url' %> +
<%=l 'image-only' %>