2022-08-13 20:33:44 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang='en'>
|
|
|
|
<head>
|
|
|
|
<meta charset='utf-8'>
|
2022-08-14 06:56:03 +00:00
|
|
|
<meta name='description' content='map annotation tool'/>
|
2022-08-13 20:33:44 +00:00
|
|
|
<meta name='viewport' content='width=device-width,initial-scale=1'>
|
2022-08-20 23:20:01 +00:00
|
|
|
<link rel='stylesheet' type="text/css" href="./leaflet.css">
|
2022-08-14 06:56:03 +00:00
|
|
|
<link rel='stylesheet' type='text/css' href='./style.css'>
|
2022-08-20 04:38:55 +00:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
|
|
<link rel='shortcut icon' href='/favicon.png'>
|
2022-08-20 23:22:36 +00:00
|
|
|
<link rel='manifest' href='/manifest.json'>
|
2022-08-14 06:56:03 +00:00
|
|
|
<title>ONYX/scry</title>
|
2022-08-13 20:33:44 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2022-08-14 04:18:00 +00:00
|
|
|
<noscript>
|
|
|
|
<div id="noscript-container">
|
|
|
|
<p>This is a javascript application - <a href="https://nilfm.cc/git/onyx-scry">ONYX/scry</a>;</p>
|
|
|
|
<p>You must enable javascript in your browser to use it.</p>
|
|
|
|
</div>
|
|
|
|
</noscript>
|
2022-08-13 20:33:44 +00:00
|
|
|
<div id="map"></div>
|
2022-08-13 21:40:38 +00:00
|
|
|
|
2022-08-13 20:33:44 +00:00
|
|
|
<div id="mapControls">
|
2022-08-15 04:29:03 +00:00
|
|
|
<button id="home-btn">⌂</button>
|
2022-08-13 20:33:44 +00:00
|
|
|
<button id="addPoint-btn">·</button>
|
|
|
|
<button id="addCircle-btn">∘</button>
|
|
|
|
<button id="addPolygon-btn">⋄</button>
|
|
|
|
<div id="subControls">
|
2022-08-15 04:29:03 +00:00
|
|
|
<button id="tiles-btn">❖</button>
|
2022-08-14 04:18:00 +00:00
|
|
|
<button id="save-btn">↓</button>
|
2022-08-15 03:30:47 +00:00
|
|
|
<button id="clear-btn">x</button>
|
|
|
|
<button id="restore-btn">↺</button>
|
2022-08-13 20:33:44 +00:00
|
|
|
<button id="menu-btn">≡</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-08-14 04:18:00 +00:00
|
|
|
<div id="createOverlay-container">
|
|
|
|
<div class="modalHeader">
|
|
|
|
<button class="closeBtn" id="createOverlay-closeBtn">x</button>
|
|
|
|
<h2 id="createOverlay-title"></h2>
|
|
|
|
</div>
|
2022-08-14 06:56:03 +00:00
|
|
|
<form id="createOverlay-content">
|
2022-08-14 04:18:00 +00:00
|
|
|
<label for="createOverlay-name">Name</label><br/>
|
2022-08-14 06:56:03 +00:00
|
|
|
<input type="text" id="createOverlay-name" required ><br/>
|
2022-08-14 04:18:00 +00:00
|
|
|
<label for="createOverlay-desc">Description</label><br/>
|
2022-08-16 05:45:50 +00:00
|
|
|
<textarea id="createOverlay-desc"></textarea><br/>
|
2022-08-14 04:18:00 +00:00
|
|
|
<div id="radius-container">
|
|
|
|
<label for="createOverlay-radius">Radius (meters)</label><br/>
|
2022-08-14 06:56:03 +00:00
|
|
|
<input type="number" step="1" id="createOverlay-radius" value="500" required><br/>
|
2022-08-14 04:18:00 +00:00
|
|
|
</div>
|
2022-08-20 04:38:55 +00:00
|
|
|
<div class="multiBtn-container" id="edit-extra-btns">
|
|
|
|
<button id="goto-btn">Go Here</button>
|
|
|
|
<button id="export-btn">Export</button>
|
|
|
|
<button id="delete-btn">Delete</button>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="positive-btn" id="createOverlay-submitBtn">OK</button>
|
2022-08-14 06:56:03 +00:00
|
|
|
</form>
|
2022-08-13 20:33:44 +00:00
|
|
|
</div>
|
2022-08-13 21:40:38 +00:00
|
|
|
|
|
|
|
<div id="cancel-container">
|
2022-08-15 02:44:00 +00:00
|
|
|
<span id="cancel-msg"></span>
|
|
|
|
<div class="multiBtn-container">
|
2022-08-14 04:18:00 +00:00
|
|
|
<button class="negative-btn" id="cancel-btn">Cancel</button>
|
2022-08-15 02:44:00 +00:00
|
|
|
</div>
|
2022-08-14 04:18:00 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="info-container">
|
|
|
|
<button class="closeBtn" id="info-closeBtn">x</button>
|
2022-08-15 03:30:47 +00:00
|
|
|
<div id="info-content">
|
2022-08-14 04:18:00 +00:00
|
|
|
</div>
|
2022-08-13 21:40:38 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="confirm-container">
|
|
|
|
<span id="confirm-msg"></span>
|
2022-08-14 04:18:00 +00:00
|
|
|
<div class="multiBtn-container">
|
2022-08-15 02:44:00 +00:00
|
|
|
<button class="positive-btn" id="yes-btn">OK</button>
|
|
|
|
<button class="negative-btn" id="no-btn">Cancel</button>
|
2022-08-14 04:18:00 +00:00
|
|
|
</div>
|
2022-08-13 21:40:38 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="import-export-container">
|
2022-08-20 23:20:01 +00:00
|
|
|
<div clas="modalHeader">
|
|
|
|
<h2 id="import-export-title"></h2>
|
|
|
|
</div>
|
|
|
|
<div id="import-export-content">
|
2022-08-13 21:40:38 +00:00
|
|
|
<textarea id="import-export-textarea"></textarea>
|
2022-08-20 23:20:01 +00:00
|
|
|
<span id="import-export-error"></span>
|
2022-08-14 04:18:00 +00:00
|
|
|
<div class="multiBtn-container">
|
2022-08-16 05:45:50 +00:00
|
|
|
<button class="positive-btn" id="import-export-ok-btn">OK</button>
|
|
|
|
<button class="negative-btn" id="import-export-cancel-btn">Cancel</button>
|
2022-08-14 04:18:00 +00:00
|
|
|
</div>
|
2022-08-20 23:20:01 +00:00
|
|
|
</div>
|
2022-08-13 21:40:38 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="overlays-menu-container">
|
2022-08-16 05:45:50 +00:00
|
|
|
<div id="overlays-list">
|
2022-08-20 23:20:01 +00:00
|
|
|
<details id="markers-wrapper" open><summary>Markers</summary><ul id="markers-list"></ul></details>
|
|
|
|
<details id="circles-wrapper" open><summary>Circles</summary><ul id="circles-list"></ul></details>
|
|
|
|
<details id="polygons-wrapper" open><summary>Polygons</summary><ul id="polygons-list"></ul></details>
|
2022-08-16 05:45:50 +00:00
|
|
|
</div>
|
2022-08-14 04:18:00 +00:00
|
|
|
<div class="multiBtn-container">
|
2022-08-16 05:45:50 +00:00
|
|
|
<button id="set-home-btn">Set Home</button>
|
2022-08-14 04:18:00 +00:00
|
|
|
<button id="import-btn">Import</button>
|
|
|
|
<button id="export-all-btn">Export All</button>
|
|
|
|
</div>
|
2022-08-13 21:40:38 +00:00
|
|
|
</div>
|
2022-08-16 05:45:50 +00:00
|
|
|
|
2022-08-13 20:33:44 +00:00
|
|
|
</body>
|
2022-08-14 06:56:03 +00:00
|
|
|
<script src="./leaflet.js"></script>
|
|
|
|
<script src="./onyx-scry.js"></script>
|
2022-08-13 20:33:44 +00:00
|
|
|
</html>
|