diff options
Diffstat (limited to 'cgi/whisky-shelf.cgi')
-rw-r--r-- | cgi/whisky-shelf.cgi | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/cgi/whisky-shelf.cgi b/cgi/whisky-shelf.cgi index 7645ba6..8933109 100644 --- a/cgi/whisky-shelf.cgi +++ b/cgi/whisky-shelf.cgi @@ -20,13 +20,11 @@ data = JSON.parse(File.read("../inc/shelf.json")) $page = $cgi.h2 { "What's on my shelf?" } + - $cgi.div { - $cgi.h3 { "Open" } + - shelf_contents(data, "open") + - $cgi.h3 { "Unopened" } + - shelf_contents(data, "new") + - $cgi.h3 { "Finished" } + - shelf_contents(data, "gone") - } + $cgi.h3 { "Open" } + + shelf_contents(data, "open") + + $cgi.h3 { "Unopened" } + + shelf_contents(data, "new") + + $cgi.h3 { "Finished" } + + shelf_contents(data, "gone") # vim: set filetype=ruby: |