From 014fbebb8116545791c617198396e43eceea71b3 Mon Sep 17 00:00:00 2001 From: David Ashby Date: Sat, 13 May 2017 21:36:32 -0400 Subject: [PATCH] add series handling --- index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 37385d6..a1739b8 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,9 @@ var publicSpreadsheetUrl = 'https://docs.google.com/spreadsheets/d/1w5Dc57wV0_rrKFsG7KM-qdPWEpqYk6lFu3JzAA0cSv0/pubhtml'; function init() { + $("#reloadLink").unbind('click'); + $("#reloadLink").on("click", function() { init(); }); + Tabletop.init({ key: publicSpreadsheetUrl, callback: showInfo, @@ -49,7 +52,7 @@ $('#current').html(rendered); } - window.addEventListener('DOMContentLoaded', init) + window.addEventListener('DOMContentLoaded', init); @@ -58,6 +61,7 @@

Library

spreadsheet github + reload
No Book Selected
@@ -93,12 +97,15 @@

{{author}}

{{isbn-13}}
{{publisher}}, {{year}}
+ {{#series}} + {{series}}, Volume {{volume}}
+ {{/series}} {{format}}

{{description}}

{{#notes}} Notes: -

{{.}}

+

{{notes}}

{{/notes}}
{{/book}}