From 52a79d05e74bf10b22115ca6c805206b76f7be26 Mon Sep 17 00:00:00 2001 From: Kittenoncatnip Date: Wed, 16 Jan 2019 10:42:27 +0000 Subject: [PATCH 1/2] Update read.html --- templates/read.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/templates/read.html b/templates/read.html index 504083d..2c2dfc9 100644 --- a/templates/read.html +++ b/templates/read.html @@ -41,16 +41,9 @@ function resizeIframe() { var contentHeight = $("#bookContent").contents().find("html").height(); var menuHeight = $("#bookMenu").height(); - if (contentHeight < menuHeight) { - $("#bookContent").height(menuHeight); - } else { - $("#bookContent").height(contentHeight); - } } - - + + + + + {{template "footer.html"}} From fb604ca929f1134b637da8b7eb1d17f9bb4f381e Mon Sep 17 00:00:00 2001 From: Kittenoncatnip Date: Wed, 16 Jan 2019 23:34:13 +0000 Subject: [PATCH 2/2] Update read.html --- templates/read.html | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/templates/read.html b/templates/read.html index 2c2dfc9..0175f3a 100644 --- a/templates/read.html +++ b/templates/read.html @@ -1,24 +1,6 @@ {{template "header.html" .S}} - +
@@ -40,9 +22,30 @@ + +
    +{{if .Prev}} + +{{end}} +{{if .Book.Active}} +
  • + Back +
  • +{{else}} + waiting for moderation +{{end}} +{{if .Next}} + +{{end}} +
+