SHARE
TWEET

Untitled

a guest Jan 21st, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. %div{ :class => 'container-fluid' }
  2.   %div{ :class => 'row-fluid' }
  3.     %div{ :class => 'span8' }
  4.       %table{ :class => 'table table-striped table-bordered table-hover' }
  5.         %th File name
  6.         %th Size
  7.         %th
  8.           Estimated lines
  9.           %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?
  10.         %th Actions
  11.         - input_files.each do |file|
  12.           %tr
  13.             %td= file
  14.             %td= readable_file_size(File.size(file))
  15.             %td= estimated_lines(file)
  16.             %td
  17.               %button{ :class => 'btn btn-small btn-danger'} Delete
  18.     %div{ :class => 'span4' }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top