diff --git a/html/index.html.erb b/html/index.html.erb index 7cce3d9f..689a562b 100644 --- a/html/index.html.erb +++ b/html/index.html.erb @@ -4,10 +4,12 @@ include ERB::Util archive_json = JSON.parse(File.open("../archive.json").read) recipe_json = JSON.parse(File.open("../recipes.json").read) + downloads_json = JSON.parse(File.open("../download_counts.json").read) packages = (archive_json.keys & recipe_json.keys).sort.map do |pkgname| package = OpenStruct.new package.name = pkgname + package.downloads = downloads_json[package.name] versions, deps, package.descr, package.pkgtype = archive_json[package.name] recipe = recipe_json[package.name] package.version = versions.join('.') @@ -52,6 +54,9 @@ background-color: #FCF8E3; color: #C09853; } + .table .text-right { + text-align: right !important; + } pre code { /* Match highlight.js styles to bootstrap */ padding: 0; background: transparent; @@ -123,6 +128,7 @@