-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-strae.html
More file actions
225 lines (195 loc) · 8.78 KB
/
index-strae.html
File metadata and controls
225 lines (195 loc) · 8.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!--
@VIEWERJSLICENSE_START@
Copyright (C) 2012-2015 KO GmbH <copyright@kogmbh.com>
@licstart
This file is part of ViewerJS.
ViewerJS is free software: you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License (GNU AGPL)
as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
ViewerJS is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with ViewerJS. If not, see <http://www.gnu.org/licenses/>.
@licend
@source: http://viewerjs.org/
@source: http://github.com/kogmbh/ViewerJS
-->
<!--
This file is a derivative from a part of Mozilla's PDF.js project. The
original license header follows.
-->
<!--
Copyright 2012 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@VIEWERJSLICENSE_END@
-->
<!--
Created in 07/07/15 22.54
*
Copyright 2013 Daniele Pignedoli <daniele.pignedoli@gmail.com>
*
@author Daniele Pignedoli <daniele.pignedoli@gmail.com>
*
@license <a href="http://www.gnu.org/licenses/gpl.html" target="_new">
http://www.gnu.org/licenses/gpl.html</a><br /><br />
This program is free software; you can redistribute it and/or modify<br />
it under the terms of the GNU General Public License as published by<br />
the Free Software Foundation; either version 2 of the License, or<br />
(at your option) any later version<br />
<br />
This program is distributed in the hope that it will be useful,<br />
but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br />
GNU General Public License for more details:<br />
<b>http://www.gnu.org/licenses/gpl.html</b><br />
<br />
You should have received a copy of the GNU General Public License<br />
along with this program; if not, write to the Free Software<br />
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,<br />
MA 02110-1301, USA<br />
-->
<title>ViewerJS</title>
<!-- If you want to use custom CSS (@font-face rules, for example) you should uncomment
the following reference and use a local.css file for that. See the example.local.css
file for a sample.
<link rel="stylesheet" type="text/css" href="local.css" media="screen"/>
-->
<meta name="viewport"
content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"/>
<script type="text/javascript">
function loadPlugin(pluginName, callback) {
"use strict";
var script, style;
// Load script
script = document.createElement('script');
script.async = false;
script.onload = callback;
script.src = pluginName + '.js';
script.type = 'text/javascript';
document.head.appendChild(script);
}
function readTextFile(file) {
var rawFile = new XMLHttpRequest();
rawFile.overrideMimeType('text/plain');
rawFile.open("GET", file.file, true);
rawFile.onreadystatechange = function () {
if (rawFile.readyState === 4) {
file.loaded = true;
file.text = rawFile.responseText;
}
return null;
};
rawFile.send();
}
function waitForFile(files, callback) {
for (i in files) {
if (false === files[i].loaded) {
setTimeout(function () {
waitForFile(files, callback);
}, 2);
return;
}
}
callback();
}
var files = [
{'file': 'viewer-strae.css', 'loaded': false, 'varName': 'viewer_css'},
{'file': 'viewerTouch-strae.css', 'loaded': false, 'varName': 'viewerTouch_css'},
{'file': 'PDFViewerPlugin.css', 'loaded': false, 'varName': 'PDFViewerPlugin_css'},
{'file': 'ODFViewerPlugin.css', 'loaded': false, 'varName': 'ODFViewerPlugin_css'}
];
for (i in files) {
readTextFile(files[i]);
}
waitForFile(files, function () {
viewer_css = files[0].text;
viewerTouch_css = files[1].text;
PDFViewerPlugin_css = files[2].text;
ODFViewerPlugin_css = files[3].text;
loadPlugin('PluginLoader', function(){});
loadPlugin('viewer', function(){});
});
</script>
</head>
<body>
<div id="viewer">
<div id="titlebar">
<div id="documentName"></div>
<div id="titlebarRight">
<button id="presentation" class="toolbarButton presentation" title="Presentation"></button>
<button id="fullscreen" class="toolbarButton fullscreen" title="Fullscreen"></button>
<button id="download" class="toolbarButton download" title="Download"></button>
</div>
</div>
<div id="toolbarContainer">
<div id="toolbar">
<div id="toolbarLeft">
<div id="navButtons" class="splitToolbarButton">
<button id="previous" class="toolbarButton pageUp" title="Previous Page"></button>
<div class="splitToolbarButtonSeparator"></div>
<button id="next" class="toolbarButton pageDown" title="Next Page"></button>
</div>
<label id="pageNumberLabel" class="toolbarLabel" for="pageNumber">Page:</label>
<input type="number" id="pageNumber" class="toolbarField pageNumber"/>
<span id="numPages" class="toolbarLabel"></span>
</div>
<div id="toolbarMiddleContainer" class="outerCenter">
<div id="toolbarMiddle" class="innerCenter">
<div id='zoomButtons' class="splitToolbarButton">
<button id="zoomOut" class="toolbarButton zoomOut" title="Zoom Out"></button>
<div class="splitToolbarButtonSeparator"></div>
<button id="zoomIn" class="toolbarButton zoomIn" title="Zoom In"></button>
</div>
<span id="scaleSelectContainer" class="dropdownToolbarButton">
<select id="scaleSelect" title="Zoom" oncontextmenu="return false;">
<option id="pageAutoOption" value="auto" selected>Automatic</option>
<option id="pageActualOption" value="page-actual">Actual Size</option>
<option id="pageWidthOption" value="page-width">Full Width</option>
<option id="customScaleOption" value="custom"></option>
<option value="0.5">50%</option>
<option value="0.75">75%</option>
<option value="1">100%</option>
<option value="1.25">125%</option>
<option value="1.5">150%</option>
<option value="2">200%</option>
</select>
</span>
<div id="sliderContainer">
<div id="slider"></div>
</div>
</div>
</div>
<div id="toolbarRight">
</div>
</div>
</div>
<div id="canvasContainer">
<div id="canvas"></div>
</div>
<div id="overlayNavigator">
<div id="previousPage"></div>
<div id="nextPage"></div>
</div>
<div id="overlayCloseButton">
✖
</div>
<div id="dialogOverlay"></div>
<div id="blanked"></div>
</div>
</body>
</html>