123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <!DOCTYPE html>
- <html dir="ltr" mozdisallowselectionprint>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <title>PDF.js viewer</title>
- <link rel="stylesheet" href="viewer-geckoview.css">
- <link rel="resource" type="application/l10n" href="locale/locale.properties">
- <script defer src="../node_modules/es-module-shims/dist/es-module-shims.js"></script>
- <script type="importmap-shim">
- {
- "imports": {
- "pdfjs/": "../src/",
- "pdfjs-lib": "../src/pdf.js",
- "pdfjs-web/": "./",
- "pdfjs-fitCurve": "../build/dev-fitCurve/fit_curve.js"
- }
- }
- </script>
- <script src="viewer-geckoview.js" type="module-shim"></script>
- </head>
- <body tabindex="1">
- <div id="outerContainer">
- <div id="mainContainer">
- <div id="viewerContainer" tabindex="0">
- <div id="viewer" class="pdfViewer"></div>
- </div>
- </div>
- <div id="dialogContainer">
- <dialog id="passwordDialog">
- <div class="row">
- <label for="password" id="passwordText" data-l10n-id="password_label">Enter the password to open this PDF file:</label>
- </div>
- <div class="row">
- <input type="password" id="password" class="toolbarField">
- </div>
- <div class="buttonRow">
- <button id="passwordCancel" class="dialogButton"><span data-l10n-id="password_cancel">Cancel</span></button>
- <button id="passwordSubmit" class="dialogButton"><span data-l10n-id="password_ok">OK</span></button>
- </div>
- </dialog>
- </div>
- </div>
- <div id="printContainer"></div>
- <input type="file" id="fileInput" class="hidden">
- </body>
- </html>
|