46 lines
1.5 KiB
HTML
46 lines
1.5 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5, viewport-fit=cover">
|
|
<title>Tarkov Maps</title>
|
|
<link rel="stylesheet" href="vendor/leaflet.css">
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="map"></div>
|
|
|
|
<details id="panel" open>
|
|
<summary>Maps</summary>
|
|
<nav id="maplist"></nav>
|
|
<section id="placement-tools">
|
|
<button id="edit-placement" type="button" disabled>Edit placement</button>
|
|
<div id="placement-editor" hidden>
|
|
<strong id="placement-name"></strong>
|
|
<p>Drag the center anchor to align this map with the overall map.</p>
|
|
<div class="coordinate-fields">
|
|
<label>X <input id="placement-x" type="number" step="0.1"></label>
|
|
<label>Y <input id="placement-y" type="number" step="0.1"></label>
|
|
</div>
|
|
<div class="coordinate-fields size-fields">
|
|
<label>Width <input id="placement-width" type="number" min="1" step="0.1"></label>
|
|
<label>Height <input id="placement-height" type="number" min="1" step="0.1"></label>
|
|
</div>
|
|
<output id="placement-aspect"></output>
|
|
<div class="placement-actions">
|
|
<button id="placement-reset" type="button">Reset</button>
|
|
<button id="placement-save" type="button">Save & rebuild</button>
|
|
</div>
|
|
<output id="placement-status" role="status"></output>
|
|
</div>
|
|
</section>
|
|
</details>
|
|
|
|
<div id="boot">Loading…</div>
|
|
|
|
<script src="vendor/leaflet.js"></script>
|
|
<script src="app.js"></script>
|
|
</body>
|
|
</html>
|