basic styling (#5)
This commit is contained in:
parent
ec2651207c
commit
b2e4f1bc64
2 changed files with 32 additions and 4 deletions
|
@ -2,11 +2,39 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>gpx web utils</title>
|
<title>gpx.thermokar.st</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
max-width: 35em;
|
||||||
|
margin: 0 auto;
|
||||||
|
line-height: 1.5;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: large;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
|
<noscript>
|
||||||
<input id="input" type="file" multiple>
|
This page contains webassembly and javascript content, please enable
|
||||||
|
javascript in your browser.
|
||||||
|
</noscript>
|
||||||
|
<h1>
|
||||||
|
<a href="https://gpx.thermokar.st">gpx.thermokar.st</a>
|
||||||
|
</h1>
|
||||||
|
<span>
|
||||||
|
This client-side tool is for merging
|
||||||
|
<a href="https://www.topografix.com/gpx.asp">GPX files</a>.
|
||||||
|
Please note, this has only been tested on GPX files produced by
|
||||||
|
<a href="https://www.garmin.com">Garmin</a> and
|
||||||
|
<a href="https://www.strava.com">Strava</a> - your mileage may vary.
|
||||||
|
Source:
|
||||||
|
<a href="https://github.com/thermokarst/gpx-web-utils">
|
||||||
|
https://github.com/thermokarst/gpx-web-utils</a>
|
||||||
|
</span>
|
||||||
|
<form>
|
||||||
|
<input id="gpxInput" type="file" multiple>
|
||||||
|
</form>
|
||||||
<script src="./bootstrap.js"></script>
|
<script src="./bootstrap.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import * as gpx from "gpx-web-utils";
|
import * as gpx from "gpx-web-utils";
|
||||||
|
|
||||||
const inputElement = document.getElementById("input");
|
const inputElement = document.getElementById("gpxInput");
|
||||||
|
|
||||||
inputElement.addEventListener("change", readFiles, false);
|
inputElement.addEventListener("change", readFiles, false);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue