Skip to content

Stylesheet for displaying a HTML table list of files

Notifications You must be signed in to change notification settings

mejszin/dir-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dir-css

Screenshot of website table

Using the converter Ruby script

As this stylesheet is for use with file directories, the converter script requires the last cells on each row (excluding header) of the imported CSV file to be a file path. Use the mockaroo.csv example as a reference.

Run the convert.rb script through the command line:

ruby ./convert.rb <input csv path> <export html path> <optional title>

Example:

ruby ./convert.rb ./mockaroo.csv ./index.html "Repository"
ruby ./convert.rb ./example.csv ./index.html

About

Stylesheet for displaying a HTML table list of files

Topics

Resources

Stars

Watchers

Forks