summaryrefslogtreecommitdiff
path: root/third-party/pdfjs/web/viewer.html
diff options
context:
space:
mode:
Diffstat (limited to 'third-party/pdfjs/web/viewer.html')
-rw-r--r--third-party/pdfjs/web/viewer.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/third-party/pdfjs/web/viewer.html b/third-party/pdfjs/web/viewer.html
index db8517b1a..123a47d2c 100644
--- a/third-party/pdfjs/web/viewer.html
+++ b/third-party/pdfjs/web/viewer.html
@@ -1,7 +1,6 @@
<!DOCTYPE html>
<!--
Copyright 2012 Mozilla Foundation
-Modifications made for Epiphany by Jan-Michael Brummer <jan.brummer@tabos.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -22,7 +21,7 @@ Adobe CMap resources are covered by their own copyright but the same license:
See https://github.com/adobe-type-tools/cmap-resources
-->
<html dir="ltr" mozdisallowselectionprint>
- <head pdf_data="%s" pdf_name="%s">
+ <head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="google" content="notranslate">
@@ -30,7 +29,6 @@ See https://github.com/adobe-type-tools/cmap-resources
<title>PDF.js viewer</title>
- <base href="ephy-resource:///org/gnome/epiphany/pdfjs/web/">
<link rel="stylesheet" href="viewer.css">
@@ -39,7 +37,7 @@ See https://github.com/adobe-type-tools/cmap-resources
<script src="../build/pdf.js"></script>
- <script src="viewer.js"></script>
+ <script src="viewer.js"></script>
</head>
@@ -58,6 +56,9 @@ See https://github.com/adobe-type-tools/cmap-resources
<button id="viewAttachments" class="toolbarButton" title="Show Attachments" tabindex="4" data-l10n-id="attachments">
<span data-l10n-id="attachments_label">Attachments</span>
</button>
+ <button id="viewLayers" class="toolbarButton" title="Show Layers (double-click to reset all layers to the default state)" tabindex="5" data-l10n-id="layers">
+ <span data-l10n-id="layers_label">Layers</span>
+ </button>
</div>
</div>
<div id="sidebarContent">
@@ -67,6 +68,8 @@ See https://github.com/adobe-type-tools/cmap-resources
</div>
<div id="attachmentsView" class="hidden">
</div>
+ <div id="layersView" class="hidden">
+ </div>
</div>
<div id="sidebarResizer" class="hidden"></div>
</div> <!-- sidebarContainer -->