diff --git a/html/index.erb b/html/index.erb index f127422f..54053203 100644 --- a/html/index.erb +++ b/html/index.erb @@ -37,7 +37,8 @@ data.map! do |row| [row[0], row[1][0], row[3..-2].join(" ")] - end + end + data.sort! colwidth = [0,0,0] diff --git a/html/style.css b/html/style.css index cb406ad7..23bca920 100644 --- a/html/style.css +++ b/html/style.css @@ -1,19 +1,24 @@ - -table { - border-spacing: 0px; +#content { + width: 800px; + margin-left: auto; + margin-right: auto; } -/* td:first-child, th:first-child { */ -/* padding-left: 5px; */ -/* padding-right: 5px; */ -/* } */ +table { + width: 800px; + border-spacing: 0px; + border-top: 1px solid #ccc; + /* border-bottom: 1px solid #ccc; */ +} td, th { - padding: 3px 7px 3px 7px; + padding: 2px 7px 2px 7px; } tr.header { background-color: #fad; + text-align: left; + font-size: 110%; } tr.odd { diff --git a/html/template.html b/html/template.html new file mode 100644 index 00000000..1ff5ad50 --- /dev/null +++ b/html/template.html @@ -0,0 +1,88 @@ +$if(html5)$ + + +$else$ + + +$endif$ +
+$if(html5)$ + +$else$ + +$endif$ + +$for(author)$ + +$endfor$ +$if(date)$ + +$endif$ +