From fc16e31bc487b551c5611edcb405aca735ce6f38 Mon Sep 17 00:00:00 2001 From: Andrey Kuvshinov Date: Thu, 30 Apr 2020 00:51:53 +0300 Subject: [PATCH] add zommstatus_up --- app/pub/css/an.css | 4 ++++ app/pub/scripts/anviewer.js | 3 ++- app/views/anpdf2.phtml | 7 +++---- app/views/layout.phtml | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/pub/css/an.css b/app/pub/css/an.css index 4519104..c924961 100644 --- a/app/pub/css/an.css +++ b/app/pub/css/an.css @@ -25,6 +25,10 @@ h1 { color: red; } +#the-canvas{ + width:100%; +} + #redi{ color: red; text-transform: lowercase; diff --git a/app/pub/scripts/anviewer.js b/app/pub/scripts/anviewer.js index e8ed2b5..4aaf10f 100644 --- a/app/pub/scripts/anviewer.js +++ b/app/pub/scripts/anviewer.js @@ -98,7 +98,8 @@ function newpdfzoom(czoom){ var status = czoom+"%"; document.getElementById(pdfcanvas).style.width = status; - document.getElementById('zoomstatus').innerHTML = status; + document.getElementById('zoomstatus_up').innerHTML = status; + //document.getElementById('zoomstatus_down').innerHTML = status; setzoom('pdfscale', czoom); diff --git a/app/views/anpdf2.phtml b/app/views/anpdf2.phtml index d69d4e6..fa5fa8c 100644 --- a/app/views/anpdf2.phtml +++ b/app/views/anpdf2.phtml @@ -24,7 +24,7 @@ -
100%
+
100%
@@ -34,7 +34,6 @@