about summary refs log tree commit diff stats
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2020-09-14 08:01:43 +0300
committerAndrew Dolgov <noreply@fakecake.org>2020-09-14 08:01:43 +0300
commit220dd45af04d7c5fda75610d792fc115fced5a36 (patch)
treee73dbf0a9d6a0344e4e349e3af2419c22653c06d /read.html
parenta50e03516bcdc5aceee1abddea7e750bfb90ea91 (diff)
downloadthe-epube-220dd45af04d7c5fda75610d792fc115fced5a36.tar.gz
the-epube-220dd45af04d7c5fda75610d792fc115fced5a36.tar.xz
show current chapter (section) progress in the UI
Diffstat (limited to 'read.html')
-rw-r--r--read.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/read.html b/read.html
index 263193a..3018132 100644
--- a/read.html
+++ b/read.html
@@ -243,10 +243,14 @@
 <div id="reader"></div>
 
 <div class="footer">
-	<div class="chapter" data-toggle="modal" data-target="#toc-modal"></div>
+	<div class="chapter_wrapper" data-toggle="modal" data-target="#toc-modal">
+		<span class="chapter"></span>
+		<span id="chapter_cur_page"></span> of <span id="chapter_total_pages"></span>
+		(<span id="chapter_pct"></span>)
+	</div>
 	<div class="spacer"> </div>
 	<div class="location">
-		<span id="cur_page">?</span> / <span id="total_pages">?</span>
+		<span id="cur_page">?</span> of <span id="total_pages">?</span>
 		(<span id="page_pct">?</span>)
 	</div>
 </div>