-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
51 lines (47 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>IIIF Auth demo</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<select id="sourceList">
<option value="">test images...</option>
</select>
<button id="reloadSource">Reload</button>
<h1>Loading...</h1>
<p><a href="" id="infoJson" target="_blank">Link to info.json</a></p>
<div id="viewer"></div>
<div id="usermessages"></div>
<iframe id="commsFrame" width="100px" height="60px"></iframe>
<div id="downloads">
<a id="largeDownload" target="_blank">Download a large image</a>
</div>
<div id="beforeOpenCookieServiceModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<p id="csLabel">*label*, can be displayed as call to action to show this dialogue if not triggered in code</p>
<h3 id="csHeader">*header*, use as heading in dialog</h3>
<div id="csDescription">*description", may contain HTML, must be sanitised</div>
<hr/>
<button id="csCancel">Cancel</button><!-- string not provided by service -->
<button id="csConfirm">*confirmLabel*</button>
</div>
</div>
<div id="failureModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h3 id="failureHeader">*failureHeader*, use as heading in dialog</h3>
<div id="failureDescription">*failureDescription", may contain HTML, must be sanitised</div>
<hr/>
<button id="failureClose">Close</button><!-- string not provided by service -->
</div>
</div>
<script src="openseadragon/openseadragon.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/dashjs/2.9.0/dash.all.min.js"></script>
<script src="auth.js"></script>
</body>
</html>