onyx/site/index.html
2022-08-13 22:18:00 -06:00

93 lines
No EOL
3 KiB
HTML

<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name='description' content='ONYX map annotation tool'/>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link rel='stylesheet' type='text/css' href='/static/style.css'>
<!--<link rel='shortcut icon' href='/img/favicon.png'>-->
<title>ONYX - Scry/Pendulum</title>
</head>
<body>
<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>
<div id="map"></div>
<div id="mapControls">
<button id="addPoint-btn">&middot;</button>
<button id="addCircle-btn">&compfn;</button>
<button id="addPolygon-btn">&diamond;</button>
<div id="subControls">
<button id="save-btn">&darr;</button>
<button id="tiles-btn">&Colon;</button>
<button id="clear-btn">&olarr;</button>
<button id="menu-btn">&equiv;</button>
</div>
</div>
<div id="createOverlay-container">
<div class="modalHeader">
<button class="closeBtn" id="createOverlay-closeBtn">x</button>
<h2 id="createOverlay-title"></h2>
</div>
<div id="createOverlay-content">
<label for="createOverlay-name">Name</label><br/>
<input type="text" id="createOverlay-name"><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"><br/>
</div>
<button id="createOverlay-submitBtn">OK</button>
</div>
</div>
<div id="cancel-container">
<button class="negative-btn" id="cancel-btn">Cancel</button>
</div>
<div id="info-container">
<button class="closeBtn" id="info-closeBtn">x</button>
<div class="info-content>
</div>
</div>
<div id="confirm-container">
<span id="confirm-msg"></span>
<div class="multiBtn-container">
<button class="positive-btn" id="yes-btn">Yes</button>
<button class="negative-btn" id="no-btn">No</button>
</div>
</div>
<div id="import-export-container">
<h2></h2>
<textarea id="import-export-textarea"></textarea>
<div class="multiBtn-container">
<button id="import-export-ok-btn">OK</button>
<button id="import-export-cancel-btn">Cancel</button>
</div>
</div>
<div id="overlays-menu-container">
<button class="closeBtn" id="overlys-closeBtn">x</button>
<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 class="multiBtn-container">
<button id="import-btn">Import</button>
<button id="export-all-btn">Export All</button>
</div>
</div>
<!--</div>-->
</body>
<link rel='stylesheet' type="text/css" href="/static/leaflet.css">
<script src="/static/leaflet.js"></script>
<script src="/static/onyx-scry.js"></script>
</html>