% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab: % my %d = ( % delay_0 => l('no time limit'), % delay_1 => l('24 hours'), % delay_365 => l('1 year') % );
% if (defined(config('broadcast_message'))) {
<%= config('broadcast_message') %>
% } % if (stop_upload) {
<%= l('Sorry, the uploading is currently disabled. Please try again later.') %>
% } else {

% if (config('allow_pwd_on_files')) {
% }

<%= l('Drop files here') %>

<%= l('or') %>

<%= l('Uploaded files') %>

%= include 'delays' %= javascript begin $(document).ready(function(){ $('.modal-trigger').leanModal(); $('select').material_select(); }); var ws_url = '<%= url_for('upload')->to_abs() %>'; var baseURL = '<%= url_for('/')->to_abs() %>'; var i18n = { confirmExit: '<%= l('You have attempted to leave this page. The upload will be canceled. Are you sure?') %>', copyAll: '<%= l('Copy all links to clipboard') %>', copySuccess: '<%= l('The link(s) has been copied to your clipboard') %>', copyFail: '<%= l('Unable to copy the link(s) to your clipboard') %>', cpText: '<%= l('Copy to clipboard') %>', delText: '<%= l('Deletion link') %>', dlText: '<%= l('Download link') %>', download: '<%= l('Download') %>', encrypting: '<%= l('Encrypting part XX1 of XX2') %>', expiration: '<%= l('Expiration:') %>', hit: '<%= l('Hit Enter, then Ctrl+C to copy the download link') %>', hits: '<%= l('Hit Enter, then Ctrl+C to copy all the download links') %>', mailTo: '<%= l('Send all links by email') %>', noLimit: '<%= l('No expiration delay') %>', sending: '<%= l('Sending part XX1 of XX2. Please, be patient, the progress bar can take a while to move.') %>', wsProblem: '<%= l('Websocket communication error') %>', }; % end %= javascript '/js/sjcl.js' %= javascript '/js/moment-with-locales.min.js' %= javascript '/js/lufi-up.js' % }