mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 18:08:28 -07:00
36 lines
1.1 KiB
HTML
36 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Recorder Map</title>
|
|
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, initial-scale=1.0" />
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<link rel="manifest" href="manifest.json">
|
|
<link rel="icon" sizes="192x192" href="../static/recorder.png">
|
|
<link rel="apple-touch-icon" href="../static/recorder.png">
|
|
<style>
|
|
body { font-size: 80%; }
|
|
td { border-bottom: 1px solid; border-right: 1px dotted; }
|
|
</style>
|
|
<link rel="stylesheet" href="../utils/map.css">
|
|
|
|
<script src="../static/apikey.js"></script>
|
|
<script type="module">
|
|
import { getApiUrl } from "../utils/network.js";
|
|
import { loadMapSolution } from "../utils/map.js";
|
|
|
|
const ws_url = getApiUrl("last", { useWebsocket: true });
|
|
loadMapSolution(ws_url);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="output"></div>
|
|
<div id="wrapper">
|
|
<div id="map-canvas"></div>
|
|
<div id="maplabel"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|