diff --git a/app/pub/css/an.css b/app/pub/css/an.css index 1ce6b17..4d6bd1c 100644 --- a/app/pub/css/an.css +++ b/app/pub/css/an.css @@ -311,16 +311,26 @@ h1 { color: white; font-size: 1.4em; justify-content: center; + padding-left: 6px; } #stuff-bar a { color: white; } #zoomnav, #pagenav { - width: 45%; display: flex; justify-content: center; align-items: center; } + +#zoomnav{ + width: 40%; +} + +#pagenav { + width: 60%; +} + + #zoomnav div, #pagenav div { margin-right: 15px; } @@ -359,6 +369,11 @@ h1 { font-size: 1.2em; } +.click-info{ + font-size: .8em; + text-align: right; +} + .book_small{ position:relative; } @@ -616,7 +631,6 @@ embed[type="application/pdf"] { margin-right: 0px; } #zoomnav, #pagenav { - width: 100%; font-size: 1.3em; } .zoomstatus{ diff --git a/app/pub/scripts/klanviewer.js b/app/pub/scripts/klanviewer.js index 18ef548..acbda6c 100644 --- a/app/pub/scripts/klanviewer.js +++ b/app/pub/scripts/klanviewer.js @@ -7,7 +7,7 @@ function renderPage() { var el_title = document.getElementById('pdfprogress'); - //el_title.innerHTML = 'Идет подготовка страницы ...'; + el_title.innerHTML = 'Идет подготовка страницы ...'; pageRendering = true; // Using promise to fetch the page @@ -34,6 +34,8 @@ function renderPage() { canvas.height = viewport.height; canvas.width = viewport.width; + canvas.innerHTML = ''; + // Render PDF page into canvas context var renderContext = { canvasContext: context, @@ -50,7 +52,7 @@ function renderPage() { pageNumPending = null; } - // el_title.innerHTML = ''; + el_title.innerHTML = ''; }); }); diff --git a/app/routes/anpdf.php b/app/routes/anpdf.php index 2792a15..9df37a3 100644 --- a/app/routes/anpdf.php +++ b/app/routes/anpdf.php @@ -290,8 +290,8 @@ function read_kuri($hash, $page = 0, $promo = 'full', $version = null){ if ($page > 1) { - //$title = $price['pricename']." / $page стр."; - $title = $price['pricename']; + $title = $price['pricename']." / стр. $page - Аргументы Недели"; + //$title = $price['pricename']; $prevpage = $page - 1; $prevurl = "$baseurl$prevpage"; if ($promo == 'full'){ diff --git a/app/views/anpdf3.phtml b/app/views/anpdf3.phtml index f773d04..f22517f 100644 --- a/app/views/anpdf3.phtml +++ b/app/views/anpdf3.phtml @@ -13,8 +13,8 @@ -
Получайте «Газету на @email» @@ -92,8 +92,9 @@ / режим PDF / Режим для чтения - -
+ + +кликайте чтобы листать страницы
diff --git a/app/views/layout_lite.phtml b/app/views/layout_lite.phtml index e751abf..c614661 100644 --- a/app/views/layout_lite.phtml +++ b/app/views/layout_lite.phtml @@ -4,8 +4,8 @@ /base href="=SITE?>"> - - + +