This repository has been archived by the owner on Dec 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (60 loc) · 1.91 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
<!DOCTYPE html>
<html>
<head>
<title>Nexus MapGen</title>
<meta charset='UTF-8'/>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css'/>
<style>
body {
background-color: rgb(26,9,51);
text-align: center;
color: white;
font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
}
.title-div {
display:flex;
flex-direction:row;
justify-content: center;
align-items: center;
}
#tooltip {
display: none;
position: absolute;
left: -1200;
top: -1200;
margin: 5px;
text-align: left;
background-color: #6f42c1;
max-width: 35%;
min-width: 5%;
}
.navbar-nav {
flex-direction: row;
justify-content: center;
}
</style>
</head>
<body>
<div class='title-div'>
<div>
<h1>Nexus MapGen</h1>
</div>
</div>
<div>
<ul class='navbar-nav'>
<li class='nav-item'><button type='button' class='btn btn-outline-primary' value='406'>Cordillera</button></li>
<li class='nav-item'><button type='button' class='btn btn-outline-secondary' value='416'>Centrum</button></li>
<li class='nav-item'><button type='button' class='btn btn-outline-light' value='402'>Elysium</button></li>
<li class='nav-item'><button type='button' class='btn btn-outline-danger' value='403'>Stygia</button></li>
<li class='nav-item'><button type='button' class='btn btn-outline-warning' value='404'>Purgatorio</button></li>
<li class='nav-item'><button type='button' class='btn btn-outline-info' value='405'>Purgatorio Underground</button></li>
</ul>
<div align='center'><canvas id='canvas'/></div>
<div id='tooltip' class='btn btn-primary btn-sm'></div>
</div>
<script src="https://d3js.org/d3.v7.min.js"></script>
<!-- <script type='text/javascript' src='portals.js'></script> -->
<script type='text/javascript' src='tilegroups.js'></script>
<script type='text/javascript' src='mapGen.js'></script>
</body>
</html>