wynnbuilder-forked-for-changes/map.html

149 lines
8.2 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html scroll-behavior="smooth">
<head>
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no" />
<!-- nunito font, copying wynndata -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nunito&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
2021-03-16 05:40:05 +00:00
<link rel="stylesheet" media="screen and (min-width: 900px)" href="map-wide.css"/>
<link rel="stylesheet" media="screen and (max-width: 899px)" href="map-narrow.css"/>
<link rel="icon" href="./media/icons/compass2.png">
<link rel="manifest" href="manifest.json">
<!--Leaflet for map-->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin="anonymous"/>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin="anonymous"></script>
<title>WynnGPS</title>
</head>
<body class="all">
<div class="center">
<header class = "header nomarginp">
<div class = "headerleft">
<a href = "./" class = "nomarginp iconlink tooltip">
<img src = "/media/icons/builder.png" class = "left linkoptions headericon">
</img>
<div class = "tooltiptext center">WynnBuilder</div>
</a>
<a href = "./crafter.html" class = "nomarginp iconlink tooltip">
<img src = "/media/icons/crafter.png" class = "left linkoptions headericon">
</img>
<div class = "tooltiptext center">WynnCrafter</div>
</a>
<a href = "./items.html" class = "nomarginp iconlink tooltip">
<img src = "/media/icons/searcher.png" class = "left linkoptions headericon">
</img>
<div class = "tooltiptext center">WynnAtlas</div>
</a>
<a href = "./customizer.html" class = "nomarginp iconlink tooltip">
<img src = "/media/icons/custom.png" class = "left linkoptions headericon">
</img>
<div class = "tooltiptext center">WynnCustom</div>
</a>
<a href = "./map.html" class = "nomarginp iconlink tooltip">
<img src = "/media/icons/compass.png" class = "left linkoptions headericon">
</img>
<div class = "tooltiptext center">WynnGPS</div>
</a>
</div>
<div class = "headercenter">
<div>
<p class = "itemp" id = "header">WynnGPS</p>
</div>
</div>
<div class = "headerright">
2021-03-14 08:28:24 +00:00
<p class = "center">Right click to place marker.</p>
</div>
</header>
</div>
<br>
<div class = "overall-container" display = "grid">
<div id = "mapdiv" class ="mapdiv container" display = "grid-item-1">
</div>
<div id = "mapoptions-container" class = "container" display = "grid-item-2">
<div id = "coord-container" class = "center coord-container" display = "grid">
2021-03-16 05:40:05 +00:00
<p class = "nomargin"></p>
<p class = "title center nomargin">Options</p>
<p class = "nomargin"></p>
<p class = "nomargin" display = "grid-item-1">X</p>
<p class = "nomargin" display = "grid-item-2"></p>
<p class = "nomargin" display = "grid-item-3">Z</p>
<p class = "nomargin" id = "coord-x" display = "grid-item-4"></p>
<p class = "nomargin" id = "coord-img" display = "grid-item-5">
<img src = "/media/icons/compass2.png" alt style = "max-width:32px; max-height:32px"/>
2021-03-16 05:40:05 +00:00
</p>
<p class = "nomargin" id = "coord-z" display = "grid-item-6"></p>
<p class = "nomargin" id = "marker-coord-x" display = "none"></p>
<p class = "nomargin" id = "marker-coord-img" display = "none">
<img src = "/media/icons/marker.png" alt style = "max-width:32px; max-height:32px"/>
2021-03-16 05:40:05 +00:00
</p>
<p class = "nomargin" id = "marker-coord-z" display = "none"></p>
</div>
<div id = "button-choices container">
<button class = "left" id = "territories-button" onclick = "toggleButton('territories-button'); toggleTerritories()">Show Territories</button>
<button class = "left" id = "claims-button" onclick = "toggleButton('claims-button'); toggleClaims()">Show Claims</button>
<button class = "left" id = "routes-button" onclick = "toggleButton('routes-button'); toggleRoutes()">Show Routes</button>
<button class = "left" id = "resources-button" onclick = "toggleButton('resources-button'); toggleResources()">Show Resources</button>
<!--button id = "merchants-button" onclick = "toggleButton('merchants-button'); toggleMerchants()">Show Merchants</button-->
<button class = "left" id = "pull-button" onclick = "refreshData()">Refresh Data</button>
<p class = "left" style = "color:red">Do NOT refresh too often.</p>
</div>
<div id ="territory-stats">
</div>
</div>
2021-03-16 05:40:05 +00:00
</div>
<div id = "key-container" class = "container">
<div id = "key-title" class = "center">
<p class = "center title"> All Keys </p>
</div>
<table>
<tr>
<td>
<div id = "guild-key" style = "display:none">
<p class = "left">Guild Key:</p>
<ul id = "guildkeylist">
</ul>
</div>
</td>
<td>
<div id = "resources-key" style = "display:none">
<p class = "left">Resource Key:</p>
<ul id = "resourcelist">
<li><img src= "media/icons/Emeralds.png" style ="max-width:16px;max-height:16px" class = "Emeralds"/> Emeralds</li>
<li><img src= "media/icons/Ore.png" style ="max-width:16px;max-height:16px" class = "Ore"/> Ore</li>
<li><img src= "media/icons/Wood.png" style ="max-width:16px;max-height:16px" class = "Wood"/> Wood</li>
<li><img src= "media/icons/Crops.png" style ="max-width:16px;max-height:16px" class = "Crops"/> Crops</li>
<li><img src= "media/icons/Fish.png" style ="max-width:16px;max-height:16px" class = "Fish"/> Fish</li>
<li><img src= "media/icons/Chest.png" style ="max-width:16px;max-height:16px" class = "Wood"/> Storage</li>
<li><img src= "media/icons/Gears.png" style ="max-width:16px;max-height:16px" class = "Ore"/> Production</li>
<li>Double image means double generation</li>
</ul>
</div>
</td>
</tr>
</table>
</div>
2021-03-16 05:40:05 +00:00
<script type = "text/javascript" src="utils.js"></script>
<script type = "text/javascript" src="load_map.js"></script>
<script type = "text/javascript" src="map.js"></script>
</body>
</html>