nodebb-plugin-pdf-secure 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/viewer.html +19 -10
package/package.json
CHANGED
package/static/viewer.html
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
|
|
8
8
|
<title>PDF Viewer</title>
|
|
9
9
|
|
|
10
|
-
<!-- PDF.js -->
|
|
11
|
-
<script
|
|
10
|
+
<!-- PDF.js (must load before viewer-app.js) -->
|
|
11
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf.min.js"></script>
|
|
12
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf_viewer.min.js"></script>
|
|
12
13
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf_viewer.min.css">
|
|
13
|
-
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/3.11.174/pdf_viewer.min.js"></script>
|
|
14
14
|
|
|
15
15
|
<!-- Viewer styles -->
|
|
16
16
|
<link rel="stylesheet" href="viewer.css">
|
|
@@ -302,23 +302,32 @@
|
|
|
302
302
|
<div class="toolbarBtnWithDropdown" id="overflowWrapper">
|
|
303
303
|
<button class="toolbarBtn" id="overflowBtn" title="Daha Fazla">
|
|
304
304
|
<svg viewBox="0 0 24 24">
|
|
305
|
-
<circle cx="12" cy="5" r="2"/>
|
|
306
|
-
<circle cx="12" cy="12" r="2"/>
|
|
307
|
-
<circle cx="12" cy="19" r="2"/>
|
|
305
|
+
<circle cx="12" cy="5" r="2" />
|
|
306
|
+
<circle cx="12" cy="12" r="2" />
|
|
307
|
+
<circle cx="12" cy="19" r="2" />
|
|
308
308
|
</svg>
|
|
309
309
|
</button>
|
|
310
310
|
<div class="toolDropdown" id="overflowDropdown">
|
|
311
311
|
<button class="overflowItem" id="overflowRotateLeft">
|
|
312
|
-
<svg viewBox="0 0 24 24"
|
|
312
|
+
<svg viewBox="0 0 24 24">
|
|
313
|
+
<path
|
|
314
|
+
d="M7.11 8.53L5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1.01-2.47zm1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9c-.87-.15-1.71-.49-2.46-1.03L7.1 18.32zM13 4.07V1L8.45 5.55 13 10V6.09c2.84.48 5 2.94 5 5.91s-2.16 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93s-3.05-7.44-7-7.93z" />
|
|
315
|
+
</svg>
|
|
313
316
|
<span>Sola Döndür</span>
|
|
314
317
|
</button>
|
|
315
318
|
<button class="overflowItem" id="overflowRotateRight">
|
|
316
|
-
<svg viewBox="0 0 24 24"
|
|
319
|
+
<svg viewBox="0 0 24 24">
|
|
320
|
+
<path
|
|
321
|
+
d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z" />
|
|
322
|
+
</svg>
|
|
317
323
|
<span>Sağa Döndür</span>
|
|
318
324
|
</button>
|
|
319
325
|
<div class="overflowDivider"></div>
|
|
320
326
|
<button class="overflowItem" id="overflowSepia">
|
|
321
|
-
<svg viewBox="0 0 24 24"
|
|
327
|
+
<svg viewBox="0 0 24 24">
|
|
328
|
+
<path
|
|
329
|
+
d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z" />
|
|
330
|
+
</svg>
|
|
322
331
|
<span>Okuma Modu</span>
|
|
323
332
|
</button>
|
|
324
333
|
</div>
|
|
@@ -370,4 +379,4 @@
|
|
|
370
379
|
<script defer src="viewer-app.js"></script>
|
|
371
380
|
</body>
|
|
372
381
|
|
|
373
|
-
</html>
|
|
382
|
+
</html>
|