-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·126 lines (115 loc) · 4.36 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
<!DOCTYPE html>
<!--
Copyright 2019 Netherlands eScience Center and TU Eindhoven
Licensed under the Apache License, version 2.0. See LICENSE for details.
-->
<html lang="en-US" class="aga-fill">
<head>
<title>CartoCrow • Algorithmic Thematic Mapping</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Browser tab icon. -->
<link rel="shortcut icon" type="image/x-icon" href="res/favicon.png" />
<!-- Menu icons. -->
<!-- Note that the font awesome stylesheet depends on other stylesheet URLs that are searched for locally, so hosting it locally breaks it. -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
crossorigin=""
/>
<!-- Main font. -->
<link
rel="stylesheet"
media="screen"
href="https://fonts.googleapis.com/css?family=Bitter:400,700,400italic"
/>
<!-- Look and feel (generic) styles. -->
<link rel="stylesheet" href="style/aga.css" />
<!-- Page-specific styles. -->
<link rel="stylesheet" href="style/geoviz.css" />
<!-- Leaflet library for geographical map drawing. -->
<!-- Note that Leaflet requires the script to be placed after the stylesheet. -->
<link
rel="stylesheet"
href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""
/>
<script
src="https://unpkg.com/leaflet@1.5.1/dist/leaflet.js"
integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og=="
crossorigin=""
></script>
<!-- Scripts. -->
<script src="script/aga.js"></script>
<script src="script/geoviz.js"></script>
<script src="script/necklace.js"></script>
</head>
<body class="aga-fill">
<header class="aga-card aga-header aga-stack-1 aga-theme-meta">
<!-- On mobile devices, the navigation button container dangles below the header,
on larger devices, the navigation button container is part of the header. -->
<!-- Note that we minimize reloading the functional panel (the map) by loading other content into the same page. -->
<div id="nav" class="aga-nav-menu aga-stack-2 aga-hide-small">
<nav class="aga-nav aga-card aga-stack-2 aga-theme-meta">
<a
href="javascript:void(0)"
class="aga-button"
onclick="initMap();focusSupportCard();"
>Map</a
>
<a
href="javascript:void(0)"
class="aga-button"
onclick="tryAddSupportCard('page/help.html','support_help');"
>Help</a
>
<a
href="javascript:void(0)"
class="aga-button"
onclick="initNecklaceMap();"
>Necklace Map</a
>
<a href="html/index.html" class="aga-button">Documentation</a>
</nav>
</div>
<!-- On mobile devices, initially only the menu toggle button and website brand are visible. -->
<div class="aga-brand-container">
<a
title="Toggle navigation menu"
href="javascript:void(0)"
onclick="toggleNavigation(false);"
class="aga-button aga-hide-medium"
><i class="fa fa-bars"></i
></a>
<a href="." class="aga-button aga-theme-brand"><img class="logo" src="res/logo-medium.svg"></a>
</div>
</header>
<div class="aga-panel-container aga-fill">
<!-- The support panels. -->
<div id="support_cards"></div>
<!-- The settings panels. -->
<div id="settings_cards"></div>
<!-- The main content: the map. -->
<div id="map" class="aga-fill"></div>
</div>
<!-- Acknowledgements -->
<footer
class="aga-card aga-footer aga-stack-1 aga-theme-meta aga-hide-small"
>
<p>
Website by
<a href="https://www.esciencecenter.nl/" target="_blank"
>Netherlands eScience Center</a
>; Algorithms by
<a href="https://alga.win.tue.nl/" target="_blank">TU/e ALGA Cluster</a>
</p>
</footer>
<script>
// Preload help content.
tryAddSupportCard('page/help.html', 'support_help', false);
// Initialize the map.
initMap();
</script>
</body>
</html>