From eae14bb93f0b34ef2b1c3a63ee7bf56dc29d0d55 Mon Sep 17 00:00:00 2001 From: BoHung Chiu Date: Fri, 21 Jul 2023 10:11:40 +0800 Subject: [PATCH] Add rwd preview pdf feature. --- app/views/publications/_viewer.html.erb | 1139 +++++++++++++++++++++-- 1 file changed, 1061 insertions(+), 78 deletions(-) diff --git a/app/views/publications/_viewer.html.erb b/app/views/publications/_viewer.html.erb index b76646d..f4f31d3 100644 --- a/app/views/publications/_viewer.html.erb +++ b/app/views/publications/_viewer.html.erb @@ -1,92 +1,1005 @@ -
-
+ +
+
+
+
+
+
+ + +
+
+
+
+
+ +
+
+ -
    - - -
<%= stylesheet_link_tag "publications/pdf-turn.css" %> <%= javascript_include_tag "publications/pdf/pdf.worker.js" %> <%= javascript_include_tag "publications/pdf/pdf.js" %> <%= javascript_include_tag "publications/turn.min.js" %> <%= javascript_include_tag "publications/pdf-turn.js" %> - \ No newline at end of file