wynnbuilder-forked-for-changes/map/index.html

163 lines
10 KiB
HTML

<!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">
<meta name="viewport" content="width=device-width, initial-scale=.45, user-scalable=no">
<link href="https://fonts.googleapis.com/css2?family=Nunito&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.6/dist/css/autoComplete.min.css">
<link rel="stylesheet" media="screen and (min-width: 900px)" href="/css/map-wide.css"/>
<link rel="stylesheet" media="screen and (max-width: 899px)" href="/css/map-narrow.css"/>
<link rel="stylesheet" href="../css/sq2bs.css">
<link rel="stylesheet" href="../css/sidebar.css">
<link rel="stylesheet" href="../css/wynnstyles.css">
<link rel="icon" href="../media/icons/new/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 = "text-light d-flex justify-content-center" id = "body">
<div id="main-sidebar" class="sidebar dark-7 dark-shadow">
<a href = "../builder/"><img src="../media/icons/new/builder.png" alt = "WynnBuilder" title = "WynnBuilder"><b>WynnBuilder</b></a>
<a href = "../crafter/"><img src = "../media/icons/new/crafter.png" alt = "WynnCrafter" title = "WynnCrafter"><b>WynnCrafter</b></a>
<a href = "../items/"><img src = "../media/icons/new/searcher.png" alt = "WynnAtlas" title = "WynnAtlas"><b>WynnAtlas</b></a>
<a href = "../custom/"><img src = "../media/icons/new/custom.png" alt = "WynnCustom" title = "WynnCustom"><b>WynnCustom</b></a>
<a href = ""><img src = "../media/icons/new/compass.png" alt = "WynnGPS" title = "WynnGPS"><b>WynnGPS</b></a>
<a href = "../wynnfo/"><img src = "../media/icons/new/book.png" alt = "Wynnfo" title = "Wynnfo"><b>Wynnfo</b></a>
<a onclick = "toggleIcons()"><img src = "../media/icons/new/reload.png" alt = "" title = "Swap items on page"><b>Swap Icon Style</b></a>
<hr/>
</div>
<div class = "container row py-5 vh-100 mx-0 mx-lg-auto scaled-font">
<div id = "mapdiv" class = "col-lg-8 col-sm-12 rounded border border-light border-3">
</div>
<div id = "mapoptions-container" class = "col-lg-3 col-sm-12 rounded border border-light border-3 mx-1">
<div id = "coord-container" class = "row justify-content-center text-center">
<div class = "row big-title justify-content-center">Options</div>
<div class = "row justify-content-center">Right click to place marker.</div>
<div class = "row">
<div class = "col-4">X</div>
<div class = "col-4"></div>
<div class = "col-4">Z</div>
</div>
<div class = "row mb-1">
<div class = "col-4" id = "coord-x"></div>
<div class = "col-4">
<p class = "nomargin" id = "coord-img">
<img src = "../media/icons/new/compass2.png" alt style = "max-width:32px; max-height:32px"/>
</p>
</div>
<div class = "col-4" id = "coord-z"></div>
</div>
<div class = "row mb-1">
<div class = "col-4" id = "marker-coord-x"></div>
<div class = "col-4">
<p class = "nomargin" id = "marker-coord-img" display = "none">
<img src = "../media/icons/new/marker.png" alt style = "max-width:32px; max-height:32px"/>
</p>
</div>
<div class = "col-4" id = "marker-coord-z"></div>
</div>
</div>
<div id = "button-choices row">
<div class = "row">
<div class = "col mb-1">
<button class = "w-100 button rounded scaled-font fw-bold text-light dark-5" id = "territories-button" onclick = "toggleButton('territories-button'); toggleTerritories()">Show Territories</button>
</div>
<div class = "col mb-1">
<button class = "w-100 button rounded scaled-font fw-bold text-light dark-5" id = "claims-button" onclick = "toggleButton('claims-button'); toggleClaims()">Show Claims</button>
</div>
</div>
<div class = "row">
<div class = "col mb-1">
<button class = "w-100 button rounded scaled-font fw-bold text-light dark-5" id = "routes-button" onclick = "toggleButton('routes-button'); toggleRoutes()">Show Routes</button>
</div>
<div class = "col mb-1">
<button class = "w-100 button rounded scaled-font fw-bold text-light dark-5" id = "resources-button" onclick = "toggleButton('resources-button'); toggleResources()">Show Resources</button>
</div>
</div>
<div class = "row">
<div class = "col mb-1">
<button class = "w-100 button rounded scaled-font fw-bold text-light dark-5" id = "locations-button" onclick = "toggleButton('locations-button'); toggleLocations()">Show Locations</button>
</div>
<div class = "col mb-1">
<button class = "w-100 button rounded scaled-font fw-bold text-light dark-5" id = "pull-button" onclick = "refreshData()">Refresh Data</button>
</div>
</div>
</div>
<div class = "row">
<p class = "warning" style = "color:red">Do NOT refresh too often.</p>
</div>
<div id ="territory-stats">
</div>
</div>
<div id = "key-container" class = "row rounded border border-light border-3 my-1">
<div id = "key-title" class = "row">
<p class = "item-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/new/Emeralds.png" style ="max-width:16px;max-height:16px" class = "Emeralds"/> Emeralds</li>
<li><img src= "../media/icons/new/Ore.png" style ="max-width:16px;max-height:16px" class = "Ore"/> Ore</li>
<li><img src= "../media/icons/new/Wood.png" style ="max-width:16px;max-height:16px" class = "Wood"/> Wood</li>
<li><img src= "../media/icons/new/Crops.png" style ="max-width:16px;max-height:16px" class = "Crops"/> Crops</li>
<li><img src= "../media/icons/new/Fish.png" style ="max-width:16px;max-height:16px" class = "Fish"/> Fish</li>
<li><img src= "../media/icons/new/Chest.png" style ="max-width:16px;max-height:16px" class = "Wood"/> Storage</li>
<li><img src= "../media/icons/new/Gears.png" style ="max-width:16px;max-height:16px" class = "Ore"/> Production</li>
<li>Double image means double generation</li>
</ul>
</div>
</td>
<td>
<div id = "locations-key" style = "display:none">
<p class = "left">Locations Key:</p>
<ul id = "locationlist">
</ul>
</div>
</td>
</tr>
</table>
</div>
</div>
<script type="text/javascript" src="../js/utils.js"></script>
<script type="text/javascript" src="../js/icons.js"></script>
<script type="text/javascript" src="../js/load_map.js"></script>
<script type="text/javascript" src="../js/map.js"></script>
</body>
</html>