117 lines
No EOL
4 KiB
HTML
117 lines
No EOL
4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang='en'>
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<meta name='description' content='map annotation tool'/>
|
|
<meta name='viewport' content='width=device-width,initial-scale=1'>
|
|
<link rel='stylesheet' type="text/css" href="./leaflet.css">
|
|
<link rel='stylesheet' type='text/css' href='./style.css?v=0.3.0'>
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<link rel='shortcut icon' href='/favicon.png'>
|
|
<link rel='manifest' href='/manifest.json'>
|
|
<title>ONYX</title>
|
|
</head>
|
|
<body>
|
|
<noscript>
|
|
<div id="noscript-container">
|
|
<p>This is a javascript application - <a href="https://nilfm.cc/git/onyx">ONYX</a>;</p>
|
|
<p>You must enable javascript in your browser to use it.</p>
|
|
</div>
|
|
</noscript>
|
|
<div id="map"></div>
|
|
|
|
<div id="mapControls">
|
|
<button id="home-btn">⌂</button>
|
|
<button id="addPoint-btn">·</button>
|
|
<button id="addCircle-btn">∘</button>
|
|
<button id="addPolygon-btn">⋄</button>
|
|
<div id="subControls">
|
|
<button id="tiles-btn">❖</button>
|
|
<button id="save-btn">↓</button>
|
|
<button id="clear-btn">x</button>
|
|
<button id="restore-btn">↺</button>
|
|
<button id="menu-btn">≡</button>
|
|
</div>
|
|
</div>
|
|
|
|
<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">
|
|
<label for="createOverlay-name">Name</label><br/>
|
|
<input type="text" id="createOverlay-name" required ><br/>
|
|
<label for="createOverlay-desc">Description</label><br/>
|
|
<textarea id="createOverlay-desc"></textarea><br/>
|
|
<div id="radius-container">
|
|
<label for="createOverlay-radius">Radius (meters)</label><br/>
|
|
<input type="number" step="1" id="createOverlay-radius" value="500" required><br/>
|
|
</div>
|
|
<div id="close-poly-container">
|
|
<input type="checkbox" id="close-poly-checkbox">
|
|
<label for="close-poly-checkbox">Close polyline</label><br/>
|
|
</div>
|
|
<div class="multiBtn-container" id="edit-extra-btns">
|
|
<button id="goto-btn">Go Here</button>
|
|
<button id="share-btn">Share</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>
|
|
</form>
|
|
</div>
|
|
|
|
<div id="cancel-container">
|
|
<span id="cancel-msg"></span>
|
|
<div class="multiBtn-container">
|
|
<button class="negative-btn" id="cancel-btn">Cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="info-container">
|
|
<button class="closeBtn" id="info-closeBtn">x</button>
|
|
<div id="info-content">
|
|
</div>
|
|
</div>
|
|
|
|
<div id="confirm-container">
|
|
<span id="confirm-msg"></span>
|
|
<div class="multiBtn-container">
|
|
<button class="positive-btn" id="yes-btn">OK</button>
|
|
<button class="negative-btn" id="no-btn">Cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="import-export-container">
|
|
<div clas="modalHeader">
|
|
<h2 id="import-export-title"></h2>
|
|
</div>
|
|
<div id="import-export-content">
|
|
<textarea id="import-export-textarea"></textarea>
|
|
<span id="import-export-error"></span>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="overlays-menu-container">
|
|
<div id="overlays-list">
|
|
<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>Paths</summary><ul id="polygons-list"></ul></details>
|
|
</div>
|
|
<div class="multiBtn-container">
|
|
<button id="set-home-btn">Set Home</button>
|
|
<button id="import-btn">Import</button>
|
|
<button id="export-all-btn">Export All</button>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
<script src="./leaflet.js?v=1.8.0"></script>
|
|
<script src="./onyx.js?v=0.3.0"></script>
|
|
</html> |