Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %div{ :class => 'container-fluid' }
- %div{ :class => 'row-fluid' }
- %div{ :class => 'span8' }
- %table{ :class => 'table table-striped table-bordered table-hover' }
- %th File name
- %th Size
- %th
- Estimated lines
- %a{ :class => 'popover', :href => '#', :data => { :content => "Counting lines in large files can be very slow. To speed this process up, number of lines is estimated by dividing the fize size by the average length of the first 10 lines." } } What's this?
- %th Actions
- - input_files.each do |file|
- %tr
- %td= file
- %td= readable_file_size(File.size(file))
- %td= estimated_lines(file)
- %td
- %button{ :class => 'btn btn-small btn-danger'} Delete
- %div{ :class => 'span4' }
Add Comment
Please, Sign In to add comment