onyx/static/index.html

100 lines
3.3 KiB
HTML
Raw Normal View History

2022-08-13 20:33:44 +00:00
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<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'>
<link rel='stylesheet' type='text/css' href='./style.css'>
2022-08-13 20:33:44 +00:00
<!--<link rel='shortcut icon' href='/img/favicon.png'>-->
<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 20:33:44 +00:00
<div id="mapControls">
<button id="home-btn">&#8962;</button>
2022-08-13 20:33:44 +00:00
<button id="addPoint-btn">&middot;</button>
<button id="addCircle-btn">&compfn;</button>
<button id="addPolygon-btn">&diamond;</button>
<div id="subControls">
<button id="tiles-btn">&#10070;</button>
2022-08-14 04:18:00 +00:00
<button id="save-btn">&darr;</button>
<button id="clear-btn">x</button>
<button id="restore-btn">&olarr;</button>
2022-08-13 20:33:44 +00:00
<button id="menu-btn">&equiv;</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>
<form id="createOverlay-content">
2022-08-14 04:18:00 +00:00
<label for="createOverlay-name">Name</label><br/>
<input type="text" id="createOverlay-name" required ><br/>
2022-08-14 04:18:00 +00:00
<label for="createOverlay-desc">Description</label><br/>
<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/>
<input type="number" step="1" id="createOverlay-radius" value="500" required><br/>
2022-08-14 04:18:00 +00:00
</div>
<button type="submit" id="createOverlay-submitBtn">OK</button>
</form>
2022-08-13 20:33:44 +00:00
</div>
<div id="cancel-container">
<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>
</div>
2022-08-14 04:18:00 +00:00
</div>
<div id="info-container">
<button class="closeBtn" id="info-closeBtn">x</button>
<div id="info-content">
2022-08-14 04:18:00 +00:00
</div>
</div>
<div id="confirm-container">
<span id="confirm-msg"></span>
2022-08-14 04:18:00 +00:00
<div class="multiBtn-container">
<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>
</div>
<div id="import-export-container">
<h2></h2>
<textarea id="import-export-textarea"></textarea>
2022-08-14 04:18:00 +00:00
<div class="multiBtn-container">
<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>
</div>
<div id="overlays-menu-container">
<div id="overlays-list">
<details id="markers-wrapper"><summary>Markers</summary><ul id="markers-list"></ul></details>
<details id="circles-wrapper"><summary>Circles</summary><ul id="circles-list"></ul></details>
<details id="polygons-wrapper"><summary>Polygons</summary><ul id="polygons-list"></ul></details>
</div>
2022-08-14 04:18:00 +00:00
<div class="multiBtn-container">
<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>
</div>
2022-08-13 20:33:44 +00:00
</body>
<link rel='stylesheet' type="text/css" href="./leaflet.css">
<script src="./leaflet.js"></script>
<script src="./onyx-scry.js"></script>
2022-08-13 20:33:44 +00:00
</html>