-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpresentation_template.html
55 lines (51 loc) · 2.35 KB
/
presentation_template.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${DEST}</title>
<link rel="stylesheet" type="text/css" href="resources/domain.css" />
<script src="resources/openseadragon.min.js"></script>
<!-- Presentation created by https://github.com/statsbiblioteket/graph_presenter $(date +"%Y-%m-%d %H:%M") -->
</head>
<body>
<div id="pageheader">
<div id="collapsable">
<h1>Graph for ${BASE} (${NODES} nodes, ${EDGES} edges)</h1>
</div>
<div id="loader">Loading node map...</div>
<div id="searchbox">
<select name="search-type" id="search-type">
<option value="search">Search</option>
<option value="connect">Connect</option>
</select>
<input type="text" placeholder="domain" id="domain-selector" title="Click a domain-circle to fill" />
<select name="connect-direction" id="connect-direction" style="visibility: hidden">
<option value="bi">↔</option>
<option value="out">→</option>
<option value="in">←</option>
</select>
<input type="text" placeholder="destination" id="domain-selector-to" title="Shift-click a domain circle to fill" style="visibility: hidden"/>
<span id="domain-feedback"> </span>
</div>
</div>
<div id="zoom-display" class="openseadragon"></div>
<script type="text/javascript">
var myDragon = OpenSeadragon({
id: "zoom-display",
gestureSettingsTouch : {clickToZoom: false, dblClickToZoom: true},
gestureSettingsMouse: {clickToZoom: false, dblClickToZoom: true},
zoomPerScroll: 2.0,
showNavigator: false,
wrapHorizontal: false,
prefixUrl: "resources/images/",
tileSources: "${DZI}",
overlays: [
{id: 'info_1', x: 0.0028, y: 0.049, width: 0.049, height: 0.049}
]});
</script>
<script src="linked.js"></script>
<script src="resources/domain_control.js"></script> <!-- Must be at the end of the page -->
</body>
</html>