-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
214 lines (170 loc) · 8.7 KB
/
index.html
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
<!DOCTYPE html>
<html>
<!--
ANTLITZ.NINJA
(c) 2018, Leander Seige, [email protected]
https://antlitz.ninja
https://github.com/leanderseige/antlitz.ninja
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<head>
<meta charset='utf-8'>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<!-- HTML Meta Tags -->
<title>ANTLITZ.NINJA</title>
<meta name="description" content="ANTLITZ.NINJA is a digital toy based on cultural heritage data from the National Gallery of Art (DC), The MET (NY), Städel Musem (FFM), MKK Dortmund and Burg Posterstein. ANTLITZ.NINJA is based on the IIIF standard.">
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://antlitz.ninja">
<meta property="og:type" content="website">
<meta property="og:title" content="ANTLITZ.NINJA">
<meta property="og:description" content="ANTLITZ.NINJA is a digital toy based on cultural heritage data from the National Gallery of Art (DC), The MET (NY), Städel Musem (FFM), MKK Dortmund and Burg Posterstein. ANTLITZ.NINJA is based on the IIIF standard.">
<meta property="og:image" content="https://antlitz.ninja/images/demo.jpg">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="antlitz.ninja">
<meta property="twitter:url" content="https://antlitz.ninja">
<meta name="twitter:site" content="@mjkls">
<meta name="twitter:creator" content="@mjkls">
<meta name="twitter:title" content="ANTLITZ.NINJA">
<meta name="twitter:description" content="ANTLITZ.NINJA is a digital toy based on cultural heritage data from the National Gallery of Art (DC), The MET (NY), Städel Musem (FFM), MKK Dortmund and Burg Posterstein. ANTLITZ.NINJA is based on the IIIF standard.">
<meta name="twitter:image" content="https://antlitz.ninja/images/demo.jpg">
<link rel="shortcut icon" type="image/png" href="images/antlitz.ninja.icon.png" sizes="any">
<title>ANTLITZ.NINJA</title>
<link rel='stylesheet' type='text/css' media='screen' href='css/styles.css' />
<link rel='stylesheet' type='text/css' media='screen' href='css/styles-mobile.css' />
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/jspdf.debug.js" integrity="sha384-CchuzHs077vGtfhGYl9Qtc7Vx64rXBXdIAZIPbItbNyWIRTdG0oYAqki3Ry13Yzu" crossorigin="anonymous"></script>
<script src="libs/jsonc.min.js"></script>
<script src="openseadragon/openseadragon.min.js"></script>
<script src="antlitzninja.js"></script>
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#ffffff">
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js');
};
</script>
</head>
<body>
<script type="text/javascript">
var config = {
"faces": false,
"e": "osd-eyes",
"n": "osd-nose",
"m": "osd-mouth"
};
var av = new antlitzninja(config);
av.recalcVH();
window.addEventListener('resize', function(event){
av.recalcVH();
});
$('.gridwrap').bind('touchend', function(e) {
e.preventDefault();
$(this).click();
})
$('.noselect').bind('touchend', function(e) {
e.preventDefault();
$(this).click();
})
</script>
<div id="gridwrap">
<!-- NEW ROW -->
<div class="grid-item noselect" id="osd-eyes"></div>
<div class="grid-item ctrl noselect" id="eyes-ctrl">
<div class="icons"><img src="images/a-eyes.svg" class="ctrl-icon" /></div>
<div class="icons" onclick="av.reloadOSD('e')"></div>
<div class="icons" onclick="av.flipOSD('e')"></div>
<div class="icons" onclick="av.zoomIn('e')"></div>
<div class="icons" onclick="av.zoomOut('e')"></div>
</div>
<!-- NEW ROW -->
<div class="grid-item noselect" id="osd-nose"></div>
<div class="grid-item ctrl noselect" id="nose-ctrl">
<div class="icons"><img src="images/a-nose.svg" class="ctrl-icon" /></div>
<div class="icons" onclick="av.reloadOSD('n')"></div>
<div class="icons" onclick="av.flipOSD('n')"></div>
<div class="icons" onclick="av.zoomIn('n')"></div>
<div class="icons" onclick="av.zoomOut('n')"></div>
</div>
<!-- NEW ROW -->
<div class="grid-item noselect" id="osd-mouth"></div>
<div class="grid-item ctrl noselect" id="mouth-ctrl">
<div class="icons"><img src="images/a-mouth.svg" class="ctrl-icon" /></div>
<div class="icons" onclick="av.reloadOSD('m')"></div>
<div class="icons" onclick="av.flipOSD('m')"></div>
<div class="icons" onclick="av.zoomIn('m')"></div>
<div class="icons" onclick="av.zoomOut('m')"></div>
</div>
<!-- MAIN MENU -->
<div class="grid-item noselect" id="bottom">
<div class="icons mainmenu" onclick="av.reloadAll();"></div>
<div class="icons mainmenu" onclick="av.zoomInAll();"></div>
<div class="icons mainmenu" onclick="av.zoomOutAll();"></div>
<div class="icons mainmenu" onclick="av.resetAll();"></div>
<div class="icons mainmenu" onclick="av.launch_download_dialog();"></div>
<div class="icons mainmenu" onclick="av.show('#splash');av.show('#metadata');"></div>
<div class="icons mainmenu" onclick="av.show('#splash');av.show('#impressum');"><img src="images/antlitz.ninja.icon.svg" /></div>
</div>
<!-- Splash -->
<div id="splash">
<div id="loader" class="splash_content">
<img src="images/antlitz.ninja.svg" /><br />
<br />
<img src="images/ajax.gif" /><br /><br />
<span id="loader_msg" ></span>
</div>
<div id="metadata" class="splash_content" style="display:none"></div>
<div id="settings" class="splash_content" style="display:none">
</div>
<div id="impressum" class="splash_content" style="display:none">
<img src="images/antlitz.ninja.svg" onclick="av.ee();" class="imp_logo"/><br />
<p>ANTLITZ.NINJA was twice awarded in Germanys most important cultural data hackathon <a href="https://codingdavinci.de/events/rheinmain" target="_blank">Coding da Vinci</a> – in two categories: most technical and most innovative!</p>
<img src="images/preise-rm-1.png" class="imp_award" />
<img src="images/preise-rm-4.png" class="imp_award" />
<p><a href="https://soundcloud.com/antlitzninja" target="_blank">https://soundcloud.com/antlitzninja</a></p>
<p>Leander Seige, 2018<br /><br />[email protected]<br /><a href="https://github.com/leanderseige/antlitz.ninja">https://github.com/leanderseige/antlitz.ninja</a></p>
<span class="icons" style="color:black;" onclick="av.hide('#splash');av.hide('#impressum');"></span>
</div>
<div id="download" class="splash_content" style="display:none">
<a onclick="av.downloadImage();" id="button_download_image" class="splash_content">
<span class="mainmenu icons"></span><br />
Download Image
</a>
<br />
<br />
<hr />
<br />
<a onclick="av.downloadPDF();" id="button_download_pdf" class="splash_content">
<span class="mainmenu icons"></span><br />
Download PDF
</a>
<br />
<br />
<hr />
<a id="button_dynamic_manifest" target="_blank" class="splash_content">
<span class="mainmenu icons"><img class="linkon" src="images/iiif.svg" /></span><br />
Link Manifest
</a>
<br />
<br />
<hr />
<br />
<br />
<span class="icons" style="color:black;" onclick="$('#splash').hide();$('#download').hide();"></span>
</div>
</div>
</div>
</body>
</html>