aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html
diff options
context:
space:
mode:
authorThomas Felber <felber@student.tugraz.at>2015-07-12 11:17:20 -1000
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2015-07-13 09:50:07 +0200
commitcb363884c6fe3cffb3d4ea1b06675c4caeec5d98 (patch)
tree59a21dcca5f4c495e72bded2c061be47d7ce0036 /pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html
parent3042a3f75fdcf09852799b50b554c71b6c9e393b (diff)
downloadpdf-as-4-cb363884c6fe3cffb3d4ea1b06675c4caeec5d98.tar.gz
pdf-as-4-cb363884c6fe3cffb3d4ea1b06675c4caeec5d98.tar.bz2
pdf-as-4-cb363884c6fe3cffb3d4ea1b06675c4caeec5d98.zip
introduced statusobject to app.js, file get reqeust parameter now gets handled within app.js and not in viewer.js anymore. fixed a bug where a placed signature would dissappear if the user scrolls too far away. updated some stylesheets. parent and child frame dont talk via postmessage anymore, instead functionality of the DOM is used. added porject report / documentation
Diffstat (limited to 'pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html')
-rw-r--r--pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html42
1 files changed, 39 insertions, 3 deletions
diff --git a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html
index 20200881..6d49482d 100644
--- a/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html
+++ b/pdf-as-web/src/main/webapp/assets/js/pdf.js/web/viewer.html
@@ -40,7 +40,43 @@ http://sourceforge.net/adobe/cmap/wiki/License/
<script src="debugger.js"></script>
<script src="viewer.js"></script>
<script src="app.js"></script>
-
+ <style>
+ .black_overlay{
+ display: block;
+ position: fixed;
+ top: 0%;
+ left: 0%;
+ width: 100%;
+ height: 100%;
+ background-color: black;
+ z-index:1001;
+ -moz-opacity: 0.8;
+ opacity:.80;
+ filter: alpha(opacity=80);
+ }
+
+ .white_content {
+ display: block;
+ position: fixed;
+ top: 25%;
+ left: 32%;
+ width: 36%;
+ height: 30%;
+ padding: 16px;
+ border: 4px solid orange;
+ background-color: white;
+ z-index:1002;
+ overflow: auto;
+ }
+
+ .white_content div {
+ z-index: -1;
+ }
+
+ .white_content a {
+ z-index: 3000;
+ }
+ </style>
</head>
<body tabindex="1" class="loadingInProgress">
@@ -92,7 +128,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
<div id="secondaryToolbar" class="secondaryToolbar hidden doorHangerRight">
<div id="secondaryToolbarButtonContainer">
- <button id="secondaryPresentationMode" class="secondaryToolbarButton presentationMode visibleLargeView" title="Switch to Presentation Mode" tabindex="51" data-l10n-id="presentation_mode">
+ <button id="secondaryPresentationMode" style="display: none;" class="secondaryToolbarButton presentationMode visibleLargeView" title="Switch to Presentation Mode" tabindex="51" data-l10n-id="presentation_mode">
<span data-l10n-id="presentation_mode_label">Presentation Mode</span>
</button>
@@ -179,7 +215,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
<span id="numPages" class="toolbarLabel"></span>
</div>
<div id="toolbarViewerRight">
- <button id="presentationMode" class="toolbarButton presentationMode hiddenLargeView" title="Switch to Presentation Mode" tabindex="29" data-l10n-id="presentation_mode">
+ <button id="presentationMode" style="display:none;" class="toolbarButton presentationMode hiddenLargeView" title="Switch to Presentation Mode" tabindex="29" data-l10n-id="presentation_mode">
<span data-l10n-id="presentation_mode_label">Presentation Mode</span>
</button>